|
ATLAS Offline Software
|
Go to the documentation of this file.
16 :
EL::AnaAlgorithm(
name, pSvcLocator)
69 return StatusCode::SUCCESS;
77 return StatusCode::SUCCESS;
88 tree(
"zdcLEDTree")->Fill();
92 return StatusCode::SUCCESS;
103 for (
size_t iside = 0; iside <
nSides; iside++)
105 for (
int imod = 0; imod <
nZDC; imod++)
113 for (
int isam = 0; isam <
nSamples; isam++)
119 for (
int imod = 0; imod <
nRPD; imod++)
140 if (zdcModules.
ptr())
143 for (
const auto zdcMod : *zdcModules)
149 for (
const auto zdcSum : *zdcSums)
167 if (zdcMod->zdcSide() != 0)
170 if (zdcMod->zdcSide() > 0)
173 ANA_MSG_VERBOSE(
"Module " << zdcMod->zdcSide() <<
" " << zdcMod->zdcModule());
176 int imod = zdcMod->zdcModule();
191 for (
int isam = 0; isam <
nSamples; isam++)
199 int imod = zdcMod->zdcChannel();
213 for (
int isam = 0; isam <
nSamples; isam++)
246 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual StatusCode initialize() override
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
unsigned int t_ZdcModuleMaxSample[nSides][nZDC]
uint64_t eventNumber() const
The current event's event number.
static constexpr int nSamples
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
const xAOD::EventInfo * m_eventInfo
int t_RPDModuleADCSum[nSides][nRPD]
static constexpr int RPDModuleInd
static constexpr int nZDC
int t_RPDModuleMaxADC[nSides][nRPD]
static constexpr int nRPD
int t_ZdcModuleADCSum[nSides][nZDC]
uint32_t timeStampNSOffset() const
Nanosecond time offset wrt. the time stamp.
uint32_t runNumber() const
The current event's run number.
ZdcLEDNtuple(const std::string &name, ISvcLocator *pSvcLocator)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
static constexpr int infoSumInd
float t_RPDModulePresample[nSides][nRPD]
::StatusCode StatusCode
StatusCode definition for legacy code.
float t_RPDModuleAvgTime[nSides][nRPD]
uint32_t extendedLevel1ID() const
The extended Level-1 identifier.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
unsigned int t_RPDModuleMaxSample[nSides][nRPD]
float t_actIntPerCrossing
float t_ZdcModulePresample[nSides][nZDC]
uint32_t lumiBlock() const
The current event's luminosity block number.
float t_avgIntPerCrossing
uint32_t t_extendedLevel1ID
float averageInteractionsPerCrossing() const
Average interactions per crossing for all BCIDs - for out-of-time pile-up.
std::vector< uint16_t > g0dataVec
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
int t_ZdcModuleMaxADC[nSides][nZDC]
const_pointer_type ptr()
Dereference the pointer.
uint16_t t_ZdcModuleg1data[nSides][nZDC][nSamples]
uint16_t t_RPDModuleRawdata[nSides][nRPD][nSamples]
uint16_t t_ZdcModuleg0data[nSides][nZDC][nSamples]
virtual StatusCode execute() override
static constexpr int ZdcTypeInd
uint32_t timeStamp() const
POSIX time in seconds from 1970. January 1st.
uint32_t t_timeStampNSOffset
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Helper class to provide constant type-safe access to aux data.
uint32_t bcid() const
The bunch crossing ID of the event.
float t_ZdcModuleAvgTime[nSides][nZDC]
static constexpr int RPDTypeInd
static constexpr int nSides
std::vector< uint16_t > g1dataVec
void processZdcLEDNtupleFromModules()
TTree * tree(const std::string &treeName, const std::string &tDir="", const std::string &stream="")
Simplify the retrieval of registered TTrees.
float actualInteractionsPerCrossing() const
Average interactions per crossing for the current BCID - for in-time pile-up.
virtual StatusCode finalize() override