ATLAS Offline Software
Loading...
Searching...
No Matches
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
13class PixelID;
14
15namespace 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*/
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
Gaudi::Property< float > m_sctThreshold
Gaudi::Property< float > m_pixelThreshold
PRD_MultiTruthBuilder(const std::string &type, const std::string &name, const IInterface *parent)
virtual void addPrepRawDatum(PRD_MultiTruthCollection *prdTruth, const Trk::PrepRawData *prd, const InDetSimDataCollection *simDataMap, bool pixels) const
A PRD is mapped onto all contributing particles.
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
Primary Vertex Finder.