Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-04-07 08:08:32

0001 #ifndef __CLUSTER_SMALL_INFO_H__
0002 #define __CLUSTER_SMALL_INFO_H__
0003 
0004 #include <phool/PHObject.h>
0005 
0006 class ClusterSmallInfo : public PHObject
0007 {
0008  public:
0009   ClusterSmallInfo();
0010   ClusterSmallInfo(const float&, const float&, const float&, const float&, const float&);
0011 
0012   void set(const float&, const float&, const float&, const float&, const float&);
0013 
0014   void identify(std::ostream &os = std::cout) const override;
0015 
0016   void Reset() override;
0017 
0018   //! Clear is used by TClonesArray to reset the small cluster to initial state
0019   // without calling destructor constructor
0020   void Clear(Option_t* = "") override;
0021 
0022   float get_eta() const { return _eta; }
0023   float get_phi() const { return _phi; }
0024   float get_ecore() const { return _ecore; }
0025   float get_energy() const { return _energy; }
0026   float get_chi2() const { return _chi2; }
0027   
0028  private:
0029   float _eta;
0030   float _phi;
0031   float _ecore;
0032   float _energy;
0033   float _chi2;
0034 
0035   ClassDefOverride(ClusterSmallInfo, 1);
0036 };
0037 
0038 #endif