ATLAS Offline Software
CaloAddCellPedShift.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // CaloAddCellPedShift.h
6 //
7 
8 #ifndef CALOCONDPHYSALGS_CALOADDCELLPEDSHIFT_H
9 #define CALOCONDPHYSALGS_CALOADDCELLPEDSHIFT_H
10 
11 #include <string>
13 #include "GaudiKernel/ToolHandle.h"
19 
20 #include "GaudiKernel/ITHistSvc.h"
21 #include "TTree.h"
22 
24 
25 class CaloCondBlobFlt;
27 
28 
30 
31  public:
32 
34 
35 
37  virtual StatusCode initialize() override;
39  virtual StatusCode execute() override;
41  virtual StatusCode finalize() override;
43  virtual StatusCode stop() override;
44 
45  private:
46 
47  //---------------------------------------------------
48  // Member variables
49  //---------------------------------------------------
50  Gaudi::Property<std::string> m_fname{this,"inputFile",""};
51 
52 
53  ServiceHandle<ITHistSvc> m_thistSvc{this,"THistSvc","THistSvc"};
54 
55  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
56  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager","CaloDetDescrManager","SG Key for CaloDetDescrManager in the Condition Store" };
57  SG::ReadCondHandleKey<CondAttrListCollection> m_pedKey{this,"FolderName","/CALO/Pedestal/CellPedestal"};
58 
59  const CaloCell_ID* m_calo_id=nullptr;
60  const LArOnlineID* m_onlineID=nullptr;
61 
62  ToolHandle<ICaloCoolIdTool> m_caloCoolIdTool{this,"CaloCoolIdTool","CaloCoolIdTool"};
63 
64  int m_iCool=0;
65  int m_SubHash=0;
66  int m_Hash=0;
67  int m_OffId=0;
68  float m_eta=0;
69  float m_phi=0;
70  int m_layer=0;
71  int m_Gain=0;
72  int m_bec=0;
73  int m_posneg=0;
74  int m_FT=0;
75  int m_slot=0;
76  int m_channel=0;
77  float m_ped1=0;
78  float m_ped1corr=0;
79  float m_ped2=0;
80  TTree* m_tree=nullptr;
81 };
82 #endif
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:50
CaloCondBlobFlt
Class for storing a number of floats (Flt) and functions on those.
Definition: CaloCondBlobFlt.h:29
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
initialize
void initialize()
Definition: run_EoverP.cxx:894
PixelModuleFeMask_create_db.stop
int stop
Definition: PixelModuleFeMask_create_db.py:76
CondAttrListCollection
This class is a collection of AttributeLists where each one is associated with a channel number....
Definition: CondAttrListCollection.h:52
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloCell_ID.h
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
LArOnOffIdMapping.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
AthAlgorithm
Definition: AthAlgorithm.h:47
CaloAddCellPedShift
Definition: CaloAddCellPedShift.h:29
LArOnlineID
Definition: LArOnlineID.h:20
ICaloCoolIdTool.h
SG::ReadCondHandleKey< LArOnOffIdMapping >
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
checker_macros.h
Define macros for attributes used to control the static checker.
LArOnlineID.h
ServiceHandle< ITHistSvc >