ATLAS Offline Software
LArPhysWavePredictor.h
Go to the documentation of this file.
1 //Dear emacs, this is -*- c++ -*-
2 
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 
8 #ifndef LARPHYSWAVEPREDICTOR_H
9 #define LARPHYSWAVEPREDICTOR_H
10 
17 
18 #include <vector>
19 #include <string>
20 
22 
23 
24 class LArOnlineID_Base;
25 
27 {
28  public:
29  LArPhysWavePredictor(const std::string & name, ISvcLocator * pSvcLocator);
30 
32 
34  StatusCode execute() {return StatusCode::SUCCESS;}
35  StatusCode stop();
36  StatusCode finalize(){return StatusCode::SUCCESS;}
37 
38  private:
39 
40  SG::ReadCondHandleKey<LArBadChannelCont> m_BCKey {this, "BadChanKey", "LArBadChannel", "SG key for LArBadChan object"};
41  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
42  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKeySC{this,"ScCablingKey","LArOnOffIdMapSC","SG Key of SC LArOnOffIdMapping object"};
43 
45  Gaudi::Property<std::vector<std::string> > m_problemsToMask{this,"ProblemsToMask",{}, "Bad-Channel categories to mask"};
46 
47 
48  const LArOnlineID_Base* m_onlineHelper=nullptr;
49  const CaloCell_Base_ID* m_caloCellId=nullptr;
50  bool m_testmode;
54  bool m_isSC;
55 
56  std::vector<std::string> m_keyCali;
57  std::string m_keyPhys;
58  std::string m_keyMphysMcali;
59  std::string m_keyIdealPhys;
60  std::string m_keyFcal;
61 
62  std::string m_groupingType;
63 
65  double m_Tcali;
66  double m_Fstep;
67 
69  double m_Omega0;
70  double m_Taur;
71 
72  bool m_isHEC;
73 
75  std::vector<double> m_Tdrift ;
77  std::vector<double> m_Tdrift2 ;
78  std::vector<double> m_wTriangle2 ;
79 
84  std::vector<unsigned int> m_TshiftLayer ;
87 
88 
89  void notFoundMsg(const HWIdentifier chid, const int gain, const char* value);
90 };
91 
92 #endif
LArPhysWavePredictor::m_timeShiftGuardRegion
int m_timeShiftGuardRegion
Definition: LArPhysWavePredictor.h:86
LArPhysWavePredictor::m_Fstep
double m_Fstep
Definition: LArPhysWavePredictor.h:66
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition: checker_macros.h:212
LArPhysWavePredictor::m_Taur
double m_Taur
Definition: LArPhysWavePredictor.h:70
initialize
void initialize()
Definition: run_EoverP.cxx:894
LArPhysWavePredictor::m_useJOPhysCaliTdiff
bool m_useJOPhysCaliTdiff
Definition: LArPhysWavePredictor.h:80
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:110
athena.value
value
Definition: athena.py:122
LArPhysWavePredictor::m_groupingType
std::string m_groupingType
Definition: LArPhysWavePredictor.h:62
PixelModuleFeMask_create_db.stop
int stop
Definition: PixelModuleFeMask_create_db.py:76
HWIdentifier
Definition: HWIdentifier.h:13
LArPhysWavePredictor::m_timeShiftByFEB
bool m_timeShiftByFEB
Definition: LArPhysWavePredictor.h:85
LArPhysWavePredictor::m_wTriangle2
std::vector< double > m_wTriangle2
Definition: LArPhysWavePredictor.h:78
LArPhysWavePredictor::m_normalizeCali
bool m_normalizeCali
Definition: LArPhysWavePredictor.h:53
AthAlgorithm.h
LArPhysWavePredictor::m_isHEC
bool m_isHEC
Definition: LArPhysWavePredictor.h:72
LArBadChannelCont.h
LArPhysWavePredictor::m_useJODetCellParams
bool m_useJODetCellParams
Definition: LArPhysWavePredictor.h:68
LArOnOffIdMapping.h
LArPhysWavePredictor::m_doubleTriangle
bool m_doubleTriangle
Definition: LArPhysWavePredictor.h:76
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArPhysWavePredictor::m_dumpMphysMcali
bool m_dumpMphysMcali
Definition: LArPhysWavePredictor.h:52
LArPhysWavePredictor::m_timeShiftByIndex
int m_timeShiftByIndex
Definition: LArPhysWavePredictor.h:81
LArPhysWavePredictor::m_keyMphysMcali
std::string m_keyMphysMcali
Definition: LArPhysWavePredictor.h:58
LArPhysWavePredictor::m_timeShiftByHelper
bool m_timeShiftByHelper
Definition: LArPhysWavePredictor.h:82
LArPhysWavePredictor::m_keyIdealPhys
std::string m_keyIdealPhys
Definition: LArPhysWavePredictor.h:59
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArPhysWavePredictor::m_bcMask
LArBadChannelMask m_bcMask
Definition: LArPhysWavePredictor.h:44
LArPhysWavePredictor::m_useJOTdrift
bool m_useJOTdrift
Definition: LArPhysWavePredictor.h:74
LArPhysWavePredictor::m_storeEmpty
bool m_storeEmpty
Definition: LArPhysWavePredictor.h:51
LArOnlineID_Base
Helper for the Liquid Argon Calorimeter cell identifiers.
Definition: LArOnlineID_Base.h:105
HWIdentifier.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArPhysWavePredictor::m_Tcali
double m_Tcali
Definition: LArPhysWavePredictor.h:65
LArPhysWavePredictor::~LArPhysWavePredictor
~LArPhysWavePredictor()
LArPhysWavePredictor::m_Omega0
double m_Omega0
Definition: LArPhysWavePredictor.h:69
LArPhysWavePredictor::m_Tdrift2
std::vector< double > m_Tdrift2
Definition: LArPhysWavePredictor.h:77
SG::ReadCondHandleKey
Definition: ReadCondHandleKey.h:20
LArPhysWavePredictor::m_keyFcal
std::string m_keyFcal
Definition: LArPhysWavePredictor.h:60
LArPhysWavePredictor::m_Tdrift
std::vector< double > m_Tdrift
Definition: LArPhysWavePredictor.h:75
LArPhysWavePredictor::m_keyCali
std::vector< std::string > m_keyCali
Definition: LArPhysWavePredictor.h:56
LArPhysWavePredictor::m_timeShiftByLayer
bool m_timeShiftByLayer
Definition: LArPhysWavePredictor.h:83
LArPhysWavePredictor::m_keyPhys
std::string m_keyPhys
Definition: LArPhysWavePredictor.h:57
LArPhysWavePredictor::m_testmode
bool m_testmode
Definition: LArPhysWavePredictor.h:50
LArPhysWavePredictor::execute
StatusCode execute()
Definition: LArPhysWavePredictor.h:34
LArPhysWavePredictor::m_isSC
bool m_isSC
Definition: LArPhysWavePredictor.h:54
LArPhysWavePredictor::m_useJOCaliPulseParams
bool m_useJOCaliPulseParams
Definition: LArPhysWavePredictor.h:64
checker_macros.h
Define macros for attributes used to control the static checker.
CaloCell_Base_ID
Helper base class for offline cell identifiers.
Definition: CaloCell_Base_ID.h:41
LArBadChannelMask.h
LArPhysWavePredictor::finalize
StatusCode finalize()
Definition: LArPhysWavePredictor.h:36
LArPhysWavePredictor::m_TshiftLayer
std::vector< unsigned int > m_TshiftLayer
Definition: LArPhysWavePredictor.h:84
LArPhysWavePredictor
Definition: LArPhysWavePredictor.h:27
LArBadChannelMask
Definition: LArBadChannelMask.h:18