NAIA  1.0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Member Functions | Static Public Attributes | List of all members
NAIA::EventSummary Class Reference

Accessor class for EventSummary info. More...

#include <Containers/EventSummary.h>

Inheritance diagram for NAIA::EventSummary:
NAIA::OnDemandContainer< EventSummary > NAIA::EventSummaryData

Public Member Functions

 EventSummary ()
 
- Public Member Functions inherited from NAIA::OnDemandContainer< EventSummary >
 OnDemandContainer ()=default
 
void LoadEvent ()
 Wrapper to call GetEntry on the underlying TBranch. More...
 
void SetTreeEntry (unsigned long long treeEntry)
 Set the TTree entry number. More...
 
void Branch (TTree *tree)
 Create the TBranch associated with this container. More...
 
void MirrorBranch (TTree *targetTree, const EventSummary *sourceContainer)
 Create a TBranch associated with this container mirroring from an existing container. More...
 
void SetBranchAddress (TTree *tree)
 Setup reading of the data container. More...
 
void DisableIO () const
 Disables I/O for this container. It won't be written on disk and trying to read it will cause an exception. More...
 
EventSummaryoperator-> ()
 Access operator. Use this to access container data More...
 
- Public Member Functions inherited from NAIA::EventSummaryData
void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 
bool IsPhysicsTrigger () const
 Checks if the trigger corresponds to any of the AMS physics triggers. More...
 
float TriggerWeight () const
 Returns the weight associated with the trigger for this event (depends on the prescaling factor for each trigger) More...
 
void RestorePhysBPatt (bool force=false)
 Recompute the PhysBPatt variable. More...
 

Static Public Attributes

static const std::string BranchName {"EventSummaryData"}
 

Additional Inherited Members

- Public Attributes inherited from NAIA::EventSummaryData
unsigned short NAntiCluster = 0
 Number of fired ACC clusters. More...
 
unsigned short NTofCluster = 0
 Total number of Tof clusters in the event. More...
 
unsigned short NTrRecHit = 0
 Total number of Tracker hits in the event. More...
 
unsigned short NTrTrack = 0
 Total number of Tracker tracks in the event. More...
 
unsigned short NRichRing = 0
 Total number of Rich rings in the event. More...
 
unsigned short NEcalShower = 0
 Total number of Ecal showers in the event. More...
 
unsigned short NParticle = 0
 Total number of reconstructed particles in the event. More...
 
short HighestEcalEnergyParticle = -1
 ID of the ParticleR object with the highest ECAL shower energy. More...
 
short HighestInnerChargeParticle = -1
 ID of the ParticleR object with the highest Inner Tracker charge. More...
 
short HighestBetaHChargeParticle = -1
 ID of the ParticleR object with the highest BetaH charge. More...
 
unsigned short PhysBPatt = 0
 same as in gbatch, see https://ams.cern.ch/AMS/Analysis/hpl3itp1/root02_v5/html/development/html/classLevel1R.html#a6b6858ab612fec065ca5809aa3795aee More...
 
unsigned short JMembPatt = 0
 same as in gbatch, see https://ams.cern.ch/AMS/Analysis/hpl3itp1/root02_v5/html/development/html/classLevel1R.html#a2df0cb3fc3ab7d8ee65e5e2336cf39ab More...
 
unsigned short NAcc = 0
 Number of fired ACC counters. More...
 

Detailed Description

Accessor class for EventSummary info.

Wrapper implementing read-on-demand behavior for EventSummary data.

Definition at line 101 of file EventSummary.h.

Constructor & Destructor Documentation

NAIA::EventSummary::EventSummary ( )
inline

Definition at line 105 of file EventSummary.h.

Member Data Documentation

const std::string NAIA::EventSummary::BranchName {"EventSummaryData"}
static

Definition at line 103 of file EventSummary.h.


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