ATLAS Offline Software
PRD_MultiTruthBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // A tool to add a PRD to PRD_MultiTruthCollection.
6 
7 #ifndef PRD_MULTITRUTHBUILDER_H
8 #define PRD_MULTITRUTHBUILDER_H
9 
12 
13 class PixelID;
14 
15 namespace InDet {
16 
18  public AthAlgTool
19  {
20  public:
21  PRD_MultiTruthBuilder(const std::string& type, const std::string& name, const IInterface* parent);
22 
23  virtual void addPrepRawDatum(PRD_MultiTruthCollection *prdTruth,
24  const Trk::PrepRawData* prd,
25  const InDetSimDataCollection* simDataMap,
26  bool pixels
27  ) const;
28 
29  virtual StatusCode initialize();
30 
31  private:
33 
34  Gaudi::Property<float> m_pixelThreshold{
35  this,
36  "PixelThreshold",
37  300,
38  "Minimum charge in a cluster required to associate a truth particle to a pixel RDO [e's] -- default set to ~noise level = ~1/10 of threshold"
39  };
40 
41  Gaudi::Property<float> m_sctThreshold{
42  this,
43  "SCT_Threshold",
44  600,
45  "Minimum charge in a cluster required to associate a truth particle to a SCT RDO [e's] -- default set to ~1/10 threshold"
46  };
47  };
48 
49 
50 }
51 
52 #endif/*PRD_MULTITRUTHBUILDER_H*/
InDet::PRD_MultiTruthBuilder::addPrepRawDatum
virtual void addPrepRawDatum(PRD_MultiTruthCollection *prdTruth, const Trk::PrepRawData *prd, const InDetSimDataCollection *simDataMap, bool pixels) const
Definition: PRD_MultiTruthBuilder.cxx:44
InDet::PRD_MultiTruthBuilder::PRD_MultiTruthBuilder
PRD_MultiTruthBuilder(const std::string &type, const std::string &name, const IInterface *parent)
Definition: PRD_MultiTruthBuilder.cxx:24
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
PRD_MultiTruthCollection
A PRD is mapped onto all contributing particles.
Definition: PRD_MultiTruthCollection.h:24
InDetSimDataCollection
Definition: InDetSimDataCollection.h:25
InDet::PRD_MultiTruthBuilder
Definition: PRD_MultiTruthBuilder.h:19
IPRD_MultiTruthBuilder.h
InDet::PRD_MultiTruthBuilder::m_sctThreshold
Gaudi::Property< float > m_sctThreshold
Definition: PRD_MultiTruthBuilder.h:41
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::PrepRawData
Definition: PrepRawData.h:62
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
InDet::PRD_MultiTruthBuilder::initialize
virtual StatusCode initialize()
Definition: PRD_MultiTruthBuilder.cxx:31
InDet::PRD_MultiTruthBuilder::m_idHelperPixel
const PixelID * m_idHelperPixel
Definition: PRD_MultiTruthBuilder.h:32
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AthAlgTool
Definition: AthAlgTool.h:26
InDet::IPRD_MultiTruthBuilder
Definition: IPRD_MultiTruthBuilder.h:24
PixelID
Definition: PixelID.h:67
InDet::PRD_MultiTruthBuilder::m_pixelThreshold
Gaudi::Property< float > m_pixelThreshold
Definition: PRD_MultiTruthBuilder.h:34