ATLAS Offline Software
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 
13 
14 #include <vector>
15 
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;
26 
27  private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPToFSiTAlgorithm::m_afpTrackContainerKey
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_afpTrackContainerKey
Definition: AFPToFSiTAlgorithm.h:30
AFPTrackContainer.h
AFPToFSiTAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &) const override
adds event to the monitoring histograms
Definition: AFPToFSiTAlgorithm.cxx:46
AFPToFSiTAlgorithm::m_planes
std::vector< std::string > m_planes
Definition: AFPToFSiTAlgorithm.h:37
AFPToFSiTAlgorithm::AFPToFSiTAlgorithm
AFPToFSiTAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AFPToFSiTAlgorithm.cxx:19
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AFPToFSiTAlgorithm::m_tofTrainGapSize
const float m_tofTrainGapSize
Definition: AFPToFSiTAlgorithm.h:34
AFPToFSiTAlgorithm
AFP monitoring algorithm combining data from Si-layer and ToF.
Definition: AFPToFSiTAlgorithm.h:19
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
AFPToFSiTAlgorithm::m_afpToFHitContainerKey
SG::ReadHandleKey< xAOD::AFPToFHitContainer > m_afpToFHitContainerKey
Definition: AFPToFSiTAlgorithm.h:29
AFPToFSiTAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AFPToFSiTAlgorithm.cxx:29
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AFPSiHitContainer.h
AFPToFSiTAlgorithm::fillHistograms_eff
virtual StatusCode fillHistograms_eff(const xAOD::AFPTrackContainer &, const xAOD::AFPToFHitContainer &) const
Definition: AFPToFSiTAlgorithm.cxx:234
AFPToFSiTAlgorithm::~AFPToFSiTAlgorithm
virtual ~AFPToFSiTAlgorithm()
Definition: AFPToFSiTAlgorithm.cxx:27
AFPToFSiTAlgorithm::m_tofTrainsCoordinates
const std::vector< float > m_tofTrainsCoordinates[2]
Definition: AFPToFSiTAlgorithm.h:33
AFPToFSiTAlgorithm::m_afpSiHitContainerKey
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpSiHitContainerKey
Definition: AFPToFSiTAlgorithm.h:28
AFPToFSiTAlgorithm::m_GroupToFSiTCorr
std::map< std::string, int > m_GroupToFSiTCorr
Definition: AFPToFSiTAlgorithm.h:31
AFPToFHitContainer.h