ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
Run3AFPMonitoring
Run3AFPMonitoring
AFPSiLayerAlgorithm.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AFPSILAYERALGORITHM_H
6
#define AFPSILAYERALGORITHM_H
7
8
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
9
#include "
AthenaMonitoringKernel/Monitored.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
xAODForward/AFPSiHitContainer.h
"
12
#include "
xAODForward/AFPSiHit.h
"
13
#include "
LumiBlockData/BunchCrossingCondData.h
"
14
#include <
Run3AFPMonitoring/AFPFastReco.h
>
15
16
#include "TRandom3.h"
17
18
class
BunchCrossingCondData
;
19
20
class
AFPSiLayerAlgorithm
:
public
AthMonitorAlgorithm
{
21
public
:
22
AFPSiLayerAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
23
virtual
~AFPSiLayerAlgorithm
();
24
virtual
StatusCode
initialize
()
override
;
25
virtual
StatusCode
fillHistograms
(
const
EventContext& ctx )
const override
;
26
virtual
StatusCode
fillHistogramsPlaneEff
(
const
xAOD::AFPSiHitContainer
&)
const
;
27
28
private
:
29
std::map<std::string,std::map<std::string,int>>
m_StationPlaneGroup
;
30
std::map<std::string,int>
m_StationGroup
;
31
SG::ReadHandleKey<xAOD::AFPSiHitContainer>
m_afpHitContainerKey
;
32
SG::ReadCondHandleKey<BunchCrossingCondData>
m_bunchCrossingKey
{
this
,
"BunchCrossingKey"
,
"BunchCrossingData"
,
"Key BunchCrossing CDO"
};
33
34
35
protected
:
36
std::vector<std::string>
m_pixlayers
= {
"P0"
,
"P1"
,
"P2"
,
"P3"
};
37
std::vector<std::string>
m_stationnames
= {
"farAside"
,
"nearAside"
,
"nearCside"
,
"farCside"
};
38
39
};
40
#endif
41
AFPFastReco.h
AFPSiHitContainer.h
AFPSiHit.h
AthMonitorAlgorithm.h
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPSiLayerAlgorithm::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition
AFPSiLayerAlgorithm.h:32
AFPSiLayerAlgorithm::m_StationGroup
std::map< std::string, int > m_StationGroup
Definition
AFPSiLayerAlgorithm.h:30
AFPSiLayerAlgorithm::fillHistogramsPlaneEff
virtual StatusCode fillHistogramsPlaneEff(const xAOD::AFPSiHitContainer &) const
Definition
AFPSiLayerAlgorithm.cxx:399
AFPSiLayerAlgorithm::m_afpHitContainerKey
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpHitContainerKey
Definition
AFPSiLayerAlgorithm.h:31
AFPSiLayerAlgorithm::m_stationnames
std::vector< std::string > m_stationnames
Definition
AFPSiLayerAlgorithm.h:37
AFPSiLayerAlgorithm::~AFPSiLayerAlgorithm
virtual ~AFPSiLayerAlgorithm()
Definition
AFPSiLayerAlgorithm.cxx:32
AFPSiLayerAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition
AFPSiLayerAlgorithm.cxx:53
AFPSiLayerAlgorithm::m_pixlayers
std::vector< std::string > m_pixlayers
Definition
AFPSiLayerAlgorithm.h:36
AFPSiLayerAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition
AFPSiLayerAlgorithm.cxx:35
AFPSiLayerAlgorithm::AFPSiLayerAlgorithm
AFPSiLayerAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
AFPSiLayerAlgorithm.cxx:24
AFPSiLayerAlgorithm::m_StationPlaneGroup
std::map< std::string, std::map< std::string, int > > m_StationPlaneGroup
Definition
AFPSiLayerAlgorithm.h:29
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
BunchCrossingCondData
Definition
BunchCrossingCondData.h:23
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
xAOD::AFPSiHitContainer
AFPSiHitContainer_v2 AFPSiHitContainer
Definition
AFPSiHitContainer.h:12
Generated on
for ATLAS Offline Software by
1.17.0