ATLAS Offline Software
Loading...
Searching...
No Matches
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;
25 virtual StatusCode fillHistograms_eff( const xAOD::AFPTrackContainer&, const xAOD::AFPToFHitContainer& ) const;
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
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual StatusCode initialize() override
initialize
const float m_tofTrainGapSize
AFPToFSiTAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< xAOD::AFPTrackContainer > m_afpTrackContainerKey
std::vector< std::string > m_planes
SG::ReadHandleKey< xAOD::AFPToFHitContainer > m_afpToFHitContainerKey
virtual StatusCode fillHistograms_eff(const xAOD::AFPTrackContainer &, const xAOD::AFPToFHitContainer &) const
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpSiHitContainerKey
virtual StatusCode fillHistograms(const EventContext &) const override
adds event to the monitoring histograms
std::map< std::string, int > m_GroupToFSiTCorr
const std::vector< float > m_tofTrainsCoordinates[2]
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPToFHitContainer_v1 AFPToFHitContainer
AFPTrackContainer_v2 AFPTrackContainer