11 #ifdef ENABLE_PRODUCTION_CODE
12 #include "root_setup.h"
62 static constexpr
unsigned int nqbins = 9;
153 #ifdef ENABLE_PRODUCTION_CODE
154 void Fill(AMSSetupR::RTI *rtiPtr,
unsigned int runTag);
155 void AccumulateEventVariables(AMSEventR *evPtr);
156 void FillEventVariables();
159 static const std::array<float, nrigbins + 1>
rigbins;
160 static const std::array<float, nbetabins + 1>
betabins;
163 static const std::map<unsigned int, std::pair<float, float>>
qbins;
unsigned int Month()
Get the current month [1-12].
float nTrigger
Number of events with trigger in this second.
float nPartTrkInn
Average number of ParticleR with InnerTracker track.
float nTRDHitAvg
Average number of TRD raw hits for one event.
void Clear()
Clear container content.
bool DSPErrorJLV1
Has a DSP error occurred in JLV1 in this second?
float nEventParticle
Number of events with tof+trd+tracker+ecal data.
float Altitude
Altitude (gtod coordinate system) (cm)
std::array< std::array< float, 2 >, 4 > MaxStoermerCutoff
Max Stoermer cutoff within a 25,30,35,40 degrees field of view (for both negative and positive partic...
unsigned int LastEvNo
Last event no in this second.
unsigned int FirstEvNo
First event nnumber in this second.
unsigned int RunTag
Run tag.
std::array< std::array< float, 2 >, 4 > MaxIGRFCutoff
Max IGRF cutoff within a 25,30,35,40 degrees field of view (for both negative and positive particles)...
float nACC
Average number of ACC sectors.
std::array< std::array< float, nbetabins+1 >, nqbins+1 > nPartBetaRate
Average number of ParticleR object divided by charge and beta.
static const std::array< float, nbetabins+1 > betabins
Bin edges for beta-binned variables.
std::array< float, 16 > TofFlags
Average value of TofFlags.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nTrkInnRate
Average number of TrTrackR object divided by charge and rigidity (inner tracker fit) ...
std::array< float, nqbins+1 > nPartAboveCutoff
Average number of ParticleR objects above cutoff.
float nTrClusterL1X
Average number of TrRawCluster on x side of L1.
float nTrClusterY
Average number of TrRawCluster on y side.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nTrkRate
Average number of TrTrackR object divided by charge and rigidity.
std::array< float, 8 > TrigPhysBPatt
Average fraction of each trigger pattern.
static constexpr unsigned int nqbins
std::array< float, 16 > TrigJMembPatt
Average fraction of each trigger pattern.
float nHWError
Number of events with HW error (from JINJStatus)
float nParticle
Average number of ParticleR objects.
float nTrkInn
Average number of TrTrackR objects with inner fit.
std::array< float, nqbins+1 > nPartBelowCutoff
Average number of ParticleR objects below cutoff.
unsigned int Minute()
Get the current minute [0-59].
float MagAltSphCoo
Magnetic coordinates altitude.
float nTrClusterAvg
Average number of Tracker raw clusters for one event.
float MostProbableHeRig
Most probable He rigidity for this second;.
float LivetimeFraction
Livetime fraction during this second.
float nTRDHits
Average number of total TrdRawHit.
float nEcalShower
Average number of EcalShower objects.
float Phi
Phi (gtod coordinate system) (rad)
float nTrk
Average number of TrTrackR objects with default fit.
float TofRaw_nsumh
High Threshold history.
unsigned int UTCTime
JMDC unix time (seconds since 1 Jan 1970)
float Theta
Theta (gtod coordinate system) (rad)
static constexpr unsigned int nbetabins
bool DSPErrorJINF
Has a DSP error occurred in JINF in this second?
float GalacticLong
Galactic longitude of AMS pointing direction (degrees)
float Zenith
AMS zenith angle (degrees)
std::array< std::array< float, 2 >, 2 > nEventInnerL1L9
Number of events with a track with layer 1 and layer 9 XY hit.
static const std::map< unsigned int, std::pair< float, float > > qbins
Bin edges for charge-binned variables, depending on particle species.
bool DSPError
Has a DSP error occurred in this second?
float nEcalHits
Average number of EcalHit objects.
float MagThetaSphCoo
Magnetic coordinates theta.
float TofRaw_nftdc
Fast Trigger history.
float nEvent
Total number of events in this second.
unsigned int Second()
Get the current second [0-59].
float MagPhiSphCoo
Magnetic coordinates phi.
std::array< float, 19 > TrigRates
Average value of trigger rates.
float nError
Number of missing events due to errors.
float nPartTrk
Average number of ParticleR with Tracker track.
unsigned int DayOfYear()
Get the current day of the year [1-366].
unsigned long long m_processedEvents
std::array< float, 20 > nTRDLayerHits
Average number of TRD hits in each layer.
unsigned int DayOfMonth()
Get the current day of the month [1-31].
int good
0 if good (Thanks, Qi. Very descriptive)
float nTrClusterX
Average number of TrRawCluster on x side.
std::array< std::array< float, 3 >, 2 > MeanAlignDiffExtLayer
mean difference(um) bewteen PG ad CIEMAT alignment of L1 and L9(XYZ)
bool IsInSAA() const
Check if the ISS is in the SAA for this second.
void Dump() const
Dump on screen container content.
float AntiRaw_nftdc
Fast Trigger history.
std::array< std::array< float, 2 >, 2 > MinIGRFCutoff
Min IGRF cutoff within a 25,40 degrees field of view (for both negative and positive particles) ...
float nTofClusterH
Average number of TofClusterH objects.
float nGoodParticle
Average number of "good" ParticleR objects.
float TofRaw_nstdc
Low Threshold history.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nPartRate
Average number of ParticleR object divided by charge and rigidity.
unsigned int Year()
Get the current year.
float AntiRaw_ntdct
Low Threshold history.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nPartInnRate
Average number of ParticleR object divided by charge and rigidity (inner tracker fit) ...
unsigned int Hour()
Get the current hour [0-23].
bool DSPErrorJINJ
Has a DSP error occurred in JINJ in this second?
float nTRDTrack
Average number of TrdTrack objects.
float TofRaw_nsumsh
Super-High Threshold history.
static constexpr unsigned int nrigbins
float nTrClusterL1Y
Average number of TrRawCluster on y side of L1.
float GalacticLat
Galactic latitude of AMS pointing direction (degrees)
static const std::array< float, nrigbins+1 > rigbins
Bin edges for rigidity-binned variables.
Container class for RTI info.
float nRoomError
Average number of room errors.
unsigned int Run
Run number.