|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ZDCMONITORALGORITHM_H
6 #define ZDCMONITORALGORITHM_H
41 Gaudi::Property<std::string>
m_zdcModuleContainerName {
this,
"ZdcModuleContainerName",
"ZdcModules",
"Location of ZDC processed data"};
42 Gaudi::Property<std::string>
m_zdcSumContainerName {
this,
"ZdcSumContainerName",
"ZdcSums",
"Location of ZDC processed sums"};
43 Gaudi::Property<std::string>
m_auxSuffix{
this,
"AuxSuffix",
"",
"Append this tag onto end of AuxData"};
45 Gaudi::Property<float>
m_expected1N{
this,
"Expected1NADC", 1000.,
"Expected 1N position in ADC"};
47 Gaudi::Property<float>
m_energyCutForModuleFractMonitor{
this,
"EnergyCutForModuleFractMonitor", 13400.,
"Minimum energy sum required on each side for event to enter module fraction monitoring (default at 5 * 2680 GeV)"};
48 Gaudi::Property<float>
m_ZDCEnergyCutForCentroidValidBitMonitor{
this,
"ZDCEnergyCutForCentroidValidBitMonitor", 13400.,
"Minimum energy required in ZDC for event to enter centroid valid bit monitoring (default at 5 * 2680 GeV)"};
50 Gaudi::Property<float>
m_moduleChisqHistMinValue{
this,
"ZDCModuleChisqHistMinValue", 1000.,
"Min value for logarithmic binning for ZDC module chisq distribution"};
51 Gaudi::Property<float>
m_moduleChisqHistMaxvalue{
this,
"ZDCModuleChisqHistMaxvalue", 1000.,
"Max value for logarithmic binning for ZDC module chisq distribution"};
52 Gaudi::Property<float>
m_moduleChisqHistNumBins{
this,
"ZDCModuleChisqHistNumBins", 1000.,
"Number of bins for logarithmic binning for ZDC module chisq distribution"};
53 Gaudi::Property<float>
m_moduleChisqOverAmpHistMinValue{
this,
"ZDCModuleChisqOverAmpHistMinValue", 1000.,
"Min value for logarithmic binning for ZDC module chisq over amplitude distribution"};
54 Gaudi::Property<float>
m_moduleChisqOverAmpHistMaxvalue{
this,
"ZDCModuleChisqOverAmpHistMaxvalue", 1000.,
"Max value for logarithmic binning for ZDC module chisq over amplitude distribution"};
55 Gaudi::Property<float>
m_moduleChisqOverAmpHistNumBins{
this,
"ZDCModuleChisqOverAmpHistNumBins", 1000.,
"Number of bins for logarithmic binning for ZDC module chisq over amplitude distribution"};
58 Gaudi::Property<std::string>
m_triggerSideA{
this,
"triggerSideA",
"L1_ZDC_A",
"Trigger on side A, needed for 1N-peak monitoring on side C"};
59 Gaudi::Property<std::string>
m_triggerSideC{
this,
"triggerSideC",
"L1_ZDC_C",
"Trigger on side C, needed for 1N-peak monitoring on side A"};
84 Gaudi::Property<bool>
m_isOnline {
this,
"IsOnline",
false};
138 "RPD channel pileup exponential fit parameters: exp( [0] + [1]*sample )"};
141 "RPD channel pileup as fraction of total (nominal baseline-subtracted) sum ADC"};
144 "RPD channel subtracted amplitudes (tile mass) used in centroid calculation"};
147 "Sum of RPD channel subtracted amplitudes (total mass) used in centroid calculation"};
150 "X centroid after geometry corrections and after average centroid subtraction"};
153 "Y centroid after geometry corrections and after average centroid subtraction"};
157 "Reaction plane angle in [-pi, pi) from the positive x axis (angle of centorid on side C, angle of centroid + pi on side A)"};
160 "Cosine of the difference between the reaction plane angles of the two sides"};
163 "Centroid status word"};
166 "Centroid status word"};
StatusCode fillPhysicsDataHistograms(const EventContext &ctx) const
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcSumAverageTimeKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleChisqKey
Gaudi::Property< float > m_ZDCEnergyCutForCentroidValidBitMonitor
Gaudi::Property< std::string > m_zdcSumContainerName
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Gaudi::Property< float > m_moduleChisqHistMaxvalue
std::map< std::string, std::map< std::string, int > > m_RPDChannelToolIndices
static const int m_nRpdStatusBits
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDSideStatusKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcSumUncalibSumKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleT0SubLGRefitKey
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelPileupFracKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDyCentroidKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelAmplitudeCalibKey
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleContainerKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleFitT0Key
Gaudi::Property< bool > m_isOnline
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleChisqLGRefitKey
Gaudi::Property< std::string > m_zdcModuleContainerName
Gaudi::Property< bool > m_isPPMode
Gaudi::Property< float > m_moduleChisqHistMinValue
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleAmpLGRefitKey
static const int m_nSides
Gaudi::Property< bool > m_enableCentroid
float calculate_inverse_bin_width(float event_value, std::string variable_name, const std::vector< float > &bin_edges) const
std::vector< float > m_ZdcModuleChisqOverAmpBinEdges
Gaudi::Property< std::string > m_triggerSideA
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelMaxADCKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleCalibTimeKey
Base class for Athena Monitoring Algorithms.
Gaudi::Property< std::string > m_triggerSideC
std::shared_ptr< ZdcInjPulserAmpMap > m_zdcInjPulserAmpMap
Gaudi::Property< float > m_expected1N
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_HIEventShapeContainerKey
Gaudi::Property< float > m_moduleChisqOverAmpHistMaxvalue
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDSubtrAmpSumKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleStatusKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDxCentroidKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_DAQModeKey
static const int m_nModules
Gaudi::Property< bool > m_enableRPD
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcSumModuleMaskKey
Gaudi::Property< bool > m_CalInfoOn
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelStatusKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelSubtrAmpKey
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelMaxSampleKey
Gaudi::Property< bool > m_enableZDC
virtual ~ZdcMonitorAlgorithm()
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelAmplitudeKey
Gaudi::Property< bool > m_isStandalone
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleCalibEnergyKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDChannelPileupExpFitParamsKey
Gaudi::Property< std::string > m_auxSuffix
SG::ReadHandleKey< xAOD::ZdcModuleContainer > m_ZdcSumContainerKey
static const int m_nRpdCentroidStatusBits
Header file to be included by clients of the Monitored infrastructure.
Gaudi::Property< bool > m_enableRPDAmp
std::map< std::string, int > m_ZDCSideToolIndices
std::map< std::string, std::map< std::string, int > > m_ZDCModuleToolIndices
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleT0LGRefitKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_eventTypeKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleTimeKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleMaxADCKey
ZdcMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcModuleAmplitudeKey
virtual StatusCode initialize() override
initialize
Gaudi::Property< float > m_moduleChisqHistNumBins
static const int m_nChannels
Gaudi::Property< float > m_moduleChisqOverAmpHistMinValue
Gaudi::Property< float > m_moduleChisqOverAmpHistNumBins
std::vector< float > m_ZdcModuleChisqBinEdges
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDreactionPlaneAngleKey
Gaudi::Property< bool > m_isInjectedPulse
Handle class for reading a decoration on an object.
void calculate_log_bin_edges(float min_value, float max_value, int num_bins, std::vector< float > &bin_edges)
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDcosDeltaReactionPlaneAngleKey
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_ZdcSumCalibEnergyKey
Define enumerations for event-level ZDC data.
Gaudi::Property< bool > m_enableTrigger
Gaudi::Property< bool > m_enableZDCPhysics
SG::ReadDecorHandleKey< xAOD::ZdcModuleContainer > m_RPDcentroidStatusKey
static const int m_nDecodingErrorBits
static const int m_nZdcStatusBits
Gaudi::Property< float > m_energyCutForModuleFractMonitor