#include <emcClusterContentv1.h>
Inherits emcClusterContent.
Inheritance diagram for emcClusterContentv1:
Definition at line 8 of file emcClusterContentv1.h.
Public Member Functions | |
emcClusterContentv1 () | |
CREATORS. | |
emcClusterContentv1 (const emcClusterContentv1 &) | |
emcClusterContentv1 & | operator= (const emcClusterContentv1 &) |
emcClusterContentv1 * | clone (void) const |
Returns a copy of this cluster. | |
emcClusterContentv1 * | create (void) const |
Return an empty copy of this cluster (i.e. copy only the type). | |
virtual | ~emcClusterContentv1 () |
virtual void | Clear (Option_t *option="") |
int | arm () const |
ACCESSORS. | |
float | chi2 () const |
Indicative of how close the shower shape is from an electromagnetic show. | |
unsigned int | deadmap () const |
A 29 bits integer indicating the error status (both w.r.t energy and tof) of the cluster towers. | |
float | dispy () const |
Dispersions (second moment of the tower positions distribution within the cluster) along y and z axis. | |
float | dispz () const |
float | dx () const |
Errors on position x,y,z of the cluster. | |
float | dy () const |
float | dz () const |
float | e () const |
float | e9 () const |
float | ecore () const |
float | ecent () const |
float | etofmin () const |
Energy of the tower that has the max (min) tof. | |
float | etofmax () const |
int | id () const |
Cluster identifier. | |
void | identify (std::ostream &os=std::cout) const |
int | isValid () const |
int | iypos () const |
Integer position within the sector of the central tower. | |
int | izpos () const |
float | quality () const |
int | multiplicity () const |
Number of towers in this cluster. | |
float | padispy () const |
Dispersions along the principal axis of the clusters. | |
float | padispz () const |
float | partesum (int index) const |
Partial sum of energy in the index-th tower. | |
float | prob_photon () const |
Probability that this cluster is a photon. | |
float | phi () const |
Phi angle of this cluster. Radians. | |
int | pid () const |
void | print (std::ostream &out=std::cout) const |
int | sector () const |
Sector number (ranging from 0 to 3). | |
float | tof () const |
TOF of the central tower, minus the flash time (=sqrt(x2+y2+z2)/30.0)). | |
float | tofdisp () const |
Dispersion of the TOF. Not implemented yet. | |
float | tofmin () const |
Minimun and maximum tofs of the clusters. | |
float | tofmax () const |
float | tofcorr () const |
Same as above (tof()) for the moment. | |
float | tofcorrmin () const |
float | tofcorrmax () const |
float | theta () const |
Theta angle of the cluster. Radians. | |
int | towerid (int index) const |
towerid of the index-th tower of the cluster index goes from 0 to multiplicity()-1. | |
int | type () const |
Detector type. 1 = PbSc, 2 = PbGl. | |
unsigned int | warnmap () const |
Similar to deadmap, but for warning status. | |
float | x () const |
Position x,y,z of the cluster. | |
float | y () const |
float | z () const |
void | Reset () |
MUTATORS. | |
void | set_arm (int arm) |
Various setters to set the above values. | |
void | set_chi2 (float chi2) |
void | set_disp (float dispy, float dispz) |
void | set_dxyz (float dx, float dy, float dz) |
void | set_e (float e) |
void | set_e9 (float e9) |
void | set_ecore (float ecore) |
void | set_ecent (float ecent) |
void | set_etofmin (float etofmin) |
void | set_etofmax (float etofmax) |
void | set_id (int id) |
void | set_ipos (int iy, int iz) |
void | set_quality (float qual) |
void | set_maps (unsigned int dead, unsigned int warn) |
void | set_multiplicity (int mul) |
void | set_padisp (float padispy, float padispz) |
void | set_partesum (int index, float value) |
void | set_prob_photon (float prob) |
void | set_phi (float phi) |
void | set_pid (int pid) |
void | set_sector (int sector) |
void | set_tof (float tof) |
void | set_tofdisp (float tofdisp) |
void | set_tofmin (float tofmin) |
void | set_tofmax (float tofmax) |
void | set_tofcorr (float tofcorr) |
void | set_tofcorrmin (float tofcorrmin) |
void | set_tofcorrmax (float tofcorrmax) |
void | set_theta (float theta) |
void | set_towerid (int index, int value) |
void | set_type (int type) |
void | set_xyz (float x, float y, float z) |
Private Member Functions | |
void | copy (emcClusterContentv1 &to) const |
Private Attributes | |
unsigned int | fDeadmap |
unsigned int | fWarnmap |
int | fArm |
int | fId |
int | fMultiplicity |
int | fPid |
int | fSector |
int | fIypos |
int | fIzpos |
int | fType |
float | fX |
float | fY |
float | fZ |
float | fDx |
float | fDy |
float | fDz |
float | fDispy |
float | fDispz |
float | fE |
float | fE9 |
float | fEcent |
float | fEcore |
float | fEtofmin |
float | fEtofmax |
float | fChi2 |
float | fQuality |
float | fPadispy |
float | fPadispz |
float | fProb_photon |
float | fPhi |
float | fTof |
float | fTofdisp |
float | fTofmin |
float | fTofmax |
float | fTofcorr |
float | fTofcorrmin |
float | fTofcorrmax |
float | fTheta |
int * | fTowerid |
float * | fPartesum |
|
CREATORS.
Referenced by clone(). |
|
Definition at line 16 of file emcClusterContentv1.C. References copy(). |
|
Definition at line 50 of file emcClusterContentv1.C. References Clear(). |
|
ACCESSORS.
Reimplemented from emcClusterContent. Definition at line 25 of file emcClusterContentv1.h. References fArm. Referenced by print(). |
|
Indicative of how close the shower shape is from an electromagnetic show. A low chi2 means high probability of being an EM shower. Only for PbSc. Typical chi2 is chi2<3.0 Reimplemented from emcClusterContent. Definition at line 27 of file emcClusterContentv1.h. References fChi2. Referenced by print(). |
|
Definition at line 56 of file emcClusterContentv1.C. References fPartesum, and fTowerid. Referenced by copy(), Reset(), set_multiplicity(), and ~emcClusterContentv1(). |
|
Returns a copy of this cluster.
Reimplemented from emcClusterContent. Definition at line 37 of file emcClusterContentv1.C. References emcClusterContentv1(). |
|
Definition at line 66 of file emcClusterContentv1.C. References Clear(), fArm, fChi2, fDeadmap, fDispy, fDispz, fDx, fDy, fDz, fE, fE9, fEcent, fEcore, fEtofmax, fEtofmin, fId, fIypos, fIzpos, fMultiplicity, fPadispy, fPadispz, fPartesum, fPhi, fPid, fProb_photon, fQuality, fSector, fTheta, fTof, fTofcorr, fTofcorrmax, fTofcorrmin, fTofdisp, fTofmax, fTofmin, fTowerid, fType, fWarnmap, fX, fY, and fZ. Referenced by emcClusterContentv1(), and operator=(). |
|
Return an empty copy of this cluster (i.e. copy only the type).
Reimplemented from emcClusterContent. Definition at line 44 of file emcClusterContentv1.C. |
|
A 29 bits integer indicating the error status (both w.r.t energy and tof) of the cluster towers. It's relative to the central tower, i.e the deadmap is the one of the central tower and indicates the error status of the neighbours of the central tower. For energy, the bits are: --------------------- | | 18| 19| 20| | --------------------- | 13| 14| 15| 16| 17| --------------------- ^ y | 8 | 9 | 10| 11| 12| | --------------------- | | 3 | 4 | 5 | 6 | 7 | | --------------------- ------> z(x) | | 0 | 1 | 2 | | --------------------- as viewed from the back of the central tower (which has bit 10 set to 1 if it's itself a bad module); corner towers are excluded For ToF bits are : ------------- | 27| 28| 29| ^ y ------------- | | 24| 25| 26| | ------------- | | 21| 22| 23| ------> z(x) ------------- as viewed from the back of the central tower (which has bit 25 set to 1 if it's itself a bad module) So, the central tower of the cluster has a problem with amplitude measurements if deamap satisfies the 0x400 mask. Some other useful masks. The mask to look for amplitude errors or warnings in the 3x3 region around the central tower is: 0x1ce70 In the 5x5 region: 0x1fffff To see if there are ToF problems for the central tower: 0x2000000 Reimplemented from emcClusterContent. Definition at line 29 of file emcClusterContentv1.h. References fDeadmap. Referenced by print(). |
|
Dispersions (second moment of the tower positions distribution within the cluster) along y and z axis. Unit is cm^2. Reimplemented from emcClusterContent. Definition at line 31 of file emcClusterContentv1.h. References fDispy. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 32 of file emcClusterContentv1.h. References fDispz. Referenced by print(). |
|
Errors on position x,y,z of the cluster. Unit cm. Reimplemented from emcClusterContent. Definition at line 34 of file emcClusterContentv1.h. References fDx. |
|
Reimplemented from emcClusterContent. Definition at line 35 of file emcClusterContentv1.h. References fDy. |
|
Reimplemented from emcClusterContent. Definition at line 36 of file emcClusterContentv1.h. References fDz. |
|
Reimplemented from emcClusterContent. Definition at line 38 of file emcClusterContentv1.h. References fE. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 39 of file emcClusterContentv1.h. References fE9. |
|
Reimplemented from emcClusterContent. Definition at line 41 of file emcClusterContentv1.h. References fEcent. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 40 of file emcClusterContentv1.h. References fEcore. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 43 of file emcClusterContentv1.h. References fEtofmax. |
|
Energy of the tower that has the max (min) tof. GeV. Reimplemented from emcClusterContent. Definition at line 42 of file emcClusterContentv1.h. References fEtofmin. |
|
Cluster identifier.
Reimplemented from emcClusterContent. Definition at line 45 of file emcClusterContentv1.h. References fId. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 122 of file emcClusterContentv1.C. |
|
Reimplemented from emcClusterContent. Definition at line 129 of file emcClusterContentv1.C. |
|
Integer position within the sector of the central tower. y=0..35 and z=0..71 for PbSc, y=0..47 and z=0..96 for PbGl Reimplemented from emcClusterContent. Definition at line 51 of file emcClusterContentv1.h. References fIypos. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 52 of file emcClusterContentv1.h. References fIzpos. Referenced by print(). |
|
Number of towers in this cluster.
Reimplemented from emcClusterContent. Definition at line 56 of file emcClusterContentv1.h. References fMultiplicity. Referenced by print(). |
|
Definition at line 25 of file emcClusterContentv1.C. |
|
Dispersions along the principal axis of the clusters. Unit cm^2 Reimplemented from emcClusterContent. Definition at line 58 of file emcClusterContentv1.h. References fPadispy. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 59 of file emcClusterContentv1.h. References fPadispz. Referenced by print(). |
|
Partial sum of energy in the index-th tower. partesum(i) = sum_over_j(E_j/Ecluster) where j=0..i index ranges from 0 to multiplicity(). Dimensionless. Reimplemented from emcClusterContent. Definition at line 136 of file emcClusterContentv1.C. References fMultiplicity, and fPartesum. |
|
Phi angle of this cluster. Radians.
Reimplemented from emcClusterContent. Definition at line 66 of file emcClusterContentv1.h. References fPhi. |
|
Reimplemented from emcClusterContent. Definition at line 68 of file emcClusterContentv1.h. References fPid. |
|
Reimplemented from emcClusterContent. Definition at line 152 of file emcClusterContentv1.C. References arm(), chi2(), deadmap(), dispy(), dispz(), e(), ecent(), ecore(), id(), iypos(), izpos(), multiplicity(), padispy(), padispz(), sector(), tof(), tofmax(), tofmin(), type(), warnmap(), x(), y(), and z(). |
|
Probability that this cluster is a photon.
Reimplemented from emcClusterContent. Definition at line 64 of file emcClusterContentv1.h. References fProb_photon. |
|
Reimplemented from emcClusterContent. Definition at line 54 of file emcClusterContentv1.h. References fQuality. |
|
MUTATORS.
Definition at line 180 of file emcClusterContentv1.C. References Clear(), fArm, fChi2, fDeadmap, fDispy, fDispz, fDx, fDy, fDz, fE, fE9, fEcent, fEcore, fEtofmax, fEtofmin, fId, fIypos, fIzpos, fMultiplicity, fPadispy, fPadispz, fPhi, fPid, fProb_photon, fQuality, fSector, fTheta, fTof, fTofcorr, fTofcorrmax, fTofcorrmin, fTofdisp, fTofmax, fTofmin, fType, fWarnmap, fX, fY, and fZ. Referenced by operator=(). |
|
Sector number (ranging from 0 to 3). Offline convention. SECTOR PARM(*) ARM(**) SECTOR W0 1 0 0 W1 1 0 1 W2 1 0 2 W3 1 0 3 E3 0 1 3 E2 0 1 2 E1 0 1 1 E0 0 1 0 (*) arm in PHENIX convention (**) arm in EMCAL wrong convention (e.g. return by the arm() method of this very object). Reimplemented from emcClusterContent. Definition at line 72 of file emcClusterContentv1.h. References fSector. Referenced by print(). |
|
Various setters to set the above values.
Reimplemented from emcClusterContent. Definition at line 99 of file emcClusterContentv1.h. References fArm. |
|
Reimplemented from emcClusterContent. Definition at line 100 of file emcClusterContentv1.h. References fChi2. |
|
Reimplemented from emcClusterContent. Definition at line 101 of file emcClusterContentv1.h. |
|
Reimplemented from emcClusterContent. Definition at line 102 of file emcClusterContentv1.h. |
|
Reimplemented from emcClusterContent. Definition at line 103 of file emcClusterContentv1.h. References fE. |
|
Reimplemented from emcClusterContent. Definition at line 104 of file emcClusterContentv1.h. References fE9. |
|
Reimplemented from emcClusterContent. Definition at line 106 of file emcClusterContentv1.h. References fEcent. |
|
Reimplemented from emcClusterContent. Definition at line 105 of file emcClusterContentv1.h. References fEcore. |
|
Reimplemented from emcClusterContent. Definition at line 108 of file emcClusterContentv1.h. References fEtofmax. |
|
Reimplemented from emcClusterContent. Definition at line 107 of file emcClusterContentv1.h. References fEtofmin. |
|
Reimplemented from emcClusterContent. Definition at line 109 of file emcClusterContentv1.h. References fId. |
|
Reimplemented from emcClusterContent. Definition at line 110 of file emcClusterContentv1.h. |
|
Reimplemented from emcClusterContent. Definition at line 112 of file emcClusterContentv1.h. |
|
Reimplemented from emcClusterContent. Definition at line 227 of file emcClusterContentv1.C. References Clear(), fMultiplicity, and fTowerid. |
|
Reimplemented from emcClusterContent. Definition at line 115 of file emcClusterContentv1.h. |
|
Reimplemented from emcClusterContent. Definition at line 247 of file emcClusterContentv1.C. References fMultiplicity, and fPartesum. |
|
Reimplemented from emcClusterContent. Definition at line 119 of file emcClusterContentv1.h. References fPhi. |
|
Reimplemented from emcClusterContent. Definition at line 120 of file emcClusterContentv1.h. References fPid. |
|
Reimplemented from emcClusterContent. Definition at line 118 of file emcClusterContentv1.h. References fProb_photon. |
|
Reimplemented from emcClusterContent. Definition at line 111 of file emcClusterContentv1.h. References fQuality. |
|
Reimplemented from emcClusterContent. Definition at line 121 of file emcClusterContentv1.h. References fSector. |
|
Reimplemented from emcClusterContent. Definition at line 129 of file emcClusterContentv1.h. References fTheta. |
|
Reimplemented from emcClusterContent. Definition at line 122 of file emcClusterContentv1.h. References fTof. |
|
Reimplemented from emcClusterContent. Definition at line 126 of file emcClusterContentv1.h. References fTofcorr. |
|
Reimplemented from emcClusterContent. Definition at line 128 of file emcClusterContentv1.h. References fTofcorrmax. |
|
Reimplemented from emcClusterContent. Definition at line 127 of file emcClusterContentv1.h. References fTofcorrmin. |
|
Reimplemented from emcClusterContent. Definition at line 123 of file emcClusterContentv1.h. References fTofdisp. |
|
Reimplemented from emcClusterContent. Definition at line 125 of file emcClusterContentv1.h. References fTofmax. |
|
Reimplemented from emcClusterContent. Definition at line 124 of file emcClusterContentv1.h. References fTofmin. |
|
Reimplemented from emcClusterContent. Definition at line 270 of file emcClusterContentv1.C. References fMultiplicity, and fTowerid. |
|
Reimplemented from emcClusterContent. Definition at line 131 of file emcClusterContentv1.h. References fType. |
|
Reimplemented from emcClusterContent. Definition at line 132 of file emcClusterContentv1.h. |
|
Theta angle of the cluster. Radians.
Reimplemented from emcClusterContent. Definition at line 83 of file emcClusterContentv1.h. References fTheta. |
|
TOF of the central tower, minus the flash time (=sqrt(x2+y2+z2)/30.0)). Unit ns. Reimplemented from emcClusterContent. Definition at line 74 of file emcClusterContentv1.h. References fTof. Referenced by print(). |
|
Same as above (tof()) for the moment.
Reimplemented from emcClusterContent. Definition at line 79 of file emcClusterContentv1.h. References fTofcorr. |
|
Reimplemented from emcClusterContent. Definition at line 81 of file emcClusterContentv1.h. References fTofcorrmax. |
|
Reimplemented from emcClusterContent. Definition at line 80 of file emcClusterContentv1.h. References fTofcorrmin. |
|
Dispersion of the TOF. Not implemented yet.
Reimplemented from emcClusterContent. Definition at line 75 of file emcClusterContentv1.h. References fTofdisp. |
|
Reimplemented from emcClusterContent. Definition at line 77 of file emcClusterContentv1.h. References fTofmax. Referenced by print(). |
|
Minimun and maximum tofs of the clusters. Unit ns. Reimplemented from emcClusterContent. Definition at line 76 of file emcClusterContentv1.h. References fTofmin. Referenced by print(). |
|
towerid of the index-th tower of the cluster index goes from 0 to multiplicity()-1. This towerid can be used to recover full tower information using the emcTowerContainer object (if available in the xDST you're reading) and its findTower(towerid) method. Reimplemented from emcClusterContent. Definition at line 211 of file emcClusterContentv1.C. References fMultiplicity, and fTowerid. |
|
Detector type. 1 = PbSc, 2 = PbGl.
Reimplemented from emcClusterContent. Definition at line 87 of file emcClusterContentv1.h. References fType. Referenced by print(). |
|
Similar to deadmap, but for warning status.
Reimplemented from emcClusterContent. Definition at line 89 of file emcClusterContentv1.h. References fWarnmap. Referenced by print(). |
|
Position x,y,z of the cluster. Unit cm. Reimplemented from emcClusterContent. Definition at line 91 of file emcClusterContentv1.h. References fX. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 92 of file emcClusterContentv1.h. References fY. Referenced by print(). |
|
Reimplemented from emcClusterContent. Definition at line 93 of file emcClusterContentv1.h. References fZ. Referenced by print(). |
|
Definition at line 143 of file emcClusterContentv1.h. |
|
Definition at line 166 of file emcClusterContentv1.h. Referenced by chi2(), copy(), Reset(), and set_chi2(). |
|
Definition at line 140 of file emcClusterContentv1.h. Referenced by copy(), deadmap(), Reset(), and set_maps(). |
|
Definition at line 158 of file emcClusterContentv1.h. Referenced by copy(), dispy(), Reset(), and set_disp(). |
|
Definition at line 159 of file emcClusterContentv1.h. Referenced by copy(), dispz(), Reset(), and set_disp(). |
|
Definition at line 155 of file emcClusterContentv1.h. Referenced by copy(), dx(), Reset(), and set_dxyz(). |
|
Definition at line 156 of file emcClusterContentv1.h. Referenced by copy(), dy(), Reset(), and set_dxyz(). |
|
Definition at line 157 of file emcClusterContentv1.h. Referenced by copy(), dz(), Reset(), and set_dxyz(). |
|
Definition at line 160 of file emcClusterContentv1.h. |
|
Definition at line 161 of file emcClusterContentv1.h. |
|
Definition at line 162 of file emcClusterContentv1.h. Referenced by copy(), ecent(), Reset(), and set_ecent(). |
|
Definition at line 163 of file emcClusterContentv1.h. Referenced by copy(), ecore(), Reset(), and set_ecore(). |
|
Definition at line 165 of file emcClusterContentv1.h. Referenced by copy(), etofmax(), Reset(), and set_etofmax(). |
|
Definition at line 164 of file emcClusterContentv1.h. Referenced by copy(), etofmin(), Reset(), and set_etofmin(). |
|
Definition at line 144 of file emcClusterContentv1.h. |
|
Definition at line 148 of file emcClusterContentv1.h. Referenced by copy(), iypos(), Reset(), and set_ipos(). |
|
Definition at line 149 of file emcClusterContentv1.h. Referenced by copy(), izpos(), Reset(), and set_ipos(). |
|
Definition at line 145 of file emcClusterContentv1.h. Referenced by copy(), multiplicity(), partesum(), Reset(), set_multiplicity(), set_partesum(), set_towerid(), and towerid(). |
|
Definition at line 168 of file emcClusterContentv1.h. Referenced by copy(), padispy(), Reset(), and set_padisp(). |
|
Definition at line 169 of file emcClusterContentv1.h. Referenced by copy(), padispz(), Reset(), and set_padisp(). |
|
Definition at line 183 of file emcClusterContentv1.h. Referenced by Clear(), copy(), partesum(), and set_partesum(). |
|
Definition at line 171 of file emcClusterContentv1.h. |
|
Definition at line 146 of file emcClusterContentv1.h. |
|
Definition at line 170 of file emcClusterContentv1.h. Referenced by copy(), prob_photon(), Reset(), and set_prob_photon(). |
|
Definition at line 167 of file emcClusterContentv1.h. Referenced by copy(), quality(), Reset(), and set_quality(). |
|
Definition at line 147 of file emcClusterContentv1.h. Referenced by copy(), Reset(), sector(), and set_sector(). |
|
Definition at line 179 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_theta(), and theta(). |
|
Definition at line 172 of file emcClusterContentv1.h. |
|
Definition at line 176 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofcorr(), and tofcorr(). |
|
Definition at line 178 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofcorrmax(), and tofcorrmax(). |
|
Definition at line 177 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofcorrmin(), and tofcorrmin(). |
|
Definition at line 173 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofdisp(), and tofdisp(). |
|
Definition at line 175 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofmax(), and tofmax(). |
|
Definition at line 174 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_tofmin(), and tofmin(). |
|
Definition at line 181 of file emcClusterContentv1.h. Referenced by Clear(), copy(), set_multiplicity(), set_towerid(), and towerid(). |
|
Definition at line 150 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_type(), and type(). |
|
Definition at line 141 of file emcClusterContentv1.h. Referenced by copy(), Reset(), set_maps(), and warnmap(). |
|
Definition at line 152 of file emcClusterContentv1.h. |
|
Definition at line 153 of file emcClusterContentv1.h. |
|
Definition at line 154 of file emcClusterContentv1.h. |