36 |
|
public: |
37 |
|
|
38 |
|
TRootSuperCluster() : |
39 |
< |
TRootCluster() |
40 |
< |
,nBasicClusters_(0) |
41 |
< |
,subClusterUID_() |
42 |
< |
,subClusterIndex_() |
43 |
< |
,seedClusterVectorIndex_(-1) |
44 |
< |
,preshowerEnergy_(0.) |
45 |
< |
,rawEnergy_(0.) |
46 |
< |
,photon_() |
47 |
< |
,electron_() |
48 |
< |
{;} |
49 |
< |
|
39 |
> |
TRootCluster() |
40 |
> |
,nBasicClusters_(0) |
41 |
> |
,subClusterUID_() |
42 |
> |
,subClusterIndex_() |
43 |
> |
,seedClusterVectorIndex_(-1) |
44 |
> |
,preshowerEnergy_(0.) |
45 |
> |
,rawEnergy_(0.) |
46 |
> |
,seedCluster_(0) |
47 |
> |
,photon_(0) |
48 |
> |
,electron_(0) |
49 |
> |
{;} |
50 |
> |
|
51 |
|
TRootSuperCluster(const TRootSuperCluster& cluster) : |
52 |
< |
TRootCluster(cluster) |
53 |
< |
,nBasicClusters_(cluster.nBasicClusters_) |
54 |
< |
,subClusterUID_(cluster.subClusterUID_) |
55 |
< |
,subClusterIndex_(cluster.subClusterIndex_) |
56 |
< |
,seedClusterVectorIndex_(cluster.seedClusterVectorIndex_) |
57 |
< |
,preshowerEnergy_(cluster.preshowerEnergy_) |
58 |
< |
,rawEnergy_(cluster.rawEnergy_) |
59 |
< |
,photon_(cluster.photon_) |
60 |
< |
,electron_(cluster.photon_) |
61 |
< |
{;} |
62 |
< |
|
52 |
> |
TRootCluster(cluster) |
53 |
> |
,nBasicClusters_(cluster.nBasicClusters_) |
54 |
> |
,subClusterUID_(cluster.subClusterUID_) |
55 |
> |
,subClusterIndex_(cluster.subClusterIndex_) |
56 |
> |
,seedClusterVectorIndex_(cluster.seedClusterVectorIndex_) |
57 |
> |
,preshowerEnergy_(cluster.preshowerEnergy_) |
58 |
> |
,rawEnergy_(cluster.rawEnergy_) |
59 |
> |
,seedCluster_(cluster.seedCluster_) |
60 |
> |
,photon_(cluster.photon_) |
61 |
> |
,electron_(cluster.photon_) |
62 |
> |
{;} |
63 |
> |
|
64 |
|
TRootSuperCluster(Double_t energy, Double_t eta, Double_t phi) : |
65 |
< |
TRootCluster(energy, eta, phi) |
66 |
< |
,nBasicClusters_(0) |
67 |
< |
,subClusterUID_() |
68 |
< |
,subClusterIndex_() |
69 |
< |
,seedClusterVectorIndex_(-1) |
70 |
< |
,preshowerEnergy_(0.) |
71 |
< |
,rawEnergy_(0.) |
72 |
< |
,photon_() |
73 |
< |
,electron_() |
74 |
< |
{;} |
75 |
< |
|
65 |
> |
TRootCluster(energy, eta, phi) |
66 |
> |
,nBasicClusters_(0) |
67 |
> |
,subClusterUID_() |
68 |
> |
,subClusterIndex_() |
69 |
> |
,seedClusterVectorIndex_(-1) |
70 |
> |
,preshowerEnergy_(0.) |
71 |
> |
,rawEnergy_(0.) |
72 |
> |
,seedCluster_(0) |
73 |
> |
,photon_(0) |
74 |
> |
,electron_(0) |
75 |
> |
{;} |
76 |
> |
|
77 |
|
TRootSuperCluster(Double_t energy, Double_t eta, Double_t phi, Double_t x, Double_t y, Double_t z) : |
78 |
< |
TRootCluster(energy, eta, phi, x, y, z) |
79 |
< |
,nBasicClusters_(0) |
80 |
< |
,subClusterUID_() |
81 |
< |
,subClusterIndex_() |
82 |
< |
,seedClusterVectorIndex_(-1) |
83 |
< |
,preshowerEnergy_(0.) |
84 |
< |
,rawEnergy_(0.) |
85 |
< |
,photon_() |
86 |
< |
,electron_() |
87 |
< |
{;} |
88 |
< |
|
78 |
> |
TRootCluster(energy, eta, phi, x, y, z) |
79 |
> |
,nBasicClusters_(0) |
80 |
> |
,subClusterUID_() |
81 |
> |
,subClusterIndex_() |
82 |
> |
,seedClusterVectorIndex_(-1) |
83 |
> |
,preshowerEnergy_(0.) |
84 |
> |
,rawEnergy_(0.) |
85 |
> |
,seedCluster_(0) |
86 |
> |
,photon_(0) |
87 |
> |
,electron_(0) |
88 |
> |
{;} |
89 |
> |
|
90 |
|
TRootSuperCluster(Double_t energy, Double_t eta, Double_t phi, Double_t x, Double_t y, Double_t z, Int_t det) : |
91 |
< |
TRootCluster(energy, eta, phi, x, y, z, det) |
92 |
< |
,nBasicClusters_(0) |
93 |
< |
,subClusterUID_() |
94 |
< |
,subClusterIndex_() |
95 |
< |
,seedClusterVectorIndex_(-1) |
96 |
< |
,preshowerEnergy_(0.) |
97 |
< |
,rawEnergy_(0.) |
98 |
< |
,photon_() |
99 |
< |
,electron_() |
100 |
< |
{;} |
101 |
< |
|
91 |
> |
TRootCluster(energy, eta, phi, x, y, z, det) |
92 |
> |
,nBasicClusters_(0) |
93 |
> |
,subClusterUID_() |
94 |
> |
,subClusterIndex_() |
95 |
> |
,seedClusterVectorIndex_(-1) |
96 |
> |
,preshowerEnergy_(0.) |
97 |
> |
,rawEnergy_(0.) |
98 |
> |
,seedCluster_(0) |
99 |
> |
,photon_(0) |
100 |
> |
,electron_(0) |
101 |
> |
{;} |
102 |
> |
|
103 |
|
~TRootSuperCluster() {;} |
104 |
|
|
105 |
|
|
121 |
|
|
122 |
|
Float_t preshowerEnergy() const { return preshowerEnergy_; } |
123 |
|
Float_t rawEnergy() const { return rawEnergy_; } |
124 |
+ |
TObject* seedCluster() const { return seedCluster_.GetObject();} |
125 |
|
TObject* photon() const { return photon_.GetObject();} |
126 |
|
TObject* electron() const { return electron_.GetObject();} |
127 |
|
Bool_t isPhoton() const { return ( photon_.GetObject() == 0 ? false : true); } |
135 |
|
void setSeedClusterVectorIndex(Int_t seedClusterVectorIndex) { seedClusterVectorIndex_ = seedClusterVectorIndex; } |
136 |
|
void setPreshowerEnergy(Float_t preshowerEnergy) { preshowerEnergy_ = preshowerEnergy; } |
137 |
|
void setRawEnergy(Float_t rawEnergy) { rawEnergy_ = rawEnergy; } |
138 |
+ |
void setSeedCluster(TObject* seedCluster) { seedCluster_ = seedCluster; } |
139 |
|
void setPhoton(TObject* photon) { photon_ = photon; } |
140 |
|
void setElectron(TObject* electron) { electron_ = electron; } |
141 |
|
|
158 |
|
Int_t seedClusterVectorIndex_; // position in subClusterIndex_ vector containing the index of the seed basic cluster in the TRootBasicCluster array |
159 |
|
Float_t preshowerEnergy_; |
160 |
|
Float_t rawEnergy_; |
161 |
+ |
TRef seedCluster_; |
162 |
|
TRef photon_; |
163 |
|
TRef electron_; |
164 |
|
|