Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
21 :
EL::AnaAlgorithm(
name, pSvcLocator),
22 m_grl (
"GoodRunsListSelectionTool/grl", this),
24 m_selTool(
"InDet::InDetTrackSelectionTool/TrackSelectionTool", this )
44 declareProperty(
"grlFilename",
grlFilename =
"$ROOTCOREBIN/data/ZdcNtuple/data16_hip8TeV.periodAllYear_DetStatus-v86-pro20-19_DQDefects-00-02-04_PHYS_HeavyIonP_All_Good.xml",
"comment");
445 const char* fullGRLFilePath = gSystem->ExpandPathName (
grlFilename.c_str());
447 std::vector<std::string> vecStringGRL;
448 vecStringGRL.push_back(fullGRLFilePath);
506 ANA_MSG_INFO(
"Trying to initialize ZDC Analysis Tool!");
516 return StatusCode::SUCCESS;
534 return StatusCode::SUCCESS;
552 ANA_MSG_DEBUG(
"Done w/ extracting InDetTrackParticles with size = " <<
n);
557 bool passTrigger =
true;
624 tree(
"zdcTree" )->Fill();
627 return StatusCode::SUCCESS;
639 for(
int iside : {0,1}){
640 for(
int imod = 0; imod < 7; ++imod){
648 for(
int ch = 0;
ch < 16; ++
ch){
653 for (
size_t iside = 0; iside < 2; iside++)
659 for (
int imod = 0; imod < 4; imod++)
674 for (
int ig=0;ig<2;ig++)
676 for (
int id=0;
id<2;
id++)
678 for (
unsigned int isamp=0;isamp<
nsamplesZdc;isamp++)
690 for (
unsigned int isamp=0;isamp<
nsamplesZdc;isamp++)
699 for (
int ch = 0;
ch < 16;
ch++) {
832 for (
auto const * zdcSum : *zdcSums) {
833 if (zdcSum->zdcSide() == 0) {
847 if (rpdErr||zdcErr)
ANA_MSG_WARNING(
"Decoding errors ZDC=" << zdcErr <<
" RPD=" << rpdErr );
852 for (
const auto zdcSum : *zdcSums)
862 if (zdcSum->zdcSide() > 0) iside = 1;
872 t_ZdcAmp[iside] = UncalibSumAcc(*zdcSum);
876 if (LucrodTriggerSideAmpLGAcc.
isAvailable(*zdcSum))
881 t_ZdcTime[iside] = AverageTimeAcc(*zdcSum);
905 std::vector<float>
const& rpdChannelSubtrAmp = RPDChannelSubtrAmpAcc(*zdcSum);
914 std::vector<float>
const& xRowCentroid = xRowCentroidAcc(*zdcSum);
916 std::vector<float>
const& yColCentroid = yColCentroidAcc(*zdcSum);
926 if (zdcModules.
ptr())
928 for (
const auto zdcMod : *zdcModules)
931 if (zdcMod->zdcSide() > 0) iside = 1;
932 int imod = zdcMod->zdcModule();
936 if(!(imod == 4 && zdcMod->zdcChannel() != 0)){
946 if(imod > 4)
continue;
949 ANA_MSG_VERBOSE (
"Module " << zdcMod->zdcSide() <<
" " << zdcMod->zdcModule() <<
" amp:" << AmplitudeAcc(*zdcMod));
951 if (zdcMod->zdcType() == 0 && !zdcErr)
958 Warning(
"processZdcNtupleFromModules",
"overwriting side %d module %d!", iside, imod);
996 for (
unsigned int isamp = 0; isamp <
nsamplesZdc; isamp++)
1000 t_raw7[iside][imod][0][0][isamp] = g0d0DataAcc(*zdcMod).at(isamp);
1001 t_raw7[iside][imod][0][1][isamp] = g0d1DataAcc(*zdcMod).at(isamp);
1002 t_raw7[iside][imod][1][0][isamp] = g1d0DataAcc(*zdcMod).at(isamp);
1003 t_raw7[iside][imod][1][1][isamp] = g1d1DataAcc(*zdcMod).at(isamp);
1008 t_raw15[iside][imod][0][0][isamp] = g0d0DataAcc(*zdcMod).at(isamp);
1009 t_raw15[iside][imod][0][1][isamp] = g0d1DataAcc(*zdcMod).at(isamp);
1010 t_raw15[iside][imod][1][0][isamp] = g1d0DataAcc(*zdcMod).at(isamp);
1011 t_raw15[iside][imod][1][1][isamp] = g1d1DataAcc(*zdcMod).at(isamp);
1016 t_raw24[iside][imod][0][0][isamp] = g0dataAcc(*zdcMod).at(isamp);
1017 t_raw24[iside][imod][1][0][isamp] = g1dataAcc(*zdcMod).at(isamp);
1022 else if (zdcMod->zdcType() == 1 &&
nsamplesZdc == 24)
1030 std::vector<float>
const &rpdChannelPileupExpFitParams = RPDChannelPileupExpFitParamsAcc(*zdcMod);
1032 std::vector<float>
const &rpdChannelPileupExpFitParamErrs = RPDChannelPileupExpFitParamErrsAcc(*zdcMod);
1034 std::vector<float>
const &rpdChannelPileupStretchedExpFitParams = RPDChannelPileupStretchedExpFitParamsAcc(*zdcMod);
1036 std::vector<float>
const &rpdChannelPileupStretchedExpFitParamErrs = RPDChannelPileupStretchedExpFitParamErrsAcc(*zdcMod);
1053 std::vector<uint16_t>
const &rpdChannelRaw = g0dataAcc(*zdcMod);
1054 std::copy(rpdChannelRaw.begin(), rpdChannelRaw.end(),
t_rpdRaw[iside][zdcMod->zdcChannel()]);
1068 message <<
"Dump zdc_ZdcModuleAmp: ";
1069 for (
int iside = 0; iside < 2; iside++)
1071 for (
int imod = 0; imod < 4; imod++)
1084 if (!mcEventCollection.
isValid()){
1109 for (
unsigned int cntr = 0; cntr < mcEventCollection->
size(); ++cntr){
1110 const HepMC::GenEvent *genEvt = (*mcEventCollection)[cntr];
1112 for (
const auto &
vertex : genEvt->vertices()){
1115 for (
const auto &
vertex : genEvt->vertex_range()){
1116 for (
auto ip =
vertex->particles_in_const_begin();
1117 ip !=
vertex->particles_in_const_end();
1140 bool passTrigger =
false;
1145 for (
int i = 0;
i < 16;
i++)
1153 for (
int i = 0;
i < 16;
i++)
1171 std::string
name = cg->getListOfTriggers().at(0);
1176 bool tav = triggerbits&TrigDefs::L1_isPassedAfterVeto;
1207 if (cg->isPassedBits()&TrigDefs::EF_passedRaw)
1220 if (cg->isPassedBits()&TrigDefs::EF_passedRaw)
1272 <<
", first LB = " << startLB <<
", number of steps = " << nsteps);
1284 ANA_MSG_DEBUG(
"processInDet(): processing tracks & vertices!");
1298 for (
i = 0;
i < 3;
i++)
t_vx[
i] = 0;
1302 size_t pv_index = -1;
1303 size_t vx_index = 0;
1304 float max_pileup_sumpT = 0.;
1305 int max_pileup_nTrack = 0;
1306 float max_pileup_z = 0;
1307 int nStrongPileup = 0;
1332 float vtx_sumpt2 = 0;
1349 std::vector<int16_t> trk_index;
1352 const std::vector< ElementLink< xAOD::TrackParticleContainer > >& vxTrackParticles =
vertex->trackParticleLinks();
1353 for (
size_t itrk = 0; itrk < vxTrackParticles.size(); itrk++)
1356 trk_index.push_back(trkLink.
index());
1366 pv_index = vx_index;
1370 float pileup_sumpT = 0;
1371 int pileup_nTrack = 0;
1372 for (
size_t itr = 0; itr <
vertex->nTrackParticles(); itr++)
1375 if (track_quality != -1 && (track_quality & 128) != 0)
1378 pileup_sumpT +=
vertex->trackParticle(itr)->pt();
1381 if (pileup_sumpT > max_pileup_sumpT)
1383 max_pileup_sumpT = pileup_sumpT;
1384 max_pileup_nTrack = pileup_nTrack;
1385 max_pileup_z =
vertex->z();
1387 if (pileup_sumpT > 5
e3 || pileup_nTrack > 5) nStrongPileup++;
1395 if (primary_vertex !=
nullptr)
1397 t_vx[0] = primary_vertex->
x();
1398 t_vx[1] = primary_vertex->
y();
1399 t_vx[2] = primary_vertex->
z();
1404 for (
size_t i = 0;
i < 6;
i++)
1422 const std::vector< ElementLink< xAOD::TrackParticleContainer > >& vxTrackParticles = primary_vertex->
trackParticleLinks();
1424 for (
size_t itrk = 0; itrk < vxTrackParticles.size(); itrk++)
1427 if (!trkLink.
isValid())
continue;
1486 const std::vector< ElementLink< xAOD::TrackParticleContainer > >& vxTrackParticles =
vertex->trackParticleLinks();
1487 for (
size_t itrk = 0; itrk < vxTrackParticles.size(); itrk++)
1504 if (!
track)
return -1;
1506 bool pass_looseprimary =
false;
1509 pass_looseprimary =
true;
1513 if (pass_looseprimary)
quality += 1;
1585 const std::string
name = SummaryAcc(*calosum);
1608 int layer = eventShape->layer();
1609 float eta = eventShape->etaMin();
1610 float et = eventShape->et();
1617 if (TMath::Abs(
eta) < 2.4)
1648 int etabin =
h_TCSigCut->GetXaxis()->FindBin(
cl->eta());
1649 if (etabin < 1 || etabin >
h_TCSigCut->GetNbinsX())
continue;
1650 float sig_cut =
h_TCSigCut->GetBinContent(etabin);
1654 ANA_MSG_VERBOSE (
"gapclus: etabin " << etabin <<
" sig_cut=" << sig_cut <<
" sig=" <<
sig <<
" samp=" << cl_cell_sig_samp);
1656 if (
sig < sig_cut)
continue;
1660 if (
cl->eta() < eta_min) eta_min =
cl->eta();
1661 if (
cl->eta() > eta_max) eta_max =
cl->eta();
1692 ANA_MSG_INFO(
"processMBTS: Warning: MBTS info empty!");
1695 for (
int iside = 0; iside < 2; iside++)
1697 for (
int iin = 0; iin < 8; iin++)
1704 for (
int iout = 0; iout < 4; iout++)
1724 if (mbtsMod->type() < 0) iside = 0.;
1727 if (mbtsMod->eta() > 3)
1729 phibin = mbtsMod->phi() / (2 * TMath::Pi() / 8.) - 0.4;
1730 iphibin =
static_cast<int>(phibin);
1731 if (iphibin < 0 || iphibin > 7)
1741 phibin = mbtsMod->phi() / (2 * TMath::Pi() / 4.) - 0.24;
1742 iphibin =
static_cast<int>(phibin);
1743 if (iphibin < 0 || iphibin > 3)
1757 const std::vector<float>& energies = mbtsBits->triggerEnergies();
1758 const std::vector<float>&
times = mbtsBits->triggerTimes();
1759 for (
int imbts = 0; imbts < 32; imbts++)
1761 int side = imbts / 16;
1762 int ring = (imbts - 16 *
side) / 8;
1763 bool isInner = (ring == 0);
1764 int index = (imbts - 16 *
side - ring * 8);
1767 if ((
index % 2) != 0)
continue;
1770 int iside = (
side == 0) ? 1 : 0;
1772 ANA_MSG_VERBOSE (
"imbts=" << imbts <<
" isInner=" << isInner <<
" iside=" << iside <<
" index=" <<
index <<
" e=" << energies.at(imbts) <<
" t=" <<
times.at(imbts));
1777 if (TMath::Abs(
times.at(imbts)) < 12.0 && energies.at(imbts) > 40 / 222.)
1819 t_cc_pt.push_back(cluster->pt());
1820 t_cc_eta.push_back(cluster->eta());
1821 t_cc_phi.push_back(cluster->phi());
1822 t_cc_e.push_back(cluster->e());
1828 std::vector<float> energies;
1838 energies.push_back(
e);
1842 float et = cluster->e() / TMath::CosH(cluster->eta());
1851 double cell_sig = 0;
1854 double cell_layer = 0;
1856 t_cc_layer.push_back(
static_cast<int>(cell_layer));
1914 (signbit(
proton->eta())) ?
p_beam.SetPxPyPzE(0.0, 0.0, -6800.0, 6800.0) :
p_beam.SetPxPyPzE(0.0, 0.0, 6800.0,\
1976 std::vector<std::string> rerunTriggers;
1977 bool zdc_triggers =
true;
1986 triggers.push_back(
"HLT_noalg_ZDCPEB_L1LHCF");
1987 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_OR");
1992 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_OR");
1993 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_OR_EMPTY");
1994 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_OR_UNPAIRED_NONISO");
1995 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A_C");
1996 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A_C_EMPTY");
1997 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A_C_UNPAIRED_NONISO");
1998 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A");
1999 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A_EMPTY");
2000 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_A_UNPAIRED_NONISO");
2001 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_C");
2002 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_C_EMPTY");
2003 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_C_UNPAIRED_NONISO");
2010 triggers.push_back(
"HLT_noalg_L1LHCF");
2014 triggers.push_back(
"HLT_noalg_AFPPEB_L1AFP_A");
2015 triggers.push_back(
"HLT_noalg_AFPPEB_L1AFP_C");
2019 triggers.push_back(
"HLT_noalg_ZDCPEB_L1ZDC_OR");
2020 triggers.push_back(
"HLT_noalg_ZDCPEB_L1LHCF");
2021 triggers.push_back(
"HLT_noalg_L1ZDC_OR");
2022 triggers.push_back(
"HLT_noalg_L1ZDC_XOR_E2");
2023 triggers.push_back(
"HLT_noalg_L1ZDC_XOR_E1_E3");
2024 triggers.push_back(
"HLT_noalg_L1ZDC_A_AND_C");
2025 triggers.push_back(
"HLT_mb_sptrk_L1ZDC_OR");
2026 triggers.push_back(
"HLT_mb_sptrk_L1ZDC_XOR_E2");
2027 triggers.push_back(
"HLT_mb_sptrk_L1ZDC_XOR_E1_E3");
2028 triggers.push_back(
"HLT_mb_sptrk_L1ZDC_A_AND_C");
2029 triggers.push_back(
"HLT_mb_sp100_trk30_hmt_L1ZDC_XOR_E2");
2030 triggers.push_back(
"HLT_mb_sp100_trk30_hmt_L1ZDC_XOR_E1_E3");
2031 triggers.push_back(
"HLT_mb_sp100_trk30_hmt_L1ZDC_A_AND_C");
2045 ANA_MSG_INFO(
"setupTriggerHistos(): Trigger found = " << trig.c_str() <<
" bit " <<
ic);
2049 ANA_MSG_INFO(
"setupTriggerHistos(): Trigger NOT found = " << trig.c_str() <<
" bit " <<
ic);
2053 TString bname(trig.c_str());
2063 for (
auto &trig : rerunTriggers)
2069 ANA_MSG_INFO(
"setupTriggerHistos(): Rerun trigger found = " << trig.c_str() <<
" bit " << irc);
2073 ANA_MSG_INFO(
"setupTriggerHistos(): Rerun trigger NOT found = " << trig.c_str() <<
" bit " << irc);
2076 TString bname(trig.c_str());
2085 ANA_MSG_INFO(
"setupTriggerHistos(): Finished setting up trigger");
2092 double deta = std::abs(
eta1 -
eta2);
2093 double dphi = std::abs(phi1 - phi2) < TMath::Pi() ? std::abs(phi1 - phi2) : 2 * TMath::Pi() - std::abs(phi1 - phi2);
2094 return std::sqrt(deta * deta + dphi * dphi);
2111 return StatusCode::SUCCESS;
std::vector< float > t_trk_phi
def retrieve(aClass, aKey=None)
std::vector< float > t_trk_d0
float t_RPDSubtrAmpSum[2]
std::vector< std::vector< float > > proton_track_ySlope
float t_ZdcModuleChisqLGRefit[2][4]
unsigned short t_ZdcLucrodTriggerAmp[2][4]
std::vector< uint8_t > t_trk_nSctHits
float x() const
Returns the x position.
std::vector< float > t_ZdcTruthParticlePosx
float t_RpdChannelPileupStretchedExpFitParamErrs[2][16][3]
uint16_t t_rpdRaw[2][16][24]
std::shared_ptr< ZdcInjPulserAmpMap > m_zdcInjPulserAmpMap
Extra patterns decribing particle interation process.
std::vector< uint8_t > t_trk_ninPixHits
float t_RpdChannelPileupExpFitParamErrs[2][16][2]
float t_ZdcModuleT0LGRefit[2][4]
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
uint16_t t_T2mbts_countCin
size_t nTrackParticles() const
Get the number of tracks associated with this vertex.
std::vector< double > proton_eLoss
float t_ZdcModuleCalibAmp[2][4]
std::vector< int > t_ZdcTruthParticlePid
float t_RpdChannelPileupStretchedExpFitMSE[2][16]
unsigned short t_ZdcLucrodTriggerSideAmpLG[2]
float t_RpdChannelMaxADC[2][16]
uint64_t eventNumber() const
The current event's event number.
std::vector< float > t_cc_raw_eta
unsigned int t_RpdChannelStatus[2][16]
float t_RpdChannelAmplitudeCalib[2][16]
uint16_t t_raw24[2][4][2][2][24]
void writeTrack(const xAOD::TrackParticle *, const xAOD::Vertex *vertex, int)
std::vector< std::vector< float > > proton_track_xLocal
std::vector< uint8_t > t_trk_nPixDead
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
int trackQuality(const xAOD::TrackParticle *tp, const xAOD::Vertex *vertex)
ToolHandle< InDet::IInDetTrackSelectionTool > m_selTool
std::vector< float > t_vtx_x
float t_ZdcModuleT0SubLGRefit[2][4]
float t_T2mbts_out_e[2][4]
virtual StatusCode initialize() override
uint8_t t_zdcEventInfoError
Scalar eta() const
pseudorapidity method
uint16_t t_raw7[2][4][2][2][7]
unsigned int m_lastRunNumber
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
float t_T2mbts_in_e[2][8]
std::vector< uint8_t > t_trk_nTrtOutliers
std::vector< std::vector< int16_t > > t_vtx_trk_index
std::vector< float > t_ZdcTruthParticlePy
std::vector< double > proton_phi
asg::AnaToolHandle< IGoodRunsListSelectionTool > m_grl
const TrackParticleLinks_t & trackParticleLinks() const
Get all the particles associated with the vertex.
unsigned int t_ZdcModuleTruthNphotons[2][7]
std::vector< double > proton_e
float energyT() const
The deposited total transverse energy.
std::vector< uint8_t > t_trk_nTrtHits
std::vector< float > t_trk_theta
std::vector< float > t_trk_z0
std::vector< float > t_vtx_z
Class containing ZDC Module information.
float t_ZdcModuleTruthInvis[2][7]
float t_ZdcModuleTruthTotal[2][7]
bool processTriggerDecision()
std::vector< float > t_trk_eta
const std::vector< uint32_t > & tav() const
Get the Trigger After Veto bits.
bool msgLvl(const MSG::Level lvl) const
std::vector< float > t_vtx_sumpt2_all
float t_reactionPlaneAngle[2]
float t_ZdcModulePreSampleAmp[2][4]
float t_RpdChannelPileupExpFitMSE[2][16]
setEt setPhi setE277 setWeta2 eta1
virtual StatusCode execute() override
float t_RPDChannelSubtrAmp[2][16]
float t_ZdcModuleMaxADCHG[2][4]
float t_ZdcModulePeakADCLG[2][4]
std::vector< float > t_ZdcTruthParticlePosz
std::vector< float > t_vtx_y
uint16_t t_raw15[2][4][2][2][15]
float t_ZdcModulePeakADCHG[2][4]
const std::string & key() const
Return the StoreGate ID for the referenced object.
std::vector< float > t_ZdcTruthParticlePosy
ZdcInjPulserAmpMap::Token m_injMapRunToken
uint32_t timeStampNSOffset() const
Nanosecond time offset wrt. the time stamp.
char t_centroidEventValid
unsigned int zdcLowGainMode
std::vector< std::vector< int > > proton_track_stationID
uint32_t t_timeStampNSOffset
std::vector< int8_t > t_trk_charge
@ LAr
The LAr calorimeter.
float t_ZdcModuleMaxADCLG[2][4]
VxType::VertexType vertexType() const
The type of the vertex.
float t_ZdcModuleAmpError[2][4]
bool isValid() const
Test to see if the link can be dereferenced.
std::vector< const Trig::ChainGroup * > m_chainGroups
std::vector< double > proton_t
std::vector< uint8_t > t_trk_nSctHoles
uint32_t runNumber() const
The current event's run number.
std::vector< int > proton_side
float t_ZdcModulePresample[2][4]
std::vector< float > t_ZdcTruthParticlePz
std::vector< std::vector< float > > proton_track_zLocal
std::vector< float > t_trk_vz
std::vector< float > t_cc_raw_e
std::vector< float > t_trk_e
float t_ZdcModuleCalibTime[2][4]
@ Error
The sub-detector issued an error.
float t_ZdcModuleBkgdMaxFraction[2][4]
std::vector< std::vector< int > > proton_track_nClusters
unsigned short t_ZdcLucrodTriggerAmpLG[2][4]
std::vector< uint8_t > t_trk_inPixHits
float t_xCentroidPreAvgSubtr[2]
const xAOD::MBTSModuleContainer * m_mbtsModules
float t_avgIntPerCrossing
float t_T2mbts_in_t[2][8]
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
float t_yCentroidPreGeomCorPreAvgSubtr[2]
float t_xCentroidPreGeomCorPreAvgSubtr[2]
std::vector< float > t_cc_phi
uint8_t t_zdcDecodingError
float t_RpdChannelPileupExpFitParams[2][16][2]
bool t_rerunDecisions[200]
ZdcNtuple(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< uint8_t > t_trk_nexPixHits
float t_ZdcModuleTime[2][4]
float t_ZdcTruthEscaped[2]
float t_ZdcModuleFitT0[2][4]
std::vector< float > t_cc_raw_phi
unsigned short t_ZdcLucrodTriggerSideAmp[2]
const xAOD::EventInfo * m_eventInfo
::StatusCode StatusCode
StatusCode definition for legacy code.
uint16_t t_T2mbts_countAin
std::vector< float > t_cc_sig
@ CELL_SIG_SAMPLING
CaloSample of the cell with the largest |E|/sig.
std::vector< int16_t > t_vtx_ntrk_all
float t_ZdcModuleChisq[2][4]
uint8_t t_rpdDecodingError
double dR(const double eta1, const double phi1, const double eta2, const double phi2)
uint32_t extendedLevel1ID() const
The extended Level-1 identifier.
float t_xRowCentroid[2][4]
This module defines the arguments passed from the BATCH driver to the BATCH worker.
void processMCEventCollection()
uint32_t t_zdcEventInfoErrorWord
float t_ZdcModuleTruthNonEM[2][7]
const xAOD::TrigT2MbtsBitsContainer * m_trigT2MbtsBits
void processZdcNtupleFromModules()
std::vector< float > t_cc_e
float z() const
Returns the z position.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::ReadHandleKey< McEventCollection > m_mcEventCollectionName
std::vector< int16_t > t_vtx_ntrk
std::vector< float > t_trk_vtxz
float t_ZdcModuleAmpLGRefit[2][4]
uint32_t lumiBlock() const
The current event's luminosity block number.
unsigned int t_RpdModuleTruthNphotons[2][16]
@ ForwardDet
The forward detectors.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
std::vector< float > t_trk_pt
float t_RpdChannelMaxADCCalib[2][16]
unsigned int t_ZdcModuleMask
const xAOD::TrackParticleContainer * m_trackParticles
const xAOD::VertexContainer * m_primaryVertices
void fill(H5::Group &out_file, size_t iterations)
const xAOD::AFPProtonContainer * m_afpProtons
std::vector< float > t_cc_raw_m
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
std::vector< int > t_cc_layer
uint32_t t_extendedLevel1ID
float t_ZdcModuleFitAmp[2][4]
unsigned int t_ZdcModuleStatus[2][4]
float t_ZdcModuleTruthEM[2][7]
std::vector< uint8_t > t_trk_exPixHits
const xAOD::TrigDecision * m_trigDecision
std::vector< int > t_ZdcTruthParticleStatus
std::vector< float > t_vtx_sumpt2
unsigned int t_RpdSideStatus[2]
const xAOD::EnergySumRoI * m_lvl1EnergySumRoI
const_pointer_type ptr()
Dereference the pointer.
char bgCode() const
Get the bunch group code of the current event.
PublicToolHandle< Trig::TrigDecisionTool > m_trigDecisionTool
std::vector< uint8_t > t_trk_nPixHits
bool t_centroidDecorationsAvailable
float t_ZdcModuleAmp[2][4]
std::vector< float > t_trk_pixeldEdx
float t_RpdChannelBaseline[2][16]
@ pixeldEdx
the dE/dx estimate, calculated using the pixel clusters [?]
uint32_t eventFlags(EventFlagSubDet subDet) const
Get the event flags for a particular sub-detector.
@ Tile
The Tile calorimeter.
const xAOD::ForwardEventInfoContainer * m_mbtsInfo
float t_T2mbts_out_t[2][4]
float t_RpdChannelAmplitude[2][16]
Class describing a Vertex.
float t_ZdcModuleTruthEscaped[2][7]
float t_ZdcModuleMaxADC[2][4]
const xAOD::HIEventShapeContainer * m_eventShapes
float t_yColCentroid[2][4]
const xAOD::HIEventShapeContainer * m_caloSums
float y() const
Returns the y position.
float t_yCentroidPreAvgSubtr[2]
index_type index() const
Get the index of the element inside of its container.
unsigned int t_RpdChannelMaxSample[2][16]
std::vector< float > t_cc_pt
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
std::vector< double > proton_eta
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
std::vector< float > t_ZdcTruthParticleEnergy
bool isEventFlagBitSet(EventFlagSubDet subDet, size_t bit) const
Check one particular bit of one particular sub-detector.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
asg::AnaToolHandle< ZDC::IZdcAnalysisTool > m_zdcAnalysisTool
const std::vector< uint32_t > & tbp() const
Get the Trigger Before Prescale bits.
std::vector< double > proton_pt
float t_cosDeltaReactionPlaneAngle
float t_ZdcModuleMinDeriv2nd[2][4]
std::vector< std::vector< float > > proton_track_xSlope
void setupTriggerHistos()
std::vector< float > t_ZdcTruthParticlePx
@ CELL_SIGNIFICANCE
Cell significance = E/sig of the cell with the largest |E|/sig.
Class describing a TrackParticle.
const T * at(size_type n) const
Access an element, as an rvalue.
unsigned int t_centroidStatus[2]
Helper class to provide constant type-safe access to aux data.
virtual StatusCode finalize() override
std::vector< std::string > getListOfTriggers() const
const xAOD::CaloClusterContainer * m_caloClusters
float t_RpdChannelPileupStretchedExpFitParams[2][16][3]
uint32_t bcid() const
The bunch crossing ID of the event.
std::vector< uint8_t > t_trk_nPixHoles
std::vector< int > t_trk_index
float t_ZdcModuleAmpCorrLGRefit[2][4]
std::vector< std::vector< float > > t_cc_raw_samp
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
std::vector< const Trig::ChainGroup * > m_rerunChainGroups
size_type size() const noexcept
Returns the number of elements in the collection.
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
Define enumerations for event-level ZDC data.
@ Core
Core flags describing the event.
float t_RpdChannelPileupFrac[2][16]
float t_actIntPerCrossing
std::vector< int > t_vx_trk_index
TTree * tree(const std::string &treeName, const std::string &tDir="", const std::string &stream="")
Simplify the retrieval of registered TTrees.
std::vector< int16_t > t_trk_quality
std::vector< float > t_cc_eta
std::vector< int8_t > t_vtx_type
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.
std::vector< float > t_ZdcTruthParticleTime
std::vector< uint8_t > t_trk_nSctDead
std::vector< std::vector< float > > proton_track_yLocal