ATLAS Offline Software
Loading...
Searching...
No Matches
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
21class 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
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;
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
Definition of CaloDetDescrManager.
Property holding a SG store/key/clid from which a ReadHandle is made.
#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
Helper class for offline supercell identifiers.
std::vector< int > m_LayerCell
Definition LArReadSC.h:59
std::vector< float > m_TCell
Definition LArReadSC.h:64
const LArOnline_SuperCellID * m_lar_online_id
Definition LArReadSC.h:39
int m_error
Definition LArReadSC.h:54
std::vector< float > m_PhiCell
Definition LArReadSC.h:58
virtual StatusCode finalize()
Definition LArReadSC.cxx:86
int m_runNumber
Definition LArReadSC.h:50
int m_bcid
Definition LArReadSC.h:53
const CaloCell_SuperCell_ID * m_calo_id
Definition LArReadSC.h:38
std::vector< float > m_ECell
Definition LArReadSC.h:56
SG::ReadHandleKey< CaloCellContainer > m_SCKey
Definition LArReadSC.h:46
virtual StatusCode execute()
Definition LArReadSC.cxx:92
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloMgrKey
Definition LArReadSC.h:43
int m_eventNumber
Definition LArReadSC.h:52
SG::ReadHandleKey< LArDigitContainer > m_contKey
Definition LArReadSC.h:45
std::vector< float > m_EtaCell
Definition LArReadSC.h:57
std::vector< std::array< float,32 > > m_ADC
Definition LArReadSC.h:63
TTree * m_tree
Definition LArReadSC.h:49
std::vector< int > m_HwidCell
Definition LArReadSC.h:62
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition LArReadSC.h:41
LArReadSC(const std::string &name, ISvcLocator *pSvcLocator)
Definition LArReadSC.cxx:23
Gaudi::Property< std::string > m_outStream
Definition LArReadSC.h:36
std::vector< int > m_ChidCell
Definition LArReadSC.h:61
SG::ReadHandleKey< CaloCellContainer > m_SCRecoKey
Definition LArReadSC.h:47
std::vector< float > m_ErecoCell
Definition LArReadSC.h:65
int m_lbNumber
Definition LArReadSC.h:51
Gaudi::Property< double > m_etcut
Definition LArReadSC.h:35
int m_ncells
Definition LArReadSC.h:55
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Definition LArReadSC.h:42
std::vector< int > m_ProvCell
Definition LArReadSC.h:60
Property holding a SG store/key/clid from which a ReadHandle is made.
void initialize()