|
ATLAS Offline Software
|
Go to the documentation of this file.
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
79 bool passesStreamOutputLevel = messageAthenaLevel >= this->
msg().level();
80 if (passesStreamOutputLevel) {
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"};
108 bool m_writeAux{
false};
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"};
125 unsigned int m_HGADCOverflow{4095};
126 unsigned int m_numSamples{24};
127 unsigned int m_preSample{0};
128 float m_deltaTSample{3.125};
129 unsigned int m_sampleAnaStartZDC{0};
130 unsigned int m_sampleAnaEndZDC{23};
131 unsigned int m_sampleAnaStartRPD{0};
132 unsigned int m_sampleAnaEndRPD{23};
134 float m_ZdcLowGainScale{10};
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"};
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
char data[hepevt_bytes_allocation_ATLAS]
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Class containing ZDC Module information.
unsigned int getPresampleADC() const
::StatusCode StatusCode
StatusCode definition for legacy code.
unsigned int m_presampleADC
std::function< bool(int, std::string)> MessageFunction
unsigned int getMaxSample() const
std::shared_ptr< MessageFunction > MessageFunctionPtr
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Define macros for attributes used to control the static checker.
setBGCode setTAP setLVL2ErrorBits bool
ZDCLEDModuleResults(unsigned int presampleADC, unsigned int ADCsum, unsigned int maxADC, unsigned int maxSample, float avgTime)
Define enumerations for event-level ZDC data.