ATLAS Offline Software
LArReadSC.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 
6 #ifndef LARCAFJOBS_LArReadSC_H
7 #define LARCAFJOBS_LArReadSC_H 1
8 
10 
19 #include "TTree.h"
20 
21 class CaloCell_ID;
22 
23 
25  public:
26  LArReadSC( const std::string& name, ISvcLocator* pSvcLocator );
27  virtual ~LArReadSC();
28 
29  virtual StatusCode initialize();
30  virtual StatusCode execute();
31  virtual StatusCode finalize();
32 
33  private:
34 
35  Gaudi::Property<double> m_etcut{this,"etCut",7500.,"Et cut to dump cells"};
36  Gaudi::Property< std::string > m_outStream{this, "output","SPLASH", "to which stream write the ntuple"};
37 
38  const CaloCell_SuperCell_ID* m_calo_id = nullptr;
39  const LArOnline_SuperCellID* m_lar_online_id = nullptr;
40 
41  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMapSC","SG Key of LArOnOffIdMapping object"};
42  SG::ReadCondHandleKey<ILArPedestal> m_pedestalKey{this,"PedestalKey","LArPedestalSC","SG Key of Pedestal conditions object"};
43  SG::ReadCondHandleKey<CaloSuperCellDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager", "CaloSuperCellDetDescrManager"};
44 
45  SG::ReadHandleKey<LArDigitContainer> m_contKey{this, "DigitsKey", "", "key for LArDigitContainer"};
46  SG::ReadHandleKey<CaloCellContainer> m_SCKey{this, "SCContainerKey", "", "key for SC cell container from raw"};
47  SG::ReadHandleKey<CaloCellContainer> m_SCRecoKey{this, "SCRecoContainerKey", "", "key for SC reco cell container"};
48 
49  TTree* m_tree = nullptr;
50  int m_runNumber = 0;
51  int m_lbNumber = 0;
52  int m_eventNumber = 0;
53  int m_bcid = 0;
54  int m_error = 0;
55  int m_ncells = 0;
56  std::vector<float> m_ECell ;
57  std::vector<float> m_EtaCell ;
58  std::vector<float> m_PhiCell ;
59  std::vector<int> m_LayerCell;
60  std::vector<int> m_ProvCell ;
61  std::vector<int> m_ChidCell ;
62  std::vector<int> m_HwidCell ;
63  std::vector<std::array<float ,32> > m_ADC ;
64  std::vector<float> m_TCell ;
65  std::vector<float> m_ErecoCell ;
66 
67 
68 
69 };
70 
71 #endif
72 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:50
LArReadSC::m_ProvCell
std::vector< int > m_ProvCell
Definition: LArReadSC.h:60
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
SG::ReadHandleKey< LArDigitContainer >
LArReadSC::m_ChidCell
std::vector< int > m_ChidCell
Definition: LArReadSC.h:61
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArReadSC::m_PhiCell
std::vector< float > m_PhiCell
Definition: LArReadSC.h:58
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
AthAlgorithm.h
LArReadSC::m_ErecoCell
std::vector< float > m_ErecoCell
Definition: LArReadSC.h:65
LArOnOffIdMapping.h
LArReadSC::m_TCell
std::vector< float > m_TCell
Definition: LArReadSC.h:64
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition: CaloCell_SuperCell_ID.h:45
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
ReadCondHandleKey.h
LArReadSC
Definition: LArReadSC.h:24
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArDigitContainer.h
CaloCellContainer.h
LArReadSC::m_ECell
std::vector< float > m_ECell
Definition: LArReadSC.h:56
LArOnline_SuperCellID
Definition: LArOnline_SuperCellID.h:21
SG::ReadCondHandleKey< LArOnOffIdMapping >
LArReadSC::m_ADC
std::vector< std::array< float,32 > > m_ADC
Definition: LArReadSC.h:63
LArReadSC::m_EtaCell
std::vector< float > m_EtaCell
Definition: LArReadSC.h:57
ILArPedestal.h
LArReadSC::m_LayerCell
std::vector< int > m_LayerCell
Definition: LArReadSC.h:59
LArOnline_SuperCellID.h
LArReadSC::m_HwidCell
std::vector< int > m_HwidCell
Definition: LArReadSC.h:62