5#ifndef ZDCANALYSIS_ZDCLEDANALYSISTOOL_H
6#define ZDCANALYSIS_ZDCLEDANALYSISTOOL_H
35 ZDCLEDModuleResults(
unsigned int presampleADC,
unsigned int ADCsum,
unsigned int maxADC,
unsigned int maxSample,
float avgTime) :
76 std::function<bool(
int, std::string)> msgFunction = [
this](
int messageZdcLevel,
const std::string& message)->
bool
78 MSG::Level messageAthenaLevel =
static_cast<MSG::Level
>(messageZdcLevel);
79 bool passesStreamOutputLevel = messageAthenaLevel >= this->
msg().level();
80 if (passesStreamOutputLevel) {
81 this->
msg(messageAthenaLevel) << message <<
endmsg;
83 return passesStreamOutputLevel;
93 void initialize_ppPbPb2023();
94 void initialize_ppALFA2023();
95 void initialize_zdcStandalone();
100 unsigned int startSample,
unsigned int endSample,
float gainScale);
107 Gaudi::Property<std::string>
m_configuration{
this,
"Configuration",
"ppPbPb2023",
"Which config files to use"};
110 Gaudi::Property<std::string>
m_auxSuffix{
this,
"AuxSuffix",
"",
"Append this tag onto end of AuxData"};
114 Gaudi::Property<bool>
m_doRPD{
this,
"doRPD",
true,
"Process RPD Data?"};
115 Gaudi::Property<bool>
m_doZDC{
this,
"doZDC",
true,
"Process ZDC Data?"};
122 const std::vector<std::string>
m_LEDNames = {
"Blue1",
"Green",
"Blue2"};
123 const std::vector<std::string>
m_calreqNames = {
"CalReq1",
"CalReq2",
"CalReq3"};
138 Gaudi::Property<std::string>
m_zdcModuleContainerName {
this,
"ZdcModuleContainerName",
"ZdcModules",
"Location of ZDC processed data"};
140 Gaudi::Property<std::string>
m_zdcSumContainerName {
this,
"ZdcSumContainerName",
"ZdcSums",
"Location of ZDC processed sums"};
146 this,
"EventInfoKey",
"EventInfo",
"Location of the event info."};
149 this,
"ZdcEventTypeKey",
"",
"ZDC Event type"};
152 this,
"ROBBCIDKey",
"",
"BCID from LUCROD ROB headers"};
155 this,
"ZdcDAQModeKey",
"",
"ZDC DAQ mode"};
char data[hepevt_bytes_allocation_ATLAS]
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
unsigned int m_presampleADC
ZDCLEDModuleResults(unsigned int presampleADC, unsigned int ADCsum, unsigned int maxADC, unsigned int maxSample, float avgTime)
unsigned int getMaxSample() const
unsigned int getPresampleADC() const
std::function< bool(int, std::string)> MessageFunction
std::shared_ptr< MessageFunction > MessageFunctionPtr
ZdcModuleContainer_v1 ZdcModuleContainer