16 "EventSummaryData::TriggerWeight: Trigger is non-physics ({}) but no unbiased but set in JMembPatt ({})",
18 throw std::runtime_error(
"Invalid trigger");
70 JMembPatt = std::numeric_limits<unsigned short>::max();
71 PhysBPatt = std::numeric_limits<unsigned short>::max();
72 NAcc = std::numeric_limits<unsigned short>::max();
76 fmt::print(
"{:=^120} \n",
" EventSummaryData ");
78 fmt::print(
"{:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>10} {:>16}\n",
"NAntiCluster",
"NTofCluster",
79 "NTrRecHit",
"NTrTrack",
"NRichRing",
"NEcalShower",
"NParticle",
"NAcc",
"PhysBPatt",
"JMembPatt");
81 fmt::print(
"{:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>15} {:>10} {:>16}\n",
NAntiCluster,
NTofCluster,
84 fmt::print(
"{:-^120}\n",
"");
unsigned short NParticle
Total number of reconstructed particles in the event.
unsigned short NAcc
Number of fired ACC counters.
float TriggerWeight() const
Returns the weight associated with the trigger for this event (depends on the prescaling factor for e...
unsigned short NAntiCluster
Number of fired ACC clusters.
static const std::string BranchName
unsigned short PhysBPatt
same as in gbatch, see https://ams.cern.ch/AMS/Analysis/hpl3itp1/root02_v5/html/development/html/clas...
unsigned short NTrRecHit
Total number of Tracker hits in the event.
unsigned short NEcalShower
Total number of Ecal showers in the event.
short HighestEcalEnergyParticle
ID of the ParticleR object with the highest ECAL shower energy.
void Dump() const
Dump on screen container content.
short HighestInnerChargeParticle
ID of the ParticleR object with the highest Inner Tracker charge.
unsigned short NTrTrack
Total number of Tracker tracks in the event.
bool IsPhysicsTrigger() const
Checks if the trigger corresponds to any of the AMS physics triggers.
short HighestBetaHChargeParticle
ID of the ParticleR object with the highest BetaH charge.
unsigned short NTofCluster
Total number of Tof clusters in the event.
void Clear()
Clear container content.
unsigned short JMembPatt
same as in gbatch, see https://ams.cern.ch/AMS/Analysis/hpl3itp1/root02_v5/html/development/html/clas...
void RestorePhysBPatt(bool force=false)
Recompute the PhysBPatt variable.
Event summary container class description.
unsigned short NRichRing
Total number of Rich rings in the event.