|
PandaTree
|
Public Member Functions | |
| EventBase (EventBase const &) | |
| EventBase & | operator= (EventBase 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. | |
| virtual GenParticleBaseCollection const * | genParticleCollection () const |
| virtual GenParticleBaseCollection * | genParticleCollection () |
| 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) | |
| TreeEntry & | operator= (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) | |
| ReaderObject & | operator= (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 &) | |
| Object & | operator= (Object const &) |
Static Public Member Functions | |
| static utils::BranchList | getListOfBranches (Bool_t direct=kFALSE) |
Public Attributes | |
| 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< BranchMapping > | inputBranches_ |
| List of list of input branches. More... | |
|
inline |
Use to declare a trigger path to be used in the analysis. Returns a token for the path.
Call this function before the event loop for each trigger you will be using. The return value is an integer unique to the path, and can be passed to triggerFired() in the event loop to retrieve the trigger decision of the event.
| path | HLT path |
|
inline |
Use to declare a trigger filter name (key in the triggerObjects map) to be used in the analysis.
By default, all trigger objects are loaded into the triggerObjects map at each call to getEntry. Once a call to this function is made, only the objects for the registered filter will be loaded.
| Bool_t panda::EventBase::triggerFired | ( | UInt_t | token | ) | const |
Trigger decision of the event.
Pass the trigger token returned by registerTrigger().
| token | Token returned by registerTrigger() |
1.8.12