![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ZDCANALYSIS_ZDCANALYSISTOOL_H
6 #define ZDCANALYSIS_ZDCANALYSISTOOL_H
41 void initializeDecorations();
45 void initialize80MHz();
46 void initialize40MHz();
47 void initializeTriggerEffs(
unsigned int runNumber);
53 static bool sigprocMaxFinder(
const std::vector<unsigned short>&
adc,
float deltaT,
float& amp,
float&
time,
float&
qual);
54 bool sigprocSincInterp(
const std::vector<unsigned short>&
adc,
float deltaT,
float& amp,
float&
time,
float&
qual);
56 void setEnergyCalibrations(
unsigned int runNumber);
57 void setTimeCalibrations(
unsigned int runNumber);
59 float getModuleSum(
int side);
61 float getCalibModuleSum(
int side);
62 float getCalibModuleSumErr(
int side);
64 float getUncalibModuleSum(
int side);
65 float getUncalibModuleSumErr(
int side);
67 float getAverageTime(
int side);
68 bool sideFailed(
int side);
69 unsigned int getModuleMask();
71 double getTriggerEfficiency(
int side);
72 double getTriggerEfficiencyUncertainty(
int side);
84 std::function<
bool(
int, std::string)> msgFunction = [
this](
int messageZdcLevel,
const std::string&
message)->
bool
87 bool passesStreamOutputLevel = messageAthenaLevel >= this->
msg().level();
88 if (passesStreamOutputLevel) {
91 return passesStreamOutputLevel;
98 if (s_debugLevel > 2) {
99 ATH_MSG_INFO(
"========================================================================================================================");
100 for (
int i = 0;
i < 2;
i++) {
101 for (
int j = 0; j < 4; j++) {
102 ATH_MSG_INFO(
"-------------------------------------------------------------------------------------------------------------------");
104 m_zdcDataAnalyzer->GetPulseAnalyzer(
i, j)->dumpSetting();
107 ATH_MSG_INFO(
"========================================================================================================================");
114 std::unique_ptr<ZDCDataAnalyzer> initializeDefault();
115 std::unique_ptr<ZDCDataAnalyzer> initializePbPb2015G4();
116 std::unique_ptr<ZDCDataAnalyzer> initializepPb2016();
117 std::unique_ptr<ZDCDataAnalyzer> initializePbPb2018();
118 std::unique_ptr<ZDCDataAnalyzer> initializeLHCf2022();
119 std::unique_ptr<ZDCDataAnalyzer> initializepp2023();
120 std::unique_ptr<ZDCDataAnalyzer> initializePbPb2023();
145 this,
"EventInfoKey",
"EventInfo",
146 "Location of the event info."};
229 SG::WriteDecorHandleKey<xAOD::ZdcModuleContainer> m_rpdChannelPileupStretchedExpFitParams{
this,
"RPDChannelPileupStretchedExpFitParams",
"",
"RPD channel pileup stretched exponential fit parameters: exp( [0] + [1]*(sample + 4)**0.5 + [2]*(sample + 4)**-0.5 )"};
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
std::array< std::array< float, 4 >, 2 > ZDCModuleFloatArray
std::array< std::array< int, 4 >, 2 > ZDCModuleIntArray
::StatusCode StatusCode
StatusCode definition for legacy code.
std::function< bool(int, std::string)> MessageFunction
std::shared_ptr< MessageFunction > MessageFunctionPtr
def time(flags, cells_name, *args, **kw)
Define macros for attributes used to control the static checker.
setBGCode setTAP setLVL2ErrorBits bool