ATLAS Offline Software
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 
12 #include "xAODForward/AFPSiHit.h"
15 
16 #include "TRandom3.h"
17 
19 
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 
27 private:
28  std::map<std::string,std::map<std::string,int>> m_StationPlaneGroup;
29  std::map<std::string,int> m_StationGroup;
31  SG::ReadCondHandleKey<BunchCrossingCondData> m_bunchCrossingKey{this, "BunchCrossingKey", "BunchCrossingData", "Key BunchCrossing CDO" };
32 
33 
34 protected:
35  std::vector<std::string> m_pixlayers = { "P0", "P1", "P2", "P3"};
36  std::vector<std::string> m_stationnames = { "farAside", "nearAside" , "nearCside" , "farCside"};
37 
38 };
39 #endif
40 
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
BunchCrossingCondData
Definition: BunchCrossingCondData.h:23
AFPFastReco.h
AFPSiLayerAlgorithm::m_stationnames
std::vector< std::string > m_stationnames
Definition: AFPSiLayerAlgorithm.h:36
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AFPSiLayerAlgorithm
Definition: AFPSiLayerAlgorithm.h:20
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
AFPSiLayerAlgorithm::m_pixlayers
std::vector< std::string > m_pixlayers
Definition: AFPSiLayerAlgorithm.h:35
AFPSiLayerAlgorithm::m_bunchCrossingKey
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
Definition: AFPSiLayerAlgorithm.h:31
AFPSiLayerAlgorithm::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: AFPSiLayerAlgorithm.cxx:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthMonitorAlgorithm.h
AFPSiLayerAlgorithm::AFPSiLayerAlgorithm
AFPSiLayerAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AFPSiLayerAlgorithm.cxx:24
AFPSiLayerAlgorithm::m_afpHitContainerKey
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpHitContainerKey
Definition: AFPSiLayerAlgorithm.h:30
AFPSiLayerAlgorithm::~AFPSiLayerAlgorithm
virtual ~AFPSiLayerAlgorithm()
Definition: AFPSiLayerAlgorithm.cxx:32
Monitored.h
Header file to be included by clients of the Monitored infrastructure.
AFPSiLayerAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AFPSiLayerAlgorithm.cxx:35
AFPSiHit.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AFPSiHitContainer.h
SG::ReadCondHandleKey< BunchCrossingCondData >
AFPSiLayerAlgorithm::m_StationPlaneGroup
std::map< std::string, std::map< std::string, int > > m_StationPlaneGroup
Definition: AFPSiLayerAlgorithm.h:28
AFPSiLayerAlgorithm::m_StationGroup
std::map< std::string, int > m_StationGroup
Definition: AFPSiLayerAlgorithm.h:29
BunchCrossingCondData.h
Replaces the BunchCrossing AlgTool used in run1/2.