ATLAS Offline Software
Loading...
Searching...
No Matches
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
25class 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
Definition of CaloDetDescrManager.
Define macros for attributes used to control the static checker.
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ServiceHandle< ITHistSvc > m_thistSvc
const LArOnlineID * m_onlineID
SG::ReadCondHandleKey< CondAttrListCollection > m_pedKey
const CaloCell_ID * m_calo_id
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode finalize() override
standard Athena-Algorithm method
ToolHandle< ICaloCoolIdTool > m_caloCoolIdTool
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode execute() override
standard Athena-Algorithm method
Gaudi::Property< std::string > m_fname
virtual StatusCode stop() override
standard Athena-Algorithm method
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
Class for storing a number of floats (Flt) and functions on those.
This class is a collection of AttributeLists where each one is associated with a channel number.
void initialize()