ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Calorimeter
CaloMonitoring
src
CaloClusterCellMonAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef CALOMONITORING_LARCLUSTERCELLMONALG_H
7
#define CALOMONITORING_LARCLUSTERCELLMONALG_H
8
9
#include "
CaloMonAlgBase.h
"
10
11
#include "
CaloDetDescr/CaloDetDescrManager.h
"
12
#include "
StoreGate/ReadCondHandleKey.h
"
13
#include "
xAODCaloEvent/CaloClusterContainer.h
"
14
#include "
LArCabling/LArOnOffIdMapping.h
"
15
16
#include <vector>
17
#include <string>
18
#include <array>
19
#include <limits>
20
21
class
LArOnlineID
;
22
23
class
CaloClusterCellMonAlg
:
public
CaloMonAlgBase
{
24
25
public
:
26
using
CaloMonAlgBase::CaloMonAlgBase
;
27
~CaloClusterCellMonAlg
()=
default
;
28
29
virtual
StatusCode
initialize
() override final;
30
virtual StatusCode
fillHistograms
(
const
EventContext& ctx)
const
override final;
31
32
33
private
:
34
35
// Job properties
36
SG
::ReadHandleKey<
xAOD
::
CaloClusterContainer
>
m_clusterContainerKey
{
this
,
"CaloClusterContainer"
,
"CaloTopoClusters"
,
"SG key of the input cluster container"
};
37
38
SG::ReadCondHandleKey<CaloDetDescrManager>
m_caloMgrKey
{
this
,
"CaloDetDescrManager"
,
"CaloDetDescrManager"
,
"SG Key for CaloDetDescrManager in the Condition Store"
};
39
SG::ReadCondHandleKey<LArOnOffIdMapping>
m_cablingKey
{
this
,
"CablingKey"
,
"LArOnOffIdMap"
,
"SG Key of LArOnOffIdMapping object"
};
40
41
Gaudi::Property<std::string>
m_MonGroupName
{
this
,
"MonGroupName"
,
"CaloClusterCellMonGroup"
};
42
43
44
StringArrayProperty
m_layerNames
{
this
,
"LayerNames"
, {
"EMBPA"
,
"EMBPC"
,
"EMB1A"
,
"EMB1C"
,
"EMB2A"
,
"EMB2C"
,
"EMB3A"
,
"EMB3C"
,
45
"HEC0A"
,
"HEC0C"
,
"HEC1A"
,
"HEC1C"
,
"HEC2A"
,
"HEC2C"
,
"HEC3A"
,
"HEC3C"
,
46
"EMECPA"
,
"EMECPC"
,
"EMEC1A"
,
"EMEC1C"
,
"EMEC2A"
,
"EMEC2C"
,
"EMEC3A"
,
"EMEC3C"
,
47
"FCAL1A"
,
"FCAL1C"
,
"FCAL2A"
,
"FCAL2C"
,
"FCAL3A"
,
"FCAL3C"
},
48
"Names of individual layers to monitor"
};
49
50
//StringArrayProperty m_partitionNames{this, "PartitionNames", {"EMBA","EMBC","EMECA","EMECC","HECA","HECC","FCALA","FCALC"}};
51
52
// Trigger Awareness:
53
enum
TriggerType
{
RNDM
,
CALO
,
MINBIAS
,
MET
,
MISC
,
NOTA
,
MAXTRIGTYPE
};
54
55
BooleanProperty
m_useTrigger
{
this
,
"useTrigger"
,
true
};
56
std::array<StringProperty,NOTA>
m_triggerNames
{{{
this
,
"rndmTriggerNames"
,
""
},
57
{
this
,
"caloTriggerNames"
,
""
},
58
{
this
,
"minBiasTriggerNames"
,
""
},
59
{
this
,
"metTriggerNames"
,
""
},
60
{
this
,
"miscTriggerNames"
,
""
}
61
}};
62
63
64
BooleanArrayProperty
m_doBeamBackgroundRemovalProp
{
this
,
"DoBeamBackgroundRemoval"
};
65
66
Gaudi::Property<float>
m_clusterECut
{
this
,
"ClusterEnergyCut"
,std::numeric_limits<float>::lowest()};
67
Gaudi::Property<unsigned>
m_nCellsPerCluster
{
this
,
"nCellsPerCluster"
,1,
"Monitor the N highest-energy-cells of each cluster (0: all cells)"
};
68
69
//Enumerate partitions
70
enum
PartitionEnum
{
EMBA
,
EMBC
,
EMECA
,
EMECC
,
HECA
,
HECC
,
FCALA
,
FCALC
,
MAXPARTITIONS
};
71
72
void
checkTrigger()
const
;
73
74
const
LArOnlineID
*
m_onlineID
{
nullptr
};
75
76
const
std::array<std::string,9>
m_tileNames
{
77
"TileBar0"
,
"TileBar1"
,
"TileBar2"
,
78
"TileGap0"
,
"TileGap1"
,
"TileGap2"
,
79
"TileExt0"
,
"TileExt1"
,
"TileExt2"
};
80
};
81
82
#endif
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
CaloMonAlgBase.h
CaloClusterContainer.h
LArOnOffIdMapping.h
ReadCondHandleKey.h
CaloClusterCellMonAlg::m_nCellsPerCluster
Gaudi::Property< unsigned > m_nCellsPerCluster
Definition
CaloClusterCellMonAlg.h:67
CaloClusterCellMonAlg::m_layerNames
StringArrayProperty m_layerNames
Definition
CaloClusterCellMonAlg.h:44
CaloClusterCellMonAlg::m_cablingKey
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition
CaloClusterCellMonAlg.h:39
CaloClusterCellMonAlg::m_clusterECut
Gaudi::Property< float > m_clusterECut
Definition
CaloClusterCellMonAlg.h:66
CaloClusterCellMonAlg::m_caloMgrKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Definition
CaloClusterCellMonAlg.h:38
CaloClusterCellMonAlg::m_tileNames
const std::array< std::string, 9 > m_tileNames
Definition
CaloClusterCellMonAlg.h:76
CaloClusterCellMonAlg::m_MonGroupName
Gaudi::Property< std::string > m_MonGroupName
Definition
CaloClusterCellMonAlg.h:41
CaloClusterCellMonAlg::m_onlineID
const LArOnlineID * m_onlineID
Definition
CaloClusterCellMonAlg.h:74
CaloClusterCellMonAlg::TriggerType
TriggerType
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::MISC
@ MISC
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::CALO
@ CALO
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::MAXTRIGTYPE
@ MAXTRIGTYPE
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::RNDM
@ RNDM
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::NOTA
@ NOTA
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::MINBIAS
@ MINBIAS
Definition
CaloClusterCellMonAlg.h:53
CaloClusterCellMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
Definition
CaloClusterCellMonAlg.cxx:75
CaloClusterCellMonAlg::~CaloClusterCellMonAlg
~CaloClusterCellMonAlg()=default
CaloClusterCellMonAlg::m_triggerNames
std::array< StringProperty, NOTA > m_triggerNames
Definition
CaloClusterCellMonAlg.h:56
CaloClusterCellMonAlg::m_clusterContainerKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
Definition
CaloClusterCellMonAlg.h:36
CaloClusterCellMonAlg::m_doBeamBackgroundRemovalProp
BooleanArrayProperty m_doBeamBackgroundRemovalProp
Definition
CaloClusterCellMonAlg.h:64
CaloClusterCellMonAlg::m_useTrigger
BooleanProperty m_useTrigger
Definition
CaloClusterCellMonAlg.h:55
CaloClusterCellMonAlg::PartitionEnum
PartitionEnum
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::FCALA
@ FCALA
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::FCALC
@ FCALC
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::MAXPARTITIONS
@ MAXPARTITIONS
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::EMBC
@ EMBC
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::EMECC
@ EMECC
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::HECA
@ HECA
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::HECC
@ HECC
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::EMBA
@ EMBA
Definition
CaloClusterCellMonAlg.h:70
CaloClusterCellMonAlg::EMECA
@ EMECA
Definition
CaloClusterCellMonAlg.h:70
CaloClusterContainer
Storable container for CaloCluster.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
CaloMonAlgBase::CaloMonAlgBase
CaloMonAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CaloMonAlgBase.cxx:7
LArOnlineID
Definition
LArOnlineID.h:21
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
const
CaloClusterCellMonAlg
Definition
CaloClusterCellMonAlg.py:1
CaloMonAlgBase
Definition
CaloMonAlgBase.py:1
MET
Definition
MET.py:1
SG
Forward declaration.
Definition
CaloCellPacker_400_500.h:32
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
initialize
void initialize()
Definition
run_EoverP.cxx:894
private
#define private
Definition
testRead.cxx:27
Generated on
for ATLAS Offline Software by
1.17.0