72 return StatusCode::SUCCESS;
80 return StatusCode::SUCCESS;
94 tree(
"lisTree")->Fill();
97 return StatusCode::SUCCESS;
118 for (
int isam = 0; isam <
nSamples; isam++)
140 if (zdcModules.
ptr())
142 for (
const auto zdcMod : *zdcModules)
147 for (
const auto zdcSum : *zdcSums)
167 if (zdcMod->zdcSide() == 0)
174 if(zdcMod->zdcSide() > 0){
178 int ichan = zdcMod->zdcChannel();
187 ANA_MSG_VERBOSE(
"LIS Module side " << zdcMod->zdcSide() <<
" channel " << ichan);
192 ANA_MSG_WARNING(
"Missing LIS aux data for side " << zdcMod->zdcSide() <<
" channel " << ichan);
207 const std::vector<uint16_t> &g1dataVec = g1dataAccessor(*zdcMod);
208 for (
int isam = 0; isam < nSamples && isam < static_cast<int>(g1dataVec.size()); isam++)
217 const std::vector<uint16_t> &g0dataVec = g0dataAccessor(*zdcMod);
218 for (
int isam = 0; isam < nSamples && isam < static_cast<int>(g0dataVec.size()); isam++)
241 for (
const auto zdcSum : *zdcSums) {
244 const std::vector<uint16_t>& rodBCID = rodBCIDAcc(*zdcSum);
245 if (!rodBCID.empty()) {
274 return StatusCode::SUCCESS;
292 <<
", first LB = " << startLB <<
", number of steps = " << nsteps);
Helper class to provide constant type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
ServiceHandle< StoreGateSvc > & evtStore()
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
uint32_t t_timeStampNSOffset
float t_LISPresample[nLISChannels]
int t_LISADCSum[nLISChannels]
void processLisNtupleFromModules()
static constexpr int LISTypeInd
unsigned int t_LISMaxSample[nLISChannels]
float t_actIntPerCrossing
const xAOD::EventInfo * m_eventInfo
virtual StatusCode execute() override
static constexpr int infoSumInd
static constexpr int LISModuleInd
virtual StatusCode initialize() override
uint32_t t_extendedLevel1ID
static constexpr int nSamples
float t_avgIntPerCrossing
uint16_t t_LISRawdata[nLISChannels][nSamples]
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcSumContainerName
virtual StatusCode finalize() override
ZdcInjPulserAmpMap::Token m_injMapRunToken
unsigned int m_lastRunNumber
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_zdcModuleContainerName
float t_LISAvgTime[nLISChannels]
LisNtuple(const std::string &name, ISvcLocator *pSvcLocator)
int t_LISMaxADC[nLISChannels]
static constexpr int nLISChannels
std::unique_ptr< ZdcInjPulserAmpMap > m_zdcInjPulserAmpMap
Helper class to provide type-safe access to aux data.
Helper class to provide constant type-safe access to aux data.
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
const_pointer_type ptr()
Dereference the pointer.
This module defines the arguments passed from the BATCH driver to the BATCH worker.