ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArSamplesMon
LArSamplesMon
LArShapeCompleteMakerAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
9
10
#ifndef LArShapeCompleteMakerAlg_H
11
#define LArShapeCompleteMakerAlg_H
12
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
#include "GaudiKernel/ToolHandle.h"
15
16
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
17
#include "
AthenaMonitoringKernel/Monitored.h
"
18
19
#include "
LArCabling/LArOnOffIdMapping.h
"
20
#include "
CaloIdentifier/LArEM_ID.h
"
21
#include "
CaloIdentifier/LArHEC_ID.h
"
22
#include "
CaloIdentifier/LArFCAL_ID.h
"
23
#include "
CaloIdentifier/CaloGain.h
"
24
#include "
LArCafJobs/ILArShapeDumperTool.h
"
25
#include "
LArCafJobs/DataStore.h
"
26
#include "
LArSamplesMon/TreeShapeErrorGetter.h
"
27
#include "
StoreGate/ReadCondHandleKey.h
"
28
#include <string>
29
30
class
MsgStream;
31
class
StoreGateSvc
;
32
class
ILArShape
;
33
class
HWIdentifier
;
34
class
Identifier
;
35
class
LArOnlineID
;
36
37
class
ATLAS_NOT_THREAD_SAFE
LArShapeCompleteMakerAlg
:
public
AthAlgorithm
38
{
39
public
:
40
LArShapeCompleteMakerAlg
(
const
std::string & name, ISvcLocator* pSvcLocator);
41
virtual
~LArShapeCompleteMakerAlg
();
42
43
//standart algorithm methods
44
virtual
StatusCode
initialize
()
override
final
;
45
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
final
;
46
virtual
StatusCode
finalize
()
override
final
;
47
48
//virtual StatusCode fillHistograms(const EventContext& ctx) const override final;
49
50
private
:
51
52
const
LArOnlineID
*
m_onlineHelper
=
nullptr
;
//good
53
54
LArSamples::DataStore
*
m_template
;
55
56
ToolHandle<ILArShapeDumperTool>
m_dumperTool
;
57
58
unsigned
int
m_nSamples
= 0U;
59
unsigned
int
m_nPhases
= 0U;
60
unsigned
int
m_iPhase
= 0U;
61
//unsigned int m_nSamples, m_nPhases, m_iPhase;
62
//
63
Gaudi::Property<int>
m_minNPulses
{
this
,
"minNPulses"
,0};
//default
64
Gaudi::Property<std::string>
m_shapeErrorFileName
{
this
,
"shapeErrorFileName"
, {} };
65
Gaudi::Property<std::string>
m_outputTemplateFileName
{
this
,
"outputTemplateFileName"
, {} };
66
Gaudi::Property<std::string>
m_outputFileName
{
this
,
"outputFileName"
, {} };
67
Gaudi::Property<std::string>
m_sgKey
{
this
,
"sgKey"
, {} };
68
Gaudi::Property<std::string>
m_groupingType
{
this
,
"groupingType"
, {} };
69
//int m_minNPulses;
70
//std::string m_shapeErrorFileName, m_outputFileName, m_outputTemplateFileName, m_sgKey;
71
//std::string m_groupingType;
72
73
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_onOffMapKey
74
{
this
,
"LArOnOffIdMappingKey"
,
"LArOnOffIdMapping"
,
"LArOnOffIdMapping key"
};
75
};
76
77
#endif
AthAlgorithm.h
AthMonitorAlgorithm.h
CaloGain.h
ILArShapeDumperTool.h
DataStore.h
LArEM_ID.h
LArFCAL_ID.h
LArHEC_ID.h
LArOnOffIdMapping.h
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadCondHandleKey.h
TreeShapeErrorGetter.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
HWIdentifier
Definition
HWIdentifier.h:13
ILArShape
Definition
ILArShape.h:13
LArOnlineID
Definition
LArOnlineID.h:21
LArSamples::DataStore
storage of the time histories of all the cells
Definition
LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h:32
LArShapeCompleteMakerAlg::finalize
virtual StatusCode finalize() override final
Definition
LArShapeCompleteMakerAlg.cxx:146
LArShapeCompleteMakerAlg::m_shapeErrorFileName
Gaudi::Property< std::string > m_shapeErrorFileName
Definition
LArShapeCompleteMakerAlg.h:64
LArShapeCompleteMakerAlg::m_groupingType
Gaudi::Property< std::string > m_groupingType
Definition
LArShapeCompleteMakerAlg.h:68
LArShapeCompleteMakerAlg::m_outputFileName
Gaudi::Property< std::string > m_outputFileName
Definition
LArShapeCompleteMakerAlg.h:66
LArShapeCompleteMakerAlg::m_template
LArSamples::DataStore * m_template
Definition
LArShapeCompleteMakerAlg.h:54
LArShapeCompleteMakerAlg::m_sgKey
Gaudi::Property< std::string > m_sgKey
Definition
LArShapeCompleteMakerAlg.h:67
LArShapeCompleteMakerAlg::m_outputTemplateFileName
Gaudi::Property< std::string > m_outputTemplateFileName
Definition
LArShapeCompleteMakerAlg.h:65
LArShapeCompleteMakerAlg::m_nSamples
unsigned int m_nSamples
Definition
LArShapeCompleteMakerAlg.h:58
LArShapeCompleteMakerAlg::m_nPhases
unsigned int m_nPhases
Definition
LArShapeCompleteMakerAlg.h:59
LArShapeCompleteMakerAlg::m_iPhase
unsigned int m_iPhase
Definition
LArShapeCompleteMakerAlg.h:60
LArShapeCompleteMakerAlg::m_dumperTool
ToolHandle< ILArShapeDumperTool > m_dumperTool
Definition
LArShapeCompleteMakerAlg.h:56
LArShapeCompleteMakerAlg::LArShapeCompleteMakerAlg
LArShapeCompleteMakerAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArShapeCompleteMakerAlg.cxx:22
LArShapeCompleteMakerAlg::m_onlineHelper
const LArOnlineID * m_onlineHelper
Definition
LArShapeCompleteMakerAlg.h:52
LArShapeCompleteMakerAlg::m_onOffMapKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_onOffMapKey
Definition
LArShapeCompleteMakerAlg.h:74
LArShapeCompleteMakerAlg::m_minNPulses
Gaudi::Property< int > m_minNPulses
Definition
LArShapeCompleteMakerAlg.h:63
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
StoreGateSvc
The Athena Transient Store API.
Definition
StoreGateSvc.h:120
Identifier
Definition
IdentifierFieldParser.cxx:14
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.17.0