ATLAS Offline Software
Loading...
Searching...
No Matches
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
18class 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;
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
Definition of CaloDetDescrManager.
#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:
Helper class for offline cell identifiers.
Definition CaloCell_ID.h:34
const LArOnlineID * m_lar_online_id
virtual StatusCode finalize()
std::vector< std::array< float,32 > > m_ADC
std::vector< int > m_GainCell
std::vector< int > m_QuaCell
std::vector< int > m_HwidCell
Gaudi::Property< double > m_etcut
std::vector< int > m_ChidCell
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Gaudi::Property< std::string > m_outStream
std::vector< float > m_TCell
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual StatusCode execute()
std::vector< float > m_EtaCell
std::vector< int > m_ProvCell
std::vector< float > m_PhiCell
std::vector< float > m_ECell
LArReadCells(const std::string &name, ISvcLocator *pSvcLocator)
Gaudi::Property< double > m_etcut2
TTree * m_tree
std::vector< int > m_LayerCell
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
const CaloCell_ID * m_calo_id
void initialize()