ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
AFP
Run3AFPMonitoring
Run3AFPMonitoring
AFPToFSiTAlgorithm.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 AFPTOFSITALGORITHM_H
6
#define AFPTOFSITALGORITHM_H
7
8
#include "
AthenaMonitoring/AthMonitorAlgorithm.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
xAODForward/AFPSiHitContainer.h
"
11
#include "
xAODForward/AFPToFHitContainer.h
"
12
#include "
xAODForward/AFPTrackContainer.h
"
13
14
#include <vector>
15
19
class
AFPToFSiTAlgorithm
:
public
AthMonitorAlgorithm
{
20
public
:
21
AFPToFSiTAlgorithm
(
const
std::string& name, ISvcLocator* pSvcLocator );
22
virtual
~AFPToFSiTAlgorithm
();
23
virtual
StatusCode
initialize
()
override
;
24
virtual
StatusCode
fillHistograms
(
const
EventContext& )
const override
;
25
virtual
StatusCode
fillHistograms_eff
(
const
xAOD::AFPTrackContainer
&,
const
xAOD::AFPToFHitContainer
& )
const
;
26
27
private
:
28
SG::ReadHandleKey<xAOD::AFPSiHitContainer>
m_afpSiHitContainerKey
;
29
SG::ReadHandleKey<xAOD::AFPToFHitContainer>
m_afpToFHitContainerKey
;
30
SG::ReadHandleKey<xAOD::AFPTrackContainer>
m_afpTrackContainerKey
;
31
std::map<std::string,int>
m_GroupToFSiTCorr
;
32
33
const
std::vector<float>
m_tofTrainsCoordinates
[2] = {{-1.9, -4.9, -8.0, -13.0, -15.0},{-1.9, -5.3, -8.4, -13.4, -15.0}};
34
const
float
m_tofTrainGapSize
= 0.1;
35
36
protected
:
37
std::vector<std::string>
m_planes
= {
"P0"
,
"P1"
,
"P2"
,
"P3"
};
38
};
39
40
#endif
AFPSiHitContainer.h
AFPToFHitContainer.h
AFPTrackContainer.h
AthMonitorAlgorithm.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPToFSiTAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition
AFPToFSiTAlgorithm.cxx:34
AFPToFSiTAlgorithm::m_tofTrainGapSize
const float m_tofTrainGapSize
Definition
AFPToFSiTAlgorithm.h:34
AFPToFSiTAlgorithm::AFPToFSiTAlgorithm
AFPToFSiTAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition
AFPToFSiTAlgorithm.cxx:24
AFPToFSiTAlgorithm::m_afpTrackContainerKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_afpTrackContainerKey
Definition
AFPToFSiTAlgorithm.h:30
AFPToFSiTAlgorithm::m_planes
std::vector< std::string > m_planes
Definition
AFPToFSiTAlgorithm.h:37
AFPToFSiTAlgorithm::m_afpToFHitContainerKey
SG::ReadHandleKey< xAOD::AFPToFHitContainer > m_afpToFHitContainerKey
Definition
AFPToFSiTAlgorithm.h:29
AFPToFSiTAlgorithm::fillHistograms_eff
virtual StatusCode fillHistograms_eff(const xAOD::AFPTrackContainer &, const xAOD::AFPToFHitContainer &) const
Definition
AFPToFSiTAlgorithm.cxx:239
AFPToFSiTAlgorithm::m_afpSiHitContainerKey
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpSiHitContainerKey
Definition
AFPToFSiTAlgorithm.h:28
AFPToFSiTAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &) const override
adds event to the monitoring histograms
Definition
AFPToFSiTAlgorithm.cxx:51
AFPToFSiTAlgorithm::m_GroupToFSiTCorr
std::map< std::string, int > m_GroupToFSiTCorr
Definition
AFPToFSiTAlgorithm.h:31
AFPToFSiTAlgorithm::~AFPToFSiTAlgorithm
virtual ~AFPToFSiTAlgorithm()
Definition
AFPToFSiTAlgorithm.cxx:32
AFPToFSiTAlgorithm::m_tofTrainsCoordinates
const std::vector< float > m_tofTrainsCoordinates[2]
Definition
AFPToFSiTAlgorithm.h:33
AthMonitorAlgorithm::AthMonitorAlgorithm
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthMonitorAlgorithm.cxx:8
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
xAOD::AFPToFHitContainer
AFPToFHitContainer_v1 AFPToFHitContainer
Definition
AFPToFHitContainer.h:12
xAOD::AFPTrackContainer
AFPTrackContainer_v2 AFPTrackContainer
Definition
AFPTrackContainer.h:12
Generated on
for ATLAS Offline Software by
1.17.0