ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCafJobs
LArCafJobs
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
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
LArIdentifier/LArOnline_SuperCellID.h
"
13
#include "
LArElecCalib/ILArPedestal.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
LArRawEvent/LArDigitContainer.h
"
17
#include "
CaloEvent/CaloCellContainer.h
"
18
#include "
CaloDetDescr/CaloDetDescrManager.h
"
19
#include "TTree.h"
20
21
class
CaloCell_ID
;
22
23
24
class
ATLAS_NOT_THREAD_SAFE
LArReadSC
:
public
::AthAlgorithm
{
25
public
:
26
LArReadSC
(
const
std::string& name, ISvcLocator* pSvcLocator );
27
virtual
~LArReadSC
();
28
29
virtual
StatusCode
initialize
();
30
virtual
StatusCode
execute
(
const
EventContext& ctx);
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
AthAlgorithm.h
CaloCellContainer.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArPedestal.h
LArDigitContainer.h
LArOnOffIdMapping.h
LArOnline_SuperCellID.h
ReadCondHandleKey.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
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
AthAlgorithm::execute
virtual StatusCode execute(const EventContext &ctx)=0
Execute method.
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
CaloCell_ID
Helper class for offline cell identifiers.
Definition
CaloCell_ID.h:34
CaloCell_SuperCell_ID
Helper class for offline supercell identifiers.
Definition
CaloCell_SuperCell_ID.h:45
LArOnline_SuperCellID
Definition
LArOnline_SuperCellID.h:21
LArReadSC::m_LayerCell
std::vector< int > m_LayerCell
Definition
LArReadSC.h:59
LArReadSC::m_TCell
std::vector< float > m_TCell
Definition
LArReadSC.h:64
LArReadSC::m_lar_online_id
const LArOnline_SuperCellID * m_lar_online_id
Definition
LArReadSC.h:39
LArReadSC::m_error
int m_error
Definition
LArReadSC.h:54
LArReadSC::m_PhiCell
std::vector< float > m_PhiCell
Definition
LArReadSC.h:58
LArReadSC::finalize
virtual StatusCode finalize()
Definition
LArReadSC.cxx:86
LArReadSC::m_runNumber
int m_runNumber
Definition
LArReadSC.h:50
LArReadSC::m_bcid
int m_bcid
Definition
LArReadSC.h:53
LArReadSC::m_calo_id
const CaloCell_SuperCell_ID * m_calo_id
Definition
LArReadSC.h:38
LArReadSC::m_ECell
std::vector< float > m_ECell
Definition
LArReadSC.h:56
LArReadSC::m_SCKey
SG::ReadHandleKey< CaloCellContainer > m_SCKey
Definition
LArReadSC.h:46
LArReadSC::m_caloMgrKey
SG::ReadCondHandleKey< CaloSuperCellDetDescrManager > m_caloMgrKey
Definition
LArReadSC.h:43
LArReadSC::m_eventNumber
int m_eventNumber
Definition
LArReadSC.h:52
LArReadSC::m_contKey
SG::ReadHandleKey< LArDigitContainer > m_contKey
Definition
LArReadSC.h:45
LArReadSC::m_EtaCell
std::vector< float > m_EtaCell
Definition
LArReadSC.h:57
LArReadSC::m_ADC
std::vector< std::array< float,32 > > m_ADC
Definition
LArReadSC.h:63
LArReadSC::m_tree
TTree * m_tree
Definition
LArReadSC.h:49
LArReadSC::m_HwidCell
std::vector< int > m_HwidCell
Definition
LArReadSC.h:62
LArReadSC::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArReadSC.h:41
LArReadSC::LArReadSC
LArReadSC(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArReadSC.cxx:23
LArReadSC::m_outStream
Gaudi::Property< std::string > m_outStream
Definition
LArReadSC.h:36
LArReadSC::m_ChidCell
std::vector< int > m_ChidCell
Definition
LArReadSC.h:61
LArReadSC::m_SCRecoKey
SG::ReadHandleKey< CaloCellContainer > m_SCRecoKey
Definition
LArReadSC.h:47
LArReadSC::m_ErecoCell
std::vector< float > m_ErecoCell
Definition
LArReadSC.h:65
LArReadSC::m_lbNumber
int m_lbNumber
Definition
LArReadSC.h:51
LArReadSC::m_etcut
Gaudi::Property< double > m_etcut
Definition
LArReadSC.h:35
LArReadSC::m_ncells
int m_ncells
Definition
LArReadSC.h:55
LArReadSC::m_pedestalKey
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Definition
LArReadSC.h:42
LArReadSC::m_ProvCell
std::vector< int > m_ProvCell
Definition
LArReadSC.h:60
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0