PandaRoot
BSEmcSubCluster.h
Go to the documentation of this file.
1 #ifndef BSEMCSUBCLUSTER_HH
2 #define BSEMCSUBCLUSTER_HH
3 
4 #include <string> // for string
5 
6 #include "Rtypes.h" // for BSEmcSubCluster::Class, BSEmcSubCluster::S...
7 #include "RtypesCore.h" // for Int_t
8 
9 #include "BSEmcCluster.h" // for BSEmcCluster
10 #include "BSEmcDataBranchNames.h"
11 
12 class TBuffer;
13 class TClass;
14 class TMemberInspector;
15 
21 class BSEmcSubCluster : public BSEmcCluster {
22 
23  public:
24  // Constructors
26  BSEmcSubCluster(const BSEmcSubCluster &t_other);
27 
28  // Destructor
29  virtual ~BSEmcSubCluster();
30 
31  Int_t GetParentClusterIndex() const { return fClusterIndex; }
32  void SetParentClusterIndex(Int_t clusterIndex) { fClusterIndex = clusterIndex; }
33  Int_t GetCentralCrystalId() const { return fCentralCrystalId; }
34  void SetCentralCrystalId(Int_t centralCrystal) { fCentralCrystalId = centralCrystal; }
35 
36  protected:
37  // Data members
38  Int_t fClusterIndex{-1}; // Index of cluster the subcluster is made off in TClonesArray
39  Int_t fCentralCrystalId{-1};
40 
41  private:
42  ClassDef(BSEmcSubCluster, 2)
43 };
44 #endif /*BSEMCSUBCLUSTER_HH*/
void SetCentralCrystalId(Int_t centralCrystal)
a cluster (group of neighboring crystals) of hit emc crystals
Definition: BSEmcCluster.h:54
void SetParentClusterIndex(Int_t clusterIndex)
Int_t GetCentralCrystalId() const
Int_t GetParentClusterIndex() const
virtual ~BSEmcSubCluster()
represents a reconstructed (splitted) emc cluster