ATLAS Offline Software
PixelAthMVAMonAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PIXELATHMVAMONTOOL_H
6 #define PIXELATHMVAMONTOOL_H
7 
9 
10 
17 
19 #include "MVAUtils/BDT.h"
20 
21 
22 #include <map>
23 #include <memory>
24 
25 class PixelID;
26 class PixelRDORawData;
27 
28 namespace InDet {
29  class PixelCluster;
30  class IInDetTrackSelectionTool;
31 }
32 namespace Trk {
33  class ITrackHoleSearchTool;
34 }
35 
37 
38  public:
39 
40  PixelAthMVAMonAlg( const std::string& name, ISvcLocator* pSvcLocator );
41  virtual ~PixelAthMVAMonAlg();
42  virtual StatusCode initialize() override;
43  virtual StatusCode fillHistograms( const EventContext& ctx ) const override;
44  std::string findComponentString(int bec, int ld) const;
45 
46  private:
47 
48  ToolHandle<Trk::ITrackHoleSearchTool> m_holeSearchTool;
49  ToolHandle<InDet::IInDetTrackSelectionTool> m_trackSelTool;
50  ToolHandle<Trk::IExtrapolator> m_trkextrapolator;
51 
53 
54  SG::ReadHandleKey<PixelRDO_Container> m_pixelRDOName{this, "RDOName", "PixelRDOs", "rdo data key"};
55  SG::ReadHandleKey<InDet::PixelClusterContainer> m_clustersKey{this, "ClusterName", "PixelClusters", "pixel cluster data key" };
56  SG::ReadHandleKey<xAOD::TrackParticleContainer> m_trackParticlesKey{this, "TrackParticleContainerName", "InDetTrackParticles", "track particle data key"};
57 
58  std::string m_calibFolder;
59  std::map<std::string, std::unique_ptr<MVAUtils::BDT> > m_classBDT;
60 
61  bool m_dumpTree;
62 };
63 #endif
PixelAthMVAMonAlg::m_holeSearchTool
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
Definition: PixelAthMVAMonAlg.h:48
PixelAthMVAMonAlg::findComponentString
std::string findComponentString(int bec, int ld) const
PixelCluster
Definition: Trigger/TrigAccel/TrigCudaFitter/src/PixelCluster.h:7
ParticleGun_SamplingFraction.bec
int bec
Definition: ParticleGun_SamplingFraction.py:89
PixelAthMVAMonAlg::m_clustersKey
SG::ReadHandleKey< InDet::PixelClusterContainer > m_clustersKey
Definition: PixelAthMVAMonAlg.h:55
InDet
DUMMY Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
PixelAthMVAMonAlg::m_trkextrapolator
ToolHandle< Trk::IExtrapolator > m_trkextrapolator
Definition: PixelAthMVAMonAlg.h:50
IExtrapolator.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
PixelAthMVAMonAlg::m_trackParticlesKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
Definition: PixelAthMVAMonAlg.h:56
PixelAthMVAMonAlg::m_classBDT
std::map< std::string, std::unique_ptr< MVAUtils::BDT > > m_classBDT
Definition: PixelAthMVAMonAlg.h:59
PixelAthMVAMonAlg::fillHistograms
virtual StatusCode fillHistograms(const EventContext &ctx) const override
adds event to the monitoring histograms
Definition: PixelAthMVAMonAlg.cxx:69
PixelAthMVAMonAlg::initialize
virtual StatusCode initialize() override
initialize
Definition: PixelAthMVAMonAlg.cxx:35
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PixelAthMonitoringBase.h
BDT.h
IInDetTrackSelectionTool.h
ITrackHoleSearchTool.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
PathResolver.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PixelClusterContainer.h
PixelAthMVAMonAlg::m_trackSelTool
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelTool
Definition: PixelAthMVAMonAlg.h:49
PixelRDO_Container.h
PixelAthMVAMonAlg::m_calibFolder
std::string m_calibFolder
Definition: PixelAthMVAMonAlg.h:58
PixelAthMVAMonAlg::m_pixelRDOName
SG::ReadHandleKey< PixelRDO_Container > m_pixelRDOName
Definition: PixelAthMVAMonAlg.h:54
PixelAthMVAMonAlg::~PixelAthMVAMonAlg
virtual ~PixelAthMVAMonAlg()
Definition: PixelAthMVAMonAlg.cxx:33
PixelAthMVAMonAlg::m_dumpTree
bool m_dumpTree
Definition: PixelAthMVAMonAlg.h:61
PixelAthMVAMonAlg
Definition: PixelAthMVAMonAlg.h:36
PixelRDORawData
Definition: PixelRDORawData.h:23
PixelAthMonitoringBase
Definition: PixelAthMonitoringBase.py:1
PixelAthMVAMonAlg::PixelAthMVAMonAlg
PixelAthMVAMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: PixelAthMVAMonAlg.cxx:19
PixelID
Definition: PixelID.h:67
geometry_dat_to_json.ld
ld
Definition: geometry_dat_to_json.py:14
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
TrackParticleContainer.h
PixelAthMVAMonAlg::m_atlasid
const AtlasDetectorID * m_atlasid
Definition: PixelAthMVAMonAlg.h:52