PandaTree
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
panda::EventTP Class Reference
Inheritance diagram for panda::EventTP:
panda::EventBase panda::TreeEntry panda::ReaderObject panda::Object panda::EventTP2E panda::EventTP2M panda::EventTPEG panda::EventTPEM panda::EventTPME panda::EventTPMG panda::EventTPEEG panda::EventTPMMG

Public Member Functions

 EventTP (EventTP const &)
 
EventTPoperator= (EventTP 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.
 
- Public Member Functions inherited from panda::EventBase
 EventBase (EventBase const &)
 
EventBaseoperator= (EventBase const &)
 
virtual GenParticleBaseCollection const * genParticleCollection () const
 
virtual GenParticleBaseCollectiongenParticleCollection ()
 
void setReadRunTree (Bool_t s)
 Turn run synch feature on/off (default on)
 
UInt_t registerTrigger (char const *path)
 Use to declare a trigger path to be used in the analysis. Returns a token for the path. More...
 
Bool_t triggerFired (UInt_t token) const
 Trigger decision of the event. More...
 
void registerTriggerObjects (char const *filter)
 Use to declare a trigger filter name (key in the triggerObjects map) to be used in the analysis. More...
 
- Public Member Functions inherited from panda::TreeEntry
 TreeEntry (TreeEntry const &src)
 
TreeEntryoperator= (TreeEntry 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=kTRUE, Bool_t direct=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 (UInt_t, Long64_t entry, Bool_t localEntry=kFALSE) final
 Read an entry from an input tree. More...
 
Int_t fill (TTree &) final
 Fill a 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.
 
void unlink (TTree &) final
 Unlink from a tree.
 
- Public Member Functions inherited from panda::ReaderObject
 ReaderObject (ReaderObject const &src)
 
ReaderObjectoperator= (ReaderObject const &)
 
Int_t getEntry (TTree &tree, Long64_t entry, Bool_t localEntry=kFALSE) final
 Read an entry from an input tree. More...
 
void updateBranchArray (TTree &)
 
- Public Member Functions inherited from panda::Object
 Object (Object const &)
 
Objectoperator= (Object const &)
 

Static Public Member Functions

static utils::BranchList getListOfBranches (Bool_t direct=kFALSE)
 
- Static Public Member Functions inherited from panda::EventBase
static utils::BranchList getListOfBranches (Bool_t direct=kFALSE)
 

Public Attributes

ElectronCollection electrons = ElectronCollection("electrons", 32)
 
MuonCollection muons = MuonCollection("muons", 32)
 
PhotonCollection photons = PhotonCollection("photons", 32)
 
TPPairCollection tp = TPPairCollection("tp", 32)
 
JetCollection jets = JetCollection("jets", 64)
 
RecoMet t1Met = RecoMet("t1Met")
 
Float_t rho {}
 
UInt_t sample {}
 
- Public Attributes inherited from panda::EventBase
HLTBits triggers = HLTBits("triggers")
 
PartonCollection partons = PartonCollection("partons", 8)
 
Vertex genVertex = Vertex("genVertex")
 
UInt_t runNumber {}
 
UInt_t lumiNumber {}
 
ULong64_t eventNumber {}
 
Bool_t isData {}
 
Float_t weight {}
 
UShort_t npv {}
 
UShort_t npvTrue {}
 
Run run
 Current run object.
 
HLTObjectStore triggerObjects = HLTObjectStore("triggerObjects")
 Trigger object collection with additional features.
 
RRNG rng {0,0,nullptr}
 Repeatable random number generator, initialized to be empty.
 

Protected Member Functions

void doSetStatus_ (TTree &, utils::BranchList const &) override
 
utils::BranchList doGetStatus_ (TTree &) const override
 
utils::BranchList doGetBranchNames_ () const override
 
void doSetAddress_ (TTree &, utils::BranchList const &, Bool_t setStatus) override
 
void doBook_ (TTree &, utils::BranchList const &) override
 
void doGetEntry_ (TTree &) override
 
void doInit_ () override
 
void doUnlink_ (TTree &) override
 
- Protected Member Functions inherited from panda::ReaderObject
UInt_t registerInput_ (TTree &)
 

Additional Inherited Members

- Protected Types inherited from panda::ReaderObject
typedef std::vector< TBranch * > BranchArray
 
typedef std::pair< TTree *, BranchArray > BranchMapping
 List of branches linked with this object in the tree.
 
- Protected Attributes inherited from panda::TreeEntry
std::vector< Object * > objects_ {}
 list of object branches (containers and singlets)
 
std::vector< CollectionBase * > collections_ {}
 list of collections (overlaps with objects_)
 
- Protected Attributes inherited from panda::ReaderObject
std::vector< BranchMappinginputBranches_
 List of list of input branches. More...
 

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