ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCafJobs
LArCafJobs
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
9
#include "
AthenaBaseComps/AthAlgorithm.h
"
10
11
#include "
LArCabling/LArOnOffIdMapping.h
"
12
#include "
LArIdentifier/LArOnlineID.h
"
13
#include "
LArElecCalib/ILArPedestal.h
"
14
#include "
StoreGate/ReadCondHandleKey.h
"
15
#include "
CaloDetDescr/CaloDetDescrManager.h
"
16
#include "TTree.h"
17
18
class
CaloCell_ID
;
19
20
21
class
ATLAS_NOT_THREAD_SAFE
LArReadCells
:
public
::AthAlgorithm
{
22
public
:
23
LArReadCells
(
const
std::string& name, ISvcLocator* pSvcLocator );
24
virtual
~LArReadCells
();
25
26
virtual
StatusCode
initialize
();
27
virtual
StatusCode
execute
(
const
EventContext& ctx);
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
AthAlgorithm.h
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
ILArPedestal.h
LArOnOffIdMapping.h
LArOnlineID.h
ReadCondHandleKey.h
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
LArOnlineID
Definition
LArOnlineID.h:21
LArReadCells::m_lar_online_id
const LArOnlineID * m_lar_online_id
Definition
LArReadCells.h:62
LArReadCells::finalize
virtual StatusCode finalize()
Definition
LArReadCells.cxx:87
LArReadCells::m_ADC
std::vector< std::array< float,32 > > m_ADC
Definition
LArReadCells.h:56
LArReadCells::m_GainCell
std::vector< int > m_GainCell
Definition
LArReadCells.h:53
LArReadCells::m_bcid
int m_bcid
Definition
LArReadCells.h:43
LArReadCells::m_QuaCell
std::vector< int > m_QuaCell
Definition
LArReadCells.h:52
LArReadCells::m_HwidCell
std::vector< int > m_HwidCell
Definition
LArReadCells.h:55
LArReadCells::m_etcut
Gaudi::Property< double > m_etcut
Definition
LArReadCells.h:32
LArReadCells::m_ChidCell
std::vector< int > m_ChidCell
Definition
LArReadCells.h:54
LArReadCells::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
LArReadCells.h:58
LArReadCells::m_outStream
Gaudi::Property< std::string > m_outStream
Definition
LArReadCells.h:34
LArReadCells::m_TCell
std::vector< float > m_TCell
Definition
LArReadCells.h:47
LArReadCells::m_runNumber
int m_runNumber
Definition
LArReadCells.h:40
LArReadCells::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
LArReadCells.h:60
LArReadCells::m_EtaCell
std::vector< float > m_EtaCell
Definition
LArReadCells.h:48
LArReadCells::m_ProvCell
std::vector< int > m_ProvCell
Definition
LArReadCells.h:51
LArReadCells::m_PhiCell
std::vector< float > m_PhiCell
Definition
LArReadCells.h:49
LArReadCells::m_ECell
std::vector< float > m_ECell
Definition
LArReadCells.h:46
LArReadCells::LArReadCells
LArReadCells(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArReadCells.cxx:29
LArReadCells::m_lbNumber
int m_lbNumber
Definition
LArReadCells.h:41
LArReadCells::m_error
int m_error
Definition
LArReadCells.h:44
LArReadCells::m_etcut2
Gaudi::Property< double > m_etcut2
Definition
LArReadCells.h:33
LArReadCells::m_eventNumber
int m_eventNumber
Definition
LArReadCells.h:42
LArReadCells::m_tree
TTree * m_tree
Definition
LArReadCells.h:39
LArReadCells::m_LayerCell
std::vector< int > m_LayerCell
Definition
LArReadCells.h:50
LArReadCells::m_pedestalKey
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
Definition
LArReadCells.h:59
LArReadCells::m_calo_id
const CaloCell_ID * m_calo_id
Definition
LArReadCells.h:36
LArReadCells::m_ncells
int m_ncells
Definition
LArReadCells.h:45
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0