ATLAS Offline Software
ConversionFinder.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 /***************************************************************************
6  ConversionFinder.h - Description
7  -------------------
8  begin : 10-11-2005
9  authors : Tatjana Lenz
10  email : tatjana.lenz@cern.ch
11  changes :
12  ***************************************************************************/
13 #ifndef INDETCONVERSIONFINDER_CONVERSIONFINDER_H
14 #define INDETCONVERSIONFINDER_CONVERSIONFINDER_H
15 
17 #include "GaudiKernel/ToolHandle.h"
22 
23 
24 namespace InDet{
25 
26  class ConversionFinder : public AthAlgorithm {
27 
28  public:
29  ConversionFinder(const std::string &name, ISvcLocator *pSvcLocator);
34  void resetStatistics(); //<! Initialize the statistics vectors
36 
37  protected:
38 
40  this, "TracksName", "InDetTrackParticles"};
42  this, "InDetConversionOutputName", "InDetConversion"};
43 
44  ToolHandle<IVertexFinder> m_VertexFinderTool{
45  this,
46  "VertexFinderTool",
47  "InDet::InDetConversionFinderTools",
48  "vertex finder tool"
49  };
50  PublicToolHandle<IEMExtrapolationTools> m_EMExtrapolationTool{
51  this,
52  "ExtrapolationTool",
53  "EMExtrapolationTools",
54  "Handle of the extrapolation tool"
55  };
56 
57  BooleanProperty m_doExtrapolation{this, "doExtrapolation", false};
58 
60  long m_events_processed{};
61  long m_Gamma_stored{};
62  long m_Double_Conversions{};
63  long m_Single_Conversions{};
65  long m_SiTrt_Conversions{};
66  long m_TrtTrt_Conversions{};
67  long m_Si_Conversions{};
68  long m_Trt_Conversions{};
69 
70  };
71 }
72 #endif // INDETCONVERSIONFINDER_CONVERSIONFINDER_H
InDet::ConversionFinder::resetStatistics
void resetStatistics()
Definition: ConversionFinder.cxx:81
InDet::ConversionFinder::m_SiSi_Conversions
long m_SiSi_Conversions
Number of Si-Si track conversions.
Definition: ConversionFinder.h:78
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
InDet::ConversionFinder::finalize
StatusCode finalize()
Definition: ConversionFinder.cxx:54
InDet::ConversionFinder::m_Gamma_stored
long m_Gamma_stored
Number of conversion vertices stored.
Definition: ConversionFinder.h:75
InDet::ConversionFinder::analyzeResults
void analyzeResults(xAOD::VertexContainer *)
Definition: ConversionFinder.cxx:185
SG::ReadHandleKey< xAOD::TrackParticleContainer >
IEMExtrapolationTools.h
InDet::ConversionFinder::m_Single_Conversions
long m_Single_Conversions
Number of single-track conversions.
Definition: ConversionFinder.h:77
InDet::ConversionFinder::initialize
StatusCode initialize()
Definition: ConversionFinder.cxx:40
InDet::ConversionFinder::m_doExtrapolation
BooleanProperty m_doExtrapolation
Definition: ConversionFinder.h:71
IVertexFinder.h
InDet::ConversionFinder::m_Trt_Conversions
long m_Trt_Conversions
Number of TRT single-track conversions.
Definition: ConversionFinder.h:82
InDet::ConversionFinder::m_SiTrt_Conversions
long m_SiTrt_Conversions
Number of Si-TRT track conversions.
Definition: ConversionFinder.h:79
AthAlgorithm.h
InDet::ConversionFinder::execute
StatusCode execute()
Definition: ConversionFinder.cxx:118
InDet::ConversionFinder::m_tracksName
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tracksName
Name of track container in StoreGate.
Definition: ConversionFinder.h:53
InDet::ConversionFinder::m_Double_Conversions
long m_Double_Conversions
Number of two-track conversions.
Definition: ConversionFinder.h:76
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::ConversionFinder::~ConversionFinder
~ConversionFinder()
InDet::ConversionFinder::m_events_processed
long m_events_processed
Statistics
Definition: ConversionFinder.h:74
InDet::ConversionFinder::m_InDetConversionOutputName
SG::WriteHandleKey< xAOD::VertexContainer > m_InDetConversionOutputName
Name of output container to store results.
Definition: ConversionFinder.h:55
InDet::ConversionFinder::m_TrtTrt_Conversions
long m_TrtTrt_Conversions
Number of TRT-TRT track conversions.
Definition: ConversionFinder.h:80
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
VertexContainer.h
InDet::ConversionFinder::m_EMExtrapolationTool
PublicToolHandle< IEMExtrapolationTools > m_EMExtrapolationTool
Definition: ConversionFinder.h:64
InDet::ConversionFinder::m_Si_Conversions
long m_Si_Conversions
Number of Si single-track conversions.
Definition: ConversionFinder.h:81
InDet::ConversionFinder::ConversionFinder
ConversionFinder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: ConversionFinder.cxx:34
TrackParticleContainer.h
InDet::ConversionFinder::m_VertexFinderTool
ToolHandle< IVertexFinder > m_VertexFinderTool
Definition: ConversionFinder.h:58