PandaTree
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | List of all members
panda::XPhoton Class Reference
Inheritance diagram for panda::XPhoton:
panda::Photon panda::ParticleP panda::Particle panda::PtEtaPhiMixin panda::Element panda::Object

Classes

struct  datastore
 

Public Types

enum  IDTune {
  kSpring15, kSpring16, kFall17, kGJetsCWIso,
  kZGCWIso, nIDTunes
}
 
typedef Array< XPhotonarray_type
 
typedef Collection< XPhotoncollection_type
 
typedef Photon base_type
 
typedef std::array< double, 4 > SubdetThresholds
 
typedef std::array< SubdetThresholds, 2 > Thresholds
 
typedef std::array< Thresholds, nIDTunes > IDDefinitions
 
- Public Types inherited from panda::Photon
typedef Array< Photonarray_type
 
typedef Collection< Photoncollection_type
 
typedef ParticleP base_type
 
- Public Types inherited from panda::ParticleP
typedef Array< ParticleParray_type
 
typedef Collection< ParticlePcollection_type
 
typedef Particle base_type
 
- Public Types inherited from panda::Particle
typedef Array< Particlearray_type
 
typedef Collection< Particlecollection_type
 
typedef Element base_type
 
- Public Types inherited from panda::Element
typedef ArrayBase array_type
 
typedef CollectionBase collection_type
 

Public Member Functions

 XPhoton (char const *name="")
 
 XPhoton (XPhoton const &)
 
 XPhoton (datastore &, UInt_t idx)
 
XPhotonoperator= (XPhoton const &)
 
void print (std::ostream &=std::cout, UInt_t level=1) const override
 Print the object content.
 
void dump (std::ostream &=std::cout) const override
 Dump the object content.
 
bool passCHIso (UInt_t wp, UInt_t t) const
 
bool passCHIsoMax (UInt_t wp, UInt_t t) const
 
bool passNHIso (UInt_t wp, UInt_t t) const
 
bool passPhIso (UInt_t wp, UInt_t t) const
 
bool passSieie (UInt_t wp, UInt_t t) const
 
bool passHOverE (UInt_t wp, UInt_t t) const
 
void destructor (Bool_t recursive=kFALSE)
 
- Public Member Functions inherited from panda::Photon
 Photon (char const *name="")
 
 Photon (Photon const &)
 
 Photon (datastore &, UInt_t idx)
 
Photonoperator= (Photon const &)
 
void destructor (Bool_t recursive=kFALSE)
 
- Public Member Functions inherited from panda::ParticleP
 ParticleP (char const *name="")
 
 ParticleP (ParticleP const &)
 
 ParticleP (datastore &, UInt_t idx)
 
ParticlePoperator= (ParticleP const &)
 
double pt () const override
 
double eta () const override
 
double phi () const override
 
double m () const override
 
void setPtEtaPhiM (double pt, double eta, double phi, double) override
 
void setXYZE (double px, double py, double pz, double) override
 
void destructor (Bool_t recursive=kFALSE)
 
- Public Member Functions inherited from panda::Particle
 Particle (datastore &, UInt_t idx)
 
Particleoperator= (Particle const &)
 
TLorentzVector p4 () const
 
double e () const
 
double p () const
 
double px () const
 
double py () const
 
double pz () const
 
double dEta (Particle const &p) const
 
double dPhi (Particle const &p) const
 
double dR2 (Particle const &p) const
 
double dR (Particle const &p) const
 
void destructor (Bool_t recursive=kFALSE)
 
- Public Member Functions inherited from panda::Element
 Element ()=delete
 Disabled default constructor.
 
 Element (datastore &, UInt_t)
 Standard constructor.
 
 Element (Element const &src)
 Copy constructor. More...
 
Elementoperator= (Element const &)
 
void setStatus (TTree &, utils::BranchList const &blist) final
 Set status of branches to true (matching branch) or false (vetoed branch) More...
 
utils::BranchList getStatus (TTree &) const final
 Get status of branches in the tree.
 
utils::BranchList getBranchNames (Bool_t fullName=kTRUE, Bool_t=kFALSE) const final
 Get the full list of branch names. More...
 
UInt_t setAddress (TTree &, utils::BranchList const &blist={"*"}, Bool_t setStatus=kTRUE) final
 Bind the tree branches to the elements of this object. More...
 
void book (TTree &, utils::BranchList const &blist={"*"}) final
 Book new branches bound to this object on the tree. More...
 
Int_t getEntry (TTree &tree, Long64_t entry, Bool_t localEntry=kFALSE) final
 Read an entry from an input tree. More...
 
Int_t getEntry (UInt_t treeId, Long64_t entry, Bool_t localEntry=kFALSE) final
 Read an entry from an input tree. More...
 
void init () final
 Reset the object state.
 
char const * getName () const final
 Name of this object.
 
void setName (char const *) final
 Set object name.
 
- Public Member Functions inherited from panda::Object
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual Int_t fill (TTree &tree)
 Fill a tree. More...
 
- Public Member Functions inherited from panda::PtEtaPhiMixin
 PtEtaPhiMixin (datastore &, UInt_t idx)
 

Static Public Member Functions

static char const * typeName ()
 
static utils::BranchList getListOfBranches ()
 
- Static Public Member Functions inherited from panda::Photon
static char const * typeName ()
 
static utils::BranchList getListOfBranches ()
 
- Static Public Member Functions inherited from panda::ParticleP
static char const * typeName ()
 
static utils::BranchList getListOfBranches ()
 
- Static Public Member Functions inherited from panda::Particle
static char const * typeName ()
 
static Bool_t PtGreater (Element const &p1, Element const &p2)
 sort comparison by pt More...
 
static utils::BranchList getListOfBranches ()
 
- Static Public Member Functions inherited from panda::Element
static char const * typeName ()
 

Public Attributes

Float_t & scEta
 
Float_t & scRawPt
 
Float_t(& chIsoX )[nIDTunes]
 
Float_t(& chIsoMaxX )[nIDTunes]
 
Float_t(& nhIsoX )[nIDTunes]
 
Float_t(& phIsoX )[nIDTunes]
 
Float_t & e4
 
Bool_t & isEB
 
Bool_t(& looseX )[nIDTunes]
 
Bool_t(& mediumX )[nIDTunes]
 
Bool_t(& tightX )[nIDTunes]
 
Int_t & matchedGenId
 
- Public Attributes inherited from panda::Photon
Float_t & pfPt
 Pt of the dR-closest PF candidate.
 
Float_t & chIso
 
Float_t & chIsoMax
 
Float_t & nhIso
 
Float_t & phIso
 
Float_t & sieie
 
Float_t & sipip
 
Float_t & hOverE
 
Float_t & mipEnergy
 
Float_t & emax
 
Float_t & e2nd
 
Float_t & eleft
 
Float_t & eright
 
Float_t & etop
 
Float_t & ebottom
 
Float_t & r9
 
Float_t & etaWidth
 
Float_t & phiWidth
 
Float_t & time
 
Float_t & timeSpan
 
Float_t & alphaSeed
 
Float_t & betaSeed
 
Float_t & t0Seed
 
Float_t & ampSeed
 
Float_t & regPt
 
Float_t & smearedPt
 
UShort_t & ix
 
UShort_t & iy
 
Bool_t & loose
 
Bool_t & medium
 
Bool_t & tight
 
Bool_t & highpt
 
Bool_t & pixelVeto
 
Bool_t & csafeVeto
 
Bool_t & pfchVeto
 
Ref< SuperClustersuperCluster
 
Ref< PFCandBasematchedPF
 
Ref< GenParticleBasematchedGen
 

Static Public Attributes

static TString IDTuneName [nIDTunes]
 
static IDDefinitions const chIsoCuts
 
static IDDefinitions const nhIsoCuts
 
static IDDefinitions const phIsoCuts
 
static IDDefinitions const sieieCuts
 
static IDDefinitions const hOverECuts
 

Protected Member Functions

 XPhoton (ArrayBase *)
 
void doBook_ (TTree &, TString const &, utils::BranchList const &={"*"}) override
 
void doInit_ () override
 
- Protected Member Functions inherited from panda::Photon
 Photon (ArrayBase *)
 
- Protected Member Functions inherited from panda::ParticleP
 ParticleP (ArrayBase *)
 
- Protected Member Functions inherited from panda::Particle
 Particle (ArrayBase *)
 
- Protected Member Functions inherited from panda::Element
 Element (ArrayBase *)
 Ctor for singlet instantiation. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from panda::PtEtaPhiMixin
static utils::BranchList getListOfBranches ()
 
- Protected Attributes inherited from panda::PtEtaPhiMixin
Float_t & pt_
 
Float_t & eta_
 
Float_t & phi_
 
- Static Protected Attributes inherited from panda::Element
static StoreManager gStore
 

Member Data Documentation

§ chIsoCuts

panda::XPhoton::IDDefinitions const panda::XPhoton::chIsoCuts
static
Initial value:
{{
{{{{3.32, 1.37, 0.76, 5.0}}, {{1.97, 1.10, 0.56, 5.0}}}},
{{{{1.295, 0.441, 0.202, 5.0}}, {{1.011, 0.442, 0.034, 5.0}}}},
{{{{1.694, 1.141, 0.65, 5.0}}, {{2.089, 1.051, 0.517, 5.0}}}},
{{{{1.295, 1.146, 0.202, 5.0}}, {{1.011, 0.442, 0.034, 5.0}}}},
{{{{1.295, 1.163, 0.202, 5.0}}, {{1.011, 0.442, 0.034, 5.0}}}}
}}

§ hOverECuts

panda::XPhoton::IDDefinitions const panda::XPhoton::hOverECuts
static
Initial value:
{{
{{{{0.05, 0.05, 0.05, 0.05}}, {{0.05, 0.05, 0.05, 0.05}}}},
{{{{0.0597, 0.0396, 0.0269, 0.05}}, {{0.0481, 0.0219, 0.0213, 0.05}}}},
{{{{0.04596, 0.02197, 0.02148, 0.05}}, {{0.0590, 0.0326, 0.0321, 0.05}}}},
{{{{0.0597, 0.026, 0.0269, 0.05}}, {{0.0481, 0.0219, 0.0213, 0.05}}}},
{{{{0.0597, 0.0263, 0.0269, 0.05}}, {{0.0481, 0.0219, 0.0213, 0.05}}}}
}}

§ IDTuneName

TString panda::XPhoton::IDTuneName
static
Initial value:
= {
"kSpring15",
"kSpring16",
"kFall17",
"kGJetsCWIso",
"kZGCWIso"
}

§ nhIsoCuts

panda::XPhoton::IDDefinitions const panda::XPhoton::nhIsoCuts
static
Initial value:
{{
{{{{1.92, 1.06, 0.97, 100000.}}, {{11.86, 2.69, 2.09, 100000.}}}},
{{{{10.910, 2.725, 0.264, 100000.}}, {{5.931, 1.715, 0.586, 100000.}}}},
{{{{24.032, 1.189, 0.317, 100000.}}, {{19.722, 2.718, 2.716, 2.00}}}},
{{{{10.910, 2.792, 0.264, 100000.}}, {{5.931, 1.715, 0.586, 100000.}}}},
{{{{10.910, 7.005, 0.264, 100000.}}, {{5.931, 1.715, 0.586, 100000.}}}}
}}

§ phIsoCuts

panda::XPhoton::IDDefinitions const panda::XPhoton::phIsoCuts
static
Initial value:
{{
{{{{0.81, 0.28, 0.08, 2.75}}, {{0.83, 0.39, 0.16, 2.00}}}},
{{{{3.630, 2.571, 2.362, 2.75}}, {{6.641, 3.863, 2.617, 2.00}}}},
{{{{2.876, 2.08, 2.044, 2.75}}, {{4.162, 3.867, 3.032, 2.00}}}},
{{{{3.630, 2.176, 2.362, 2.75}}, {{6.641, 3.863, 2.617, 2.00}}}},
{{{{3.630, 3.271, 2.362, 2.75}}, {{6.641, 3.863, 2.617, 2.00}}}}
}}

§ sieieCuts

panda::XPhoton::IDDefinitions const panda::XPhoton::sieieCuts
static
Initial value:
{{
{{{{0.0102, 0.0102, 0.0100, 0.0105}}, {{0.0274, 0.0268, 0.0268, 0.028}}}},
{{{{0.01031, 0.01022, 0.00994, 0.0105}}, {{0.03013, 0.03001, 0.03000, 0.028}}}},
{{{{0.0106, 0.01015, 0.00996, 0.0105}}, {{0.0272, 0.0272, 0.0271, 0.028}}}},
{{{{0.01031, 0.0104, 0.00994, 0.0105}}, {{0.03013, 0.03001, 0.03000, 0.028}}}},
{{{{0.01031, 0.01002, 0.00994, 0.0105}}, {{0.03013, 0.03001, 0.03000, 0.028}}}}
}}

The documentation for this class was generated from the following files: