#include <XANAElectronCandidate.h>
Public Methods | |
XANAElectronCandidate () | |
XANAElectronCandidate (HepLorentzVector momentum, HepLorentzVector superClusterMomentum, HepLorentzVector trackMomentumAtCalo, Float_t superClusterEnergy, HepPoint3D superClusterPosition, HepPoint3D trackPositionAtCalo, Float_t eSuperClusterOverP, Float_t eSeedClusterOverP, Float_t deltaEtaSuperCluster, Float_t deltaPhiSuperCluster, Float_t deltaEtaSeedCluster, Float_t deltaPhiSeedCluster, Float_t trackIsolation, Float_t caloIsolation, Float_t hadOverEm, std::string algoName) | |
construct from data. More... | |
virtual | ~XANAElectronCandidate () |
HepLorentzVector | getMomentumAtVertex () const |
the electron 4-momentum at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy. More... | |
Float_t | getPt () const |
the electron Pt at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy. More... | |
Float_t | getEta () const |
the electron eta at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy. More... | |
Float_t | getPhi () const |
the electron phi at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy. More... | |
Short_t | getCharge () const |
the electron charge, from the reconstructed electron track. More... | |
HepLorentzVector | getSuperClusterMomentum () const |
the super cluster 4-momentum, from super cluster energy and position and assuming perfect helix and vertex at origin. More... | |
HepLorentzVector | getTrackMomentumAtCalo () const |
the track 4-momentum extrapolated at the supercluster position. More... | |
Float_t | getSuperClusterEnergy () const |
the super cluster energy corrected by EnergyScaleFactor. More... | |
HepPoint3D | getSuperClusterPosition () const |
the super cluster position. More... | |
HepPoint3D | getTrackPositionAtCalo () const |
the track extrapolated position at min distance to the supercluster position. More... | |
Float_t | getESuperClusterOverP () const |
the supercluster energy / track momentum. More... | |
Float_t | getESeedClusterOverP () const |
the seed cluster energy / track momentum. More... | |
Float_t | getDeltaEtaSuperClusterAtVtx () const |
the supercluster eta - track eta at Vtx. More... | |
Float_t | getDeltaEtaSuperClusterAtCalo () const |
the supercluster eta - track eta at Calo. More... | |
Float_t | getDeltaEtaSeedClusterAtCalo () const |
the seed cluster eta - track eta. More... | |
Float_t | getDeltaPhiSuperClusterAtVtx () const |
the supercluster phi - track phi at Vtx. More... | |
Float_t | getDeltaPhiSuperClusterAtCalo () const |
the supercluster phi - track phi at Calo. More... | |
Float_t | getDeltaPhiSeedClusterAtCalo () const |
the seed cluster phi - track phi. More... | |
Float_t | getTrackIsolation () const |
Float_t | getCaloIsolation () const |
the isolation from calorimeter. More... | |
Float_t | getHadronicOverEm () const |
the hadronic over electromagnetic fraction. More... | |
std::string | getAlgoName () const |
the reconstruction algo name. More... | |
char * | getCharAlgoName () const |
void | setMomentumAtVertex (HepLorentzVector momentum) |
void | setCharge (Short_t q) |
void | setSuperClusterMomentum (HepLorentzVector momentum) |
void | setTrackMomentumAtCalo (HepLorentzVector momentum) |
void | setSuperClusterEnergy (Float_t superClusterEnergy) |
void | setSuperClusterPosition (HepPoint3D superClusterPosition) |
void | setTrackPositionAtCalo (HepPoint3D trackPositionAtCalo) |
void | setESuperClusterOverP (Float_t eSuperClusterOverP) |
void | setESeedClusterOverP (Float_t eSeedClusterOverP) |
void | setDeltaEtaSuperClusterAtVtx (Float_t deltaEtaSuperCluster) |
void | setDeltaEtaSuperClusterAtCalo (Float_t deltaEtaSuperCluster) |
void | setDeltaEtaSeedClusterAtCalo (Float_t deltaEtaSeedCluster) |
void | setDeltaPhiSuperClusterAtVtx (Float_t deltaPhiSuperCluster) |
void | setDeltaPhiSuperClusterAtCalo (Float_t deltaPhiSuperCluster) |
void | setDeltaPhiSeedClusterAtCalo (Float_t deltaPhiSeedCluster) |
void | setTrackIsolation (Float_t trackIsolation) |
void | setCaloIsolation (Float_t caloIsolation) |
void | setHadronicOverEm (Float_t hadOverEm) |
void | setAlgoName (std::string algoName) |
void | clear () |
XANAElectronCandidate (const XANAElectronCandidate &right) | |
const XANAElectronCandidate & | operator= (const XANAElectronCandidate &right) |
bool | operator== (const XANAElectronCandidate &) const |
bool | operator< (const XANAElectronCandidate &) const |
void | setSuperCluster (XANASuperCluster *clu) |
XANASuperCluster * | getSuperCluster () const |
pointer to the super cluster. More... | |
XANACluster * | getSeedCluster () const |
pointer to the seed cluster. More... | |
Short_t | getNumberOfBrems () |
number of related brem clusters. More... | |
TRefArray * | getBremClusters () const |
array of pointers to the related brem clusters. More... | |
void | setElectronTrack (XANAElectronTrack *track) |
XANAElectronTrack * | getElectronTrack () const |
pointer to the electron track. More... | |
Bool_t | IsUsed () const |
tells if this object is linked as constituent of higher level object. More... | |
Protected Attributes | |
Short_t | charge_ |
the electron charge, from the reconstructed electron track. More... | |
HepLorentzVector | momentum_ |
the electron 4-momentum at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy. More... | |
HepLorentzVector | clusterMomentum_ |
the super cluster 4-momentum, from super cluster energy and position and assuming perfect helix and vertex at origin. More... | |
HepLorentzVector | trackMomentumAtCalo_ |
the track 4-momentum extrapolated at the supercluster position. More... | |
Float_t | superClusterEnergy_ |
the super cluster energy. More... | |
HepPoint3D | superClusterPosition_ |
the super cluster position. More... | |
HepPoint3D | trackPositionAtCalo_ |
the track extrapolated position at min distance to the supercluster position. More... | |
Float_t | eSuperClusterOverP_ |
the supercluster energy / track momentum. More... | |
Float_t | eSeedClusterOverP_ |
the seed cluster energy / track momentum. More... | |
Float_t | deltaEtaSuperClusterAtCalo_ |
the supercluster eta - track eta at vertex. More... | |
Float_t | deltaEtaSuperClusterAtVtx_ |
the supercluster eta - track eta at vertex. More... | |
Float_t | deltaEtaSeedClusterAtCalo_ |
the seed cluster eta - track eta at calo. More... | |
Float_t | deltaPhiSuperClusterAtCalo_ |
the supercluster phi - track phi at calo. More... | |
Float_t | deltaPhiSuperClusterAtVtx_ |
the supercluster phi - track phi at vertex. More... | |
Float_t | deltaPhiSeedClusterAtCalo_ |
the seed cluster phi - track phi. More... | |
Float_t | trackIsolation_ |
Float_t | caloIsolation_ |
the isolation from calorimeter. More... | |
Float_t | hadOverEm_ |
the hadronic over electromagnetic fraction. More... | |
TRef | superCluster_ |
pointer to the super cluster. More... | |
TRef | seedCluster_ |
pointer to the seed cluster. More... | |
Short_t | numberOfBrems_ |
number of related brems clusters. More... | |
TRefArray * | brems_ |
array of related brems clusters. More... | |
TRef | track_ |
pointer to the electron track. More... | |
Int_t | algoLen_ |
the reconstruction algo name. More... | |
char * | algoName_ |
Private Methods | |
void | lock () |
void | unlock () |
Private Attributes | |
Bool_t | locked_ |
Static Private Attributes | |
const Int_t | strLen_ |
|
|
|
construct from data.
|
|
|
|
|
|
|
|
the reconstruction algo name.
Definition at line 91 of file XANAElectronCandidate.h. References algoName_. Referenced by main.
00091 {return std::string(algoName_);} |
|
array of pointers to the related brem clusters.
Definition at line 136 of file XANAElectronCandidate.h. References brems_. Referenced by main.
00136 {return brems_;} |
|
the isolation from calorimeter.
Definition at line 86 of file XANAElectronCandidate.h. References caloIsolation_. Referenced by main.
00086 {return caloIsolation_;} |
|
Definition at line 92 of file XANAElectronCandidate.h. References algoName_.
00092 {return algoName_;} |
|
the electron charge, from the reconstructed electron track.
Definition at line 54 of file XANAElectronCandidate.h.
00054 {return charge_;} |
|
the seed cluster eta - track eta.
Definition at line 76 of file XANAElectronCandidate.h. Referenced by main.
00076 {return deltaEtaSeedClusterAtCalo_;} |
|
the supercluster eta - track eta at Calo.
Definition at line 74 of file XANAElectronCandidate.h. Referenced by main.
00074 {return deltaEtaSuperClusterAtCalo_;} |
|
the supercluster eta - track eta at Vtx.
Definition at line 72 of file XANAElectronCandidate.h. Referenced by main.
00072 {return deltaEtaSuperClusterAtVtx_;} |
|
the seed cluster phi - track phi.
Definition at line 82 of file XANAElectronCandidate.h. Referenced by main.
00082 {return deltaPhiSeedClusterAtCalo_;} |
|
the supercluster phi - track phi at Calo.
Definition at line 80 of file XANAElectronCandidate.h. Referenced by main.
00080 {return deltaPhiSuperClusterAtCalo_;} |
|
the supercluster phi - track phi at Vtx.
Definition at line 78 of file XANAElectronCandidate.h. Referenced by main.
00078 {return deltaPhiSuperClusterAtVtx_;} |
|
pointer to the electron track.
Definition at line 139 of file XANAElectronCandidate.h. References track_. Referenced by main.
00139 {return (XANAElectronTrack *)(track_.GetObject());} |
|
the seed cluster energy / track momentum.
Definition at line 70 of file XANAElectronCandidate.h. Referenced by main.
00070 {return eSeedClusterOverP_;} |
|
the supercluster energy / track momentum.
Definition at line 68 of file XANAElectronCandidate.h. Referenced by main.
00068 {return eSuperClusterOverP_;} |
|
the electron eta at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy.
Definition at line 50 of file XANAElectronCandidate.h. Referenced by main.
00050 {return momentum_.rapidity();} |
|
the hadronic over electromagnetic fraction.
Definition at line 88 of file XANAElectronCandidate.h. References hadOverEm_. Referenced by main.
00088 {return hadOverEm_;} |
|
the electron 4-momentum at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy.
Definition at line 46 of file XANAElectronCandidate.h. Referenced by main.
00046 {return momentum_;} |
|
number of related brem clusters.
Definition at line 134 of file XANAElectronCandidate.h. References numberOfBrems_.
00134 {return numberOfBrems_;} |
|
the electron phi at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy.
Definition at line 52 of file XANAElectronCandidate.h. Referenced by main.
00052 {return momentum_.phi();} |
|
the electron Pt at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy.
Definition at line 48 of file XANAElectronCandidate.h. Referenced by main.
00048 {return momentum_.perp();} |
|
pointer to the seed cluster.
Definition at line 132 of file XANAElectronCandidate.h. References seedCluster_. Referenced by main.
00132 {return (XANACluster *)(seedCluster_.GetObject());} |
|
pointer to the super cluster.
Definition at line 130 of file XANAElectronCandidate.h. References superCluster_. Referenced by main.
00130 {return (XANASuperCluster *)(superCluster_.GetObject());} |
|
the super cluster energy corrected by EnergyScaleFactor.
Definition at line 62 of file XANAElectronCandidate.h.
00062 {return superClusterEnergy_;} |
|
the super cluster 4-momentum, from super cluster energy and position and assuming perfect helix and vertex at origin.
Definition at line 58 of file XANAElectronCandidate.h.
00058 {return clusterMomentum_;} |
|
the super cluster position.
Definition at line 64 of file XANAElectronCandidate.h. Referenced by main.
00064 {return superClusterPosition_;} |
|
Definition at line 84 of file XANAElectronCandidate.h. References trackIsolation_. Referenced by main.
00084 {return trackIsolation_;} |
|
the track 4-momentum extrapolated at the supercluster position.
Definition at line 60 of file XANAElectronCandidate.h. Referenced by main.
00060 {return trackMomentumAtCalo_;} |
|
the track extrapolated position at min distance to the supercluster position.
Definition at line 66 of file XANAElectronCandidate.h. Referenced by main.
00066 {return trackPositionAtCalo_;} |
|
tells if this object is linked as constituent of higher level object.
Definition at line 142 of file XANAElectronCandidate.h. References locked_.
00142 {return locked_;} |
|
Definition at line 210 of file XANAElectronCandidate.h. References locked_.
00210 {locked_ = true;} |
|
|
|
|
|
|
|
Definition at line 113 of file XANAElectronCandidate.h. References algoName_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00113 {sprintf(algoName_,algoName.c_str());} |
|
Definition at line 111 of file XANAElectronCandidate.h. References caloIsolation_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00111 {caloIsolation_=caloIsolation;} |
|
Definition at line 96 of file XANAElectronCandidate.h. References charge_.
00096 {charge_=q;} |
|
Definition at line 106 of file XANAElectronCandidate.h. References deltaEtaSeedClusterAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00106 {deltaEtaSeedClusterAtCalo_=deltaEtaSeedCluster;} |
|
Definition at line 105 of file XANAElectronCandidate.h. References deltaEtaSuperClusterAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00105 {deltaEtaSuperClusterAtCalo_=deltaEtaSuperCluster;} |
|
Definition at line 104 of file XANAElectronCandidate.h. References deltaEtaSuperClusterAtVtx_. Referenced by XANAEsdBuilder::setElectrons.
00104 {deltaEtaSuperClusterAtVtx_=deltaEtaSuperCluster;} |
|
Definition at line 109 of file XANAElectronCandidate.h. References deltaPhiSeedClusterAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00109 {deltaPhiSeedClusterAtCalo_=deltaPhiSeedCluster;} |
|
Definition at line 108 of file XANAElectronCandidate.h. References deltaPhiSuperClusterAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00108 {deltaPhiSuperClusterAtCalo_=deltaPhiSuperCluster;} |
|
Definition at line 107 of file XANAElectronCandidate.h. References deltaPhiSuperClusterAtVtx_. Referenced by XANAEsdBuilder::setElectrons.
00107 {deltaPhiSuperClusterAtVtx_=deltaPhiSuperCluster;} |
|
|
|
Definition at line 103 of file XANAElectronCandidate.h. References eSeedClusterOverP_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00103 {eSeedClusterOverP_=eSeedClusterOverP;} |
|
Definition at line 102 of file XANAElectronCandidate.h. References eSuperClusterOverP_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00102 {eSuperClusterOverP_=eSuperClusterOverP;} |
|
Definition at line 112 of file XANAElectronCandidate.h. References hadOverEm_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00112 {hadOverEm_=hadOverEm;} |
|
Definition at line 95 of file XANAElectronCandidate.h. References momentum_. Referenced by XANAEsdBuilder::setElectrons.
00095 {momentum_=momentum;} |
|
Referenced by ElectronObserver::upDate. |
|
Definition at line 99 of file XANAElectronCandidate.h. References superClusterEnergy_. Referenced by XANAEsdBuilder::setElectrons.
00099 {superClusterEnergy_=superClusterEnergy;} |
|
Definition at line 97 of file XANAElectronCandidate.h. References clusterMomentum_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00097 {clusterMomentum_=momentum;} |
|
Definition at line 100 of file XANAElectronCandidate.h. References superClusterPosition_. Referenced by XANAEsdBuilder::setElectrons.
00100 {superClusterPosition_=superClusterPosition;} |
|
Definition at line 110 of file XANAElectronCandidate.h. References trackIsolation_. Referenced by XANAEsdBuilder::setElectrons, and ElectronObserver::upDate.
00110 {trackIsolation_=trackIsolation;} |
|
Definition at line 98 of file XANAElectronCandidate.h. References trackMomentumAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00098 {trackMomentumAtCalo_=momentum;} |
|
Definition at line 101 of file XANAElectronCandidate.h. References trackPositionAtCalo_. Referenced by XANAEsdBuilder::setElectrons.
00101 {trackPositionAtCalo_=trackPositionAtCalo;} |
|
Definition at line 211 of file XANAElectronCandidate.h. References locked_.
00211 { locked_ = false;} |
|
the reconstruction algo name.
Definition at line 203 of file XANAElectronCandidate.h. |
|
Definition at line 204 of file XANAElectronCandidate.h. Referenced by getAlgoName, getCharAlgoName, and setAlgoName. |
|
array of related brems clusters.
Definition at line 199 of file XANAElectronCandidate.h. Referenced by getBremClusters. |
|
the isolation from calorimeter.
Definition at line 187 of file XANAElectronCandidate.h. Referenced by getCaloIsolation, and setCaloIsolation. |
|
the electron charge, from the reconstructed electron track.
Definition at line 148 of file XANAElectronCandidate.h. Referenced by setCharge. |
|
the super cluster 4-momentum, from super cluster energy and position and assuming perfect helix and vertex at origin.
Definition at line 154 of file XANAElectronCandidate.h. Referenced by setSuperClusterMomentum. |
|
the seed cluster eta - track eta at calo.
Definition at line 175 of file XANAElectronCandidate.h. Referenced by setDeltaEtaSeedClusterAtCalo. |
|
the supercluster eta - track eta at vertex.
Definition at line 171 of file XANAElectronCandidate.h. Referenced by setDeltaEtaSuperClusterAtCalo. |
|
the supercluster eta - track eta at vertex.
Definition at line 173 of file XANAElectronCandidate.h. Referenced by setDeltaEtaSuperClusterAtVtx. |
|
the seed cluster phi - track phi.
Definition at line 181 of file XANAElectronCandidate.h. Referenced by setDeltaPhiSeedClusterAtCalo. |
|
the supercluster phi - track phi at calo.
Definition at line 177 of file XANAElectronCandidate.h. Referenced by setDeltaPhiSuperClusterAtCalo. |
|
the supercluster phi - track phi at vertex.
Definition at line 179 of file XANAElectronCandidate.h. Referenced by setDeltaPhiSuperClusterAtVtx. |
|
the seed cluster energy / track momentum.
Definition at line 168 of file XANAElectronCandidate.h. Referenced by setESeedClusterOverP. |
|
the supercluster energy / track momentum.
Definition at line 166 of file XANAElectronCandidate.h. Referenced by setESuperClusterOverP. |
|
the hadronic over electromagnetic fraction.
Definition at line 189 of file XANAElectronCandidate.h. Referenced by getHadronicOverEm, and setHadronicOverEm. |
|
Definition at line 209 of file XANAElectronCandidate.h. |
|
the electron 4-momentum at vertex best estimate. Currently it is computed from the track momentum at vertex rescaled by the supercluster energy.
Definition at line 150 of file XANAElectronCandidate.h. Referenced by setMomentumAtVertex. |
|
number of related brems clusters.
Definition at line 197 of file XANAElectronCandidate.h. Referenced by getNumberOfBrems. |
|
pointer to the seed cluster.
Definition at line 195 of file XANAElectronCandidate.h. Referenced by getSeedCluster. |
|
Definition at line 208 of file XANAElectronCandidate.h. |
|
pointer to the super cluster.
Definition at line 193 of file XANAElectronCandidate.h. Referenced by getSuperCluster. |
|
the super cluster energy.
Definition at line 158 of file XANAElectronCandidate.h. Referenced by setSuperClusterEnergy. |
|
the super cluster position.
Definition at line 160 of file XANAElectronCandidate.h. Referenced by setSuperClusterPosition. |
|
pointer to the electron track.
Definition at line 201 of file XANAElectronCandidate.h. Referenced by getElectronTrack. |
|
Definition at line 185 of file XANAElectronCandidate.h. Referenced by getTrackIsolation, and setTrackIsolation. |
|
the track 4-momentum extrapolated at the supercluster position.
Definition at line 156 of file XANAElectronCandidate.h. Referenced by setTrackMomentumAtCalo. |
|
the track extrapolated position at min distance to the supercluster position.
Definition at line 162 of file XANAElectronCandidate.h. Referenced by setTrackPositionAtCalo. |