ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCalibTools
LArCalibTools
LArSC2NtupleEB.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARSC2NTUPLEEB_H
6
#define LARSC2NTUPLEEB_H
7
8
#include "
LArCalibTools/LArCond2NtupleBaseEB.h
"
9
#include "
CaloDetDescr/ICaloSuperCellIDTool.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
LArRawEvent/LArRawChannelContainer.h
"
12
#include "
xAODEventInfo/EventInfo.h
"
13
#include "
LArRawEvent/LArLATOMEHeaderContainer.h
"
14
#include "
LArRawEvent/LArRawSCContainer.h
"
15
16
17
18
class
LArSC2NtupleEB
:
public
LArCond2NtupleBaseEB
19
{
20
public
:
21
LArSC2NtupleEB
(
const
std::string & name, ISvcLocator * pSvcLocator);
22
23
// Standard algorithm methods
24
virtual
StatusCode
initialize
()
override
;
25
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
26
27
protected
:
28
29
Gaudi::Property< unsigned int >
m_scNet
{
this
,
"scNet"
, 5,
"number of energies from raw"
};
30
Gaudi::Property< unsigned int >
m_recoNet
{
this
,
"recoNet"
, 5,
"number of energies from reco"
};
31
Gaudi::Property< bool >
m_fillBCID
{
this
,
"FillBCID"
,
false
,
"if to fill BCID"
};
32
33
Gaudi::Property< float >
m_eCut
{
this
,
"EnergyCut"
, 0.,
"when to fll"
};
34
35
NTuple::Item<unsigned long long>
m_IEvent
;
36
NTuple::Item<short>
m_bcid
;
37
38
NTuple::Matrix<float>
m_energyVec_ET
;
39
NTuple::Matrix<float>
m_bcidVec_ET
;
40
NTuple::Matrix<bool>
m_saturVec_ET
;
41
NTuple::Matrix<bool>
m_passVec_ET
;
42
43
NTuple::Matrix<float>
m_energyVec_Reco
;
44
NTuple::Matrix<float>
m_tauVec_Reco
;
45
NTuple::Matrix<float>
m_bcidVec_Reco
;
46
NTuple::Matrix<bool>
m_passVec_Reco
;
47
NTuple::Matrix<bool>
m_saturVec_Reco
;
48
49
NTuple::Matrix<float>
m_ROD_energy
;
50
NTuple::Matrix<float>
m_ROD_time
;
51
NTuple::Matrix<float>
m_ROD_id
;
52
53
SG::ReadHandleKey<LArRawSCContainer>
m_sccontKey
{
this
,
"EnergyContainerKey"
,
""
,
"key for LArRawSCContainer from bytestream"
};
54
SG::ReadHandleKey<LArRawSCContainer>
m_reccontKey
{
this
,
"RecoContainerKey"
,
""
,
"key for LArRawSCContainer reconstructed from digits"
};
55
SG::ReadHandleKey<LArRawChannelContainer>
m_rawcontKey
{
this
,
"RawChanContainerKey"
,
""
,
"key for LArRawChannelsContainer"
};
56
57
SG::ReadHandleKey<xAOD::EventInfo>
m_evtInfoKey
{
this
,
"EventInfoKey"
,
"EventInfo"
,
"SG for EventInfo Key"
};
58
59
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKeyAdditional
{
this
,
"CablingKeyAdditional"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object for standard cells"
};
60
61
ToolHandle<ICaloSuperCellIDTool>
m_scidtool
{
this
,
"CaloSuperCellIDTool"
,
"CaloSuperCellIDTool"
,
"Offline / SuperCell ID mapping tool"
};
62
63
typedef
std::map<HWIdentifier, const LArRawChannel*>
rawChanMap_t
;
64
void
fillRODEnergy
(
HWIdentifier
SCId,
unsigned
cell,
rawChanMap_t
&rawChanMap,
65
const
LArOnOffIdMapping
* cabling,
const
LArOnOffIdMapping
* cablingROD);
66
67
typedef
std::map<HWIdentifier, const LArRawSC*>
rawSCMap_t
;
68
};
69
70
#endif
ICaloSuperCellIDTool.h
LArCond2NtupleBaseEB.h
LArLATOMEHeaderContainer.h
LArRawChannelContainer.h
LArRawSCContainer.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HWIdentifier
Definition
HWIdentifier.h:13
LArCond2NtupleBaseEB::LArCond2NtupleBaseEB
LArCond2NtupleBaseEB(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArCond2NtupleBaseEB.cxx:15
LArOnOffIdMapping
Definition
LArOnOffIdMapping.h:20
LArSC2NtupleEB::m_reccontKey
SG::ReadHandleKey< LArRawSCContainer > m_reccontKey
Definition
LArSC2NtupleEB.h:54
LArSC2NtupleEB::m_ROD_energy
NTuple::Matrix< float > m_ROD_energy
Definition
LArSC2NtupleEB.h:49
LArSC2NtupleEB::m_rawcontKey
SG::ReadHandleKey< LArRawChannelContainer > m_rawcontKey
Definition
LArSC2NtupleEB.h:55
LArSC2NtupleEB::m_sccontKey
SG::ReadHandleKey< LArRawSCContainer > m_sccontKey
Definition
LArSC2NtupleEB.h:53
LArSC2NtupleEB::m_ROD_time
NTuple::Matrix< float > m_ROD_time
Definition
LArSC2NtupleEB.h:50
LArSC2NtupleEB::m_fillBCID
Gaudi::Property< bool > m_fillBCID
Definition
LArSC2NtupleEB.h:31
LArSC2NtupleEB::m_cablingKeyAdditional
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKeyAdditional
Definition
LArSC2NtupleEB.h:59
LArSC2NtupleEB::fillRODEnergy
void fillRODEnergy(HWIdentifier SCId, unsigned cell, rawChanMap_t &rawChanMap, const LArOnOffIdMapping *cabling, const LArOnOffIdMapping *cablingROD)
Definition
LArSC2NtupleEB.cxx:304
LArSC2NtupleEB::m_tauVec_Reco
NTuple::Matrix< float > m_tauVec_Reco
Definition
LArSC2NtupleEB.h:44
LArSC2NtupleEB::m_energyVec_ET
NTuple::Matrix< float > m_energyVec_ET
Definition
LArSC2NtupleEB.h:38
LArSC2NtupleEB::m_IEvent
NTuple::Item< unsigned long long > m_IEvent
Definition
LArSC2NtupleEB.h:35
LArSC2NtupleEB::m_passVec_ET
NTuple::Matrix< bool > m_passVec_ET
Definition
LArSC2NtupleEB.h:41
LArSC2NtupleEB::m_passVec_Reco
NTuple::Matrix< bool > m_passVec_Reco
Definition
LArSC2NtupleEB.h:46
LArSC2NtupleEB::m_bcidVec_Reco
NTuple::Matrix< float > m_bcidVec_Reco
Definition
LArSC2NtupleEB.h:45
LArSC2NtupleEB::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArSC2NtupleEB.cxx:130
LArSC2NtupleEB::initialize
virtual StatusCode initialize() override
Definition
LArSC2NtupleEB.cxx:19
LArSC2NtupleEB::m_bcid
NTuple::Item< short > m_bcid
Definition
LArSC2NtupleEB.h:36
LArSC2NtupleEB::m_recoNet
Gaudi::Property< unsigned int > m_recoNet
Definition
LArSC2NtupleEB.h:30
LArSC2NtupleEB::m_saturVec_Reco
NTuple::Matrix< bool > m_saturVec_Reco
Definition
LArSC2NtupleEB.h:47
LArSC2NtupleEB::rawChanMap_t
std::map< HWIdentifier, const LArRawChannel * > rawChanMap_t
Definition
LArSC2NtupleEB.h:63
LArSC2NtupleEB::m_scNet
Gaudi::Property< unsigned int > m_scNet
Definition
LArSC2NtupleEB.h:29
LArSC2NtupleEB::m_evtInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_evtInfoKey
Definition
LArSC2NtupleEB.h:57
LArSC2NtupleEB::m_scidtool
ToolHandle< ICaloSuperCellIDTool > m_scidtool
Definition
LArSC2NtupleEB.h:61
LArSC2NtupleEB::m_eCut
Gaudi::Property< float > m_eCut
Definition
LArSC2NtupleEB.h:33
LArSC2NtupleEB::m_saturVec_ET
NTuple::Matrix< bool > m_saturVec_ET
Definition
LArSC2NtupleEB.h:40
LArSC2NtupleEB::rawSCMap_t
std::map< HWIdentifier, const LArRawSC * > rawSCMap_t
Definition
LArSC2NtupleEB.h:67
LArSC2NtupleEB::m_energyVec_Reco
NTuple::Matrix< float > m_energyVec_Reco
Definition
LArSC2NtupleEB.h:43
LArSC2NtupleEB::m_bcidVec_ET
NTuple::Matrix< float > m_bcidVec_ET
Definition
LArSC2NtupleEB.h:39
LArSC2NtupleEB::m_ROD_id
NTuple::Matrix< float > m_ROD_id
Definition
LArSC2NtupleEB.h:51
LArSC2NtupleEB::LArSC2NtupleEB
LArSC2NtupleEB(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArSC2NtupleEB.cxx:10
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
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0