ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TestBeam
TBRec
src
TBLArRawChannelBuilder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TBREC_TBLARRAWCHANNELBUILDER_H
6
#define TBREC_TBLARRAWCHANNELBUILDER_H
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "GaudiKernel/IToolSvc.h"
10
#include "
LArRawUtils/LArRawOrdering.h
"
11
#include "
LArRawEvent/LArDigitContainer.h
"
12
#include "
LArRawEvent/LArRawChannelContainer.h
"
13
#include "
LArCabling/LArOnOffIdMapping.h
"
14
15
#include "
CaloIdentifier/CaloCell_ID.h
"
16
#include "
CaloIdentifier/LArEM_ID.h
"
17
#include "
CaloIdentifier/LArFCAL_ID.h
"
18
#include "
CaloIdentifier/LArHEC_ID.h
"
19
20
#include "CLHEP/Units/SystemOfUnits.h"
21
22
class
LArOnlineID
;
23
24
class
TBLArRawChannelBuilder
:
public
AthAlgorithm
25
{
26
27
public
:
28
29
TBLArRawChannelBuilder
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
32
virtual
StatusCode
finalize
()
override
;
33
34
private
:
35
//Services & Tools
36
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
37
38
const
LArEM_ID
*
m_emId
;
39
const
LArFCAL_ID
*
m_fcalId
;
40
const
LArHEC_ID
*
m_hecId
;
41
const
LArOnlineID
*
m_onlineHelper
;
42
43
LArRawOrdering
m_larRawOrdering
;
44
45
//Algo-properties
46
std::string
m_DataLocation
,
m_ChannelContainerName
;
47
int
m_imaxSamp
;
48
std::string
m_mode
;
49
float
m_cubicAdcCut
;
50
51
float
m_ADCtoMeVFCAL
[3];
52
float
m_ADCtoMeVHEC
[2];
53
float
m_ADCtoMeVEMECInner
[2];
54
float
m_ADCtoMeVEMECOuter
[2];
55
float
m_ADCtoMeVEMB
[2];
56
57
unsigned
int
m_iPedestal
;
58
};
59
60
#endif
AthAlgorithm.h
CaloCell_ID.h
LArDigitContainer.h
LArEM_ID.h
LArFCAL_ID.h
LArHEC_ID.h
LArOnOffIdMapping.h
LArRawChannelContainer.h
LArRawOrdering.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArEM_ID
Helper class for LArEM offline identifiers.
Definition
LArEM_ID.h:111
LArFCAL_ID
Helper class for LArFCAL offline identifiers.
Definition
LArFCAL_ID.h:49
LArHEC_ID
Helper class for LArHEC offline identifiers.
Definition
LArHEC_ID.h:76
LArOnlineID
Definition
LArOnlineID.h:21
LArRawOrdering
Definition
LArRawOrdering.h:15
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
TBLArRawChannelBuilder::m_ADCtoMeVFCAL
float m_ADCtoMeVFCAL[3]
Definition
TBLArRawChannelBuilder.h:51
TBLArRawChannelBuilder::m_ADCtoMeVEMECOuter
float m_ADCtoMeVEMECOuter[2]
Definition
TBLArRawChannelBuilder.h:54
TBLArRawChannelBuilder::m_iPedestal
unsigned int m_iPedestal
Definition
TBLArRawChannelBuilder.h:57
TBLArRawChannelBuilder::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
TBLArRawChannelBuilder.h:36
TBLArRawChannelBuilder::m_mode
std::string m_mode
Definition
TBLArRawChannelBuilder.h:48
TBLArRawChannelBuilder::m_DataLocation
std::string m_DataLocation
Definition
TBLArRawChannelBuilder.h:46
TBLArRawChannelBuilder::m_ADCtoMeVEMB
float m_ADCtoMeVEMB[2]
Definition
TBLArRawChannelBuilder.h:55
TBLArRawChannelBuilder::m_ChannelContainerName
std::string m_ChannelContainerName
Definition
TBLArRawChannelBuilder.h:46
TBLArRawChannelBuilder::m_fcalId
const LArFCAL_ID * m_fcalId
Definition
TBLArRawChannelBuilder.h:39
TBLArRawChannelBuilder::m_ADCtoMeVHEC
float m_ADCtoMeVHEC[2]
Definition
TBLArRawChannelBuilder.h:52
TBLArRawChannelBuilder::initialize
virtual StatusCode initialize() override
Definition
TBLArRawChannelBuilder.cxx:38
TBLArRawChannelBuilder::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TBLArRawChannelBuilder.cxx:67
TBLArRawChannelBuilder::m_emId
const LArEM_ID * m_emId
Definition
TBLArRawChannelBuilder.h:38
TBLArRawChannelBuilder::finalize
virtual StatusCode finalize() override
Definition
TBLArRawChannelBuilder.cxx:277
TBLArRawChannelBuilder::m_larRawOrdering
LArRawOrdering m_larRawOrdering
Definition
TBLArRawChannelBuilder.h:43
TBLArRawChannelBuilder::m_imaxSamp
int m_imaxSamp
Definition
TBLArRawChannelBuilder.h:47
TBLArRawChannelBuilder::TBLArRawChannelBuilder
TBLArRawChannelBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TBLArRawChannelBuilder.cxx:15
TBLArRawChannelBuilder::m_ADCtoMeVEMECInner
float m_ADCtoMeVEMECInner[2]
Definition
TBLArRawChannelBuilder.h:53
TBLArRawChannelBuilder::m_cubicAdcCut
float m_cubicAdcCut
Definition
TBLArRawChannelBuilder.h:49
TBLArRawChannelBuilder::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
TBLArRawChannelBuilder.h:41
TBLArRawChannelBuilder::m_hecId
const LArHEC_ID * m_hecId
Definition
TBLArRawChannelBuilder.h:40
Generated on
for ATLAS Offline Software by
1.17.0