Go to the documentation of this file.
11 #ifdef ENABLE_PRODUCTION_CODE
12 #include "root_setup.h"
58 [[nodiscard]]
bool IsInSAA()
const;
62 static constexpr
unsigned int nqbins = 9;
165 #ifdef ENABLE_PRODUCTION_CODE
166 void Fill(AMSSetupR::RTI *rtiPtr,
unsigned int runTag);
167 void AccumulateEventVariables(AMSEventR *evPtr);
168 void FillEventVariables();
171 static const std::array<float, nrigbins + 1>
rigbins;
172 static const std::array<float, nbetabins + 1>
betabins;
175 static const std::map<unsigned int, std::pair<float, float>>
qbins;
178 static constexpr
double Re = 6371.2e5;
std::array< float, 16 > TrigJMembPatt
Average fraction of each trigger pattern.
float TofRaw_nsumsh
Super-High Threshold history.
float nPartTrkInn
Average number of ParticleR with InnerTracker track.
float nTrClusterY
Average number of TrRawCluster on y side.
bool IsInSAA() const
Check if the ISS is in the SAA for this second.
float nTrigger
Number of events with trigger in this second.
static constexpr unsigned int nbetabins
unsigned int Year()
Get the current year.
float MagAltSphCoo
Magnetic coordinates altitude.
float nTrClusterL1Y
Average number of TrRawCluster on y side of L1.
std::array< std::array< float, 2 >, 2 > nEventInnerL1L9
Number of events with a track with layer 1 and layer 9 XY hit.
unsigned int Hour()
Get the current hour [0-23].
static constexpr unsigned int nqbins
unsigned int Second()
Get the current second [0-59].
float nRoomError
Average number of room errors.
float nTrk
Average number of TrTrackR objects with default fit.
static constexpr double Re
float nTRDHits
Average number of total TrdRawHit.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nTrkInnRate
Average number of TrTrackR object divided by charge and rigidity (inner tracker fit)
unsigned int Month()
Get the current month [1-12].
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nTrkRate
Average number of TrTrackR object divided by charge and rigidity.
float nError
Number of missing events due to errors.
float TofRaw_nsumh
High Threshold history.
std::array< float, nqbins+1 > nPartBelowCutoff
Average number of ParticleR objects below cutoff.
unsigned int Minute()
Get the current minute [0-59].
unsigned int DayOfMonth()
Get the current day of the month [1-31].
std::array< float, 16 > TofFlags
Average value of TofFlags.
float MostProbableHeRig
Most probable He rigidity for this second;.
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?
void Clear()
Clear container content.
float AntiRaw_ntdct
Low Threshold history.
void Dump() const
Dump on screen container content.
float Altitude
Altitude (gtod coordinate system) (cm)
float nHWError
Number of events with HW error (from JINJStatus)
float MagPhiSphCoo
Magnetic coordinates phi.
float nTrClusterX
Average number of TrRawCluster on x side.
float Phi
Phi (gtod coordinate system) (rad)
float nEcalHits
Average number of EcalHit objects.
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...
float Theta
Theta (gtod coordinate system) (rad)
float nEcalShower
Average number of EcalShower objects.
float Zenith
AMS zenith angle (degrees)
std::array< float, 8 > TrigPhysBPatt
Average fraction of each trigger pattern.
float nTrClusterL1X
Average number of TrRawCluster on x side of L1.
float nPartTrk
Average number of ParticleR with Tracker track.
float Roll
ISS roll angle (rad)
int good
0 if good (Thanks, Qi. Very descriptive)
float Yaw
ISS yaw angle (rad)
bool DSPErrorJINF
Has a DSP error occurred in JINF in this second?
unsigned int RunTag
Run tag.
float TofRaw_nftdc
Fast Trigger history.
std::array< std::array< float, 3 >, 2 > MeanAlignDiffExtLayer
mean difference(um) bewteen PG ad CIEMAT alignment of L1 and L9(XYZ)
static const std::array< float, nrigbins+1 > rigbins
Bin edges for rigidity-binned variables.
bool DSPErrorJINJ
Has a DSP error occurred in JINJ in this second?
float Velocity_theta
ISS angular velocity theta component (rad)
float I
Second magnetic adiabatic invariant (km)
float nTrkInn
Average number of TrTrackR objects with inner fit.
float LivetimeFraction
Livetime fraction during this second.
float nParticle
Average number of ParticleR objects.
static const std::array< float, nbetabins+1 > betabins
Bin edges for beta-binned variables.
float nTrClusterAvg
Average number of Tracker raw clusters for one event.
float GalacticLat
Galactic latitude of AMS pointing direction (degrees)
float nTofClusterH
Average number of TofClusterH objects.
float nGoodParticle
Average number of "good" ParticleR objects.
unsigned long long m_processedEvents
static constexpr unsigned int nrigbins
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nPartRate
Average number of ParticleR object divided by charge and rigidity.
float Bm
Mirror magnetic field in nT.
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 AntiRaw_nftdc
Fast Trigger history.
float nEvent
Total number of events in this second.
Container class for RTI info.
std::array< std::array< float, 3 >, 2 > nEventInnerL1L9Int90
Number of events with a track with layer 1 and layer 9 XY hit integrated in a 90-second window (see h...
unsigned int LastEvNo
Last event no in this second.
unsigned int UTCTime
JMDC unix time (seconds since 1 Jan 1970)
float nEventParticle
Number of events with tof+trd+tracker+ecal data.
float MagThetaSphCoo
Magnetic coordinates theta.
float nTRDHitAvg
Average number of TRD raw hits for one event.
bool DSPErrorJLV1
Has a DSP error occurred in JLV1 in this second?
float Velocity_s
ISS angular velocity magnitude (rad/s)
std::array< std::array< float, nbetabins+1 >, nqbins+1 > nPartBetaRate
Average number of ParticleR object divided by charge and beta.
std::array< float, 19 > TrigRates
Average value of trigger rates.
unsigned int FirstEvNo
First event nnumber in this second.
std::array< std::array< float, nrigbins+1 >, nqbins+1 > nPartInnRate
Average number of ParticleR object divided by charge and rigidity (inner tracker fit)
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)
std::array< double, 3 > IGRFMagField
Geomagnetic field estimated from IGRF13 model in nT.
float nACC
Average number of ACC sectors.
float BEq
Equatorial magnetic field in nT.
unsigned int Run
Run number.
std::array< float, nqbins+1 > nPartAboveCutoff
Average number of ParticleR objects above cutoff.
unsigned int DayOfYear()
Get the current day of the year [1-366].
float TofRaw_nstdc
Low Threshold history.
float nTRDTrack
Average number of TrdTrack objects.
float Velocity_phi
ISS angular phi component (rad)
std::array< float, 20 > nTRDLayerHits
Average number of TRD hits in each layer.
float Pitch
ISS pitch angle (rad)
float GalacticLong
Galactic longitude of AMS pointing direction (degrees)