ATLAS Offline Software
LArReadCells.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
6 #ifndef LARCAFJOBS_LArReadCells_H
7 #define LARCAFJOBS_LArReadCells_H 1
8 
10 
16 #include "TTree.h"
17 
18 class CaloCell_ID;
19 
20 
22  public:
23  LArReadCells( const std::string& name, ISvcLocator* pSvcLocator );
24  virtual ~LArReadCells();
25 
26  virtual StatusCode initialize();
27  virtual StatusCode execute();
28  virtual StatusCode finalize();
29 
30  private:
31 
32  Gaudi::Property<double> m_etcut{this,"etCut",7500.,"Et cut to dump cells"};
33  Gaudi::Property<double> m_etcut2{this,"etCut2",7500.,"Et cut to dump cells from second layer"};
34  Gaudi::Property< std::string > m_outStream{this, "output","SPLASH", "to which stream write the ntuple"};
35 
36  const CaloCell_ID* m_calo_id = nullptr;
37 
38 
39  TTree* m_tree = nullptr;
40  int m_runNumber = 0;
41  int m_lbNumber = 0;
42  int m_eventNumber = 0;
43  int m_bcid = 0;
44  int m_error = 0;
45  int m_ncells = 0;
46  std::vector<float> m_ECell ;
47  std::vector<float> m_TCell ;
48  std::vector<float> m_EtaCell ;
49  std::vector<float> m_PhiCell ;
50  std::vector<int> m_LayerCell;
51  std::vector<int> m_ProvCell ;
52  std::vector<int> m_QuaCell ;
53  std::vector<int> m_GainCell ;
54  std::vector<int> m_ChidCell ;
55  std::vector<int> m_HwidCell ;
56  std::vector<std::array<float ,32> > m_ADC ;
57 
58  SG::ReadCondHandleKey<LArOnOffIdMapping> m_cablingKey{this,"CablingKey","LArOnOffIdMap","SG Key of LArOnOffIdMapping object"};
59  SG::ReadCondHandleKey<ILArPedestal> m_pedestalKey{this,"PedestalKey","LArPedestal","SG Key of Pedestal conditions object"};
60  SG::ReadCondHandleKey<CaloDetDescrManager> m_caloMgrKey{this,"CaloDetDescrManager", "CaloDetDescrManager"};
61 
62  const LArOnlineID* m_lar_online_id = nullptr;
63 
64 
65 };
66 
67 #endif //> !MYSPLASHANALYSIS_LArReadCells_H
68 
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
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
LArReadCells::m_GainCell
std::vector< int > m_GainCell
Definition: LArReadCells.h:53
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
LArReadCells::m_ADC
std::vector< std::array< float,32 > > m_ADC
Definition: LArReadCells.h:56
LArReadCells
Definition: LArReadCells.h:21
LArG4FSStartPointFilterLegacy.execute
execute
Definition: LArG4FSStartPointFilterLegacy.py:20
LArReadCells::m_ProvCell
std::vector< int > m_ProvCell
Definition: LArReadCells.h:51
AthAlgorithm.h
LArOnOffIdMapping.h
LArReadCells::m_ECell
std::vector< float > m_ECell
Definition: LArReadCells.h:46
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
LArReadCells::m_LayerCell
std::vector< int > m_LayerCell
Definition: LArReadCells.h:50
CaloCell_ID
Helper class for offline cell identifiers.
Definition: CaloCell_ID.h:34
AthAlgorithm
Definition: AthAlgorithm.h:47
ReadCondHandleKey.h
LArReadCells::m_ChidCell
std::vector< int > m_ChidCell
Definition: LArReadCells.h:54
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
LArReadCells::m_EtaCell
std::vector< float > m_EtaCell
Definition: LArReadCells.h:48
LArOnlineID
Definition: LArOnlineID.h:20
LArReadCells::m_TCell
std::vector< float > m_TCell
Definition: LArReadCells.h:47
SG::ReadCondHandleKey< LArOnOffIdMapping >
ILArPedestal.h
LArReadCells::m_HwidCell
std::vector< int > m_HwidCell
Definition: LArReadCells.h:55
LArReadCells::m_QuaCell
std::vector< int > m_QuaCell
Definition: LArReadCells.h:52
LArReadCells::m_PhiCell
std::vector< float > m_PhiCell
Definition: LArReadCells.h:49
LArOnlineID.h