ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16#include "TRandom3.h"
17
19
21public:
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
28private:
29 std::map<std::string,std::map<std::string,int>> m_StationPlaneGroup;
30 std::map<std::string,int> m_StationGroup;
32 SG::ReadCondHandleKey<BunchCrossingCondData> m_bunchCrossingKey{this, "BunchCrossingKey", "BunchCrossingData", "Key BunchCrossing CDO" };
33
34
35protected:
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
Replaces the BunchCrossing AlgTool used in run1/2.
Header file to be included by clients of the Monitored infrastructure.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
std::map< std::string, int > m_StationGroup
virtual StatusCode fillHistogramsPlaneEff(const xAOD::AFPSiHitContainer &) const
SG::ReadHandleKey< xAOD::AFPSiHitContainer > m_afpHitContainerKey
std::vector< std::string > m_stationnames
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
std::vector< std::string > m_pixlayers
virtual StatusCode initialize() override
initialize
AFPSiLayerAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
std::map< std::string, std::map< std::string, int > > m_StationPlaneGroup
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Property holding a SG store/key/clid from which a ReadHandle is made.
AFPSiHitContainer_v2 AFPSiHitContainer