 |
ATLAS Offline Software
|
Go to the documentation of this file.
6 #ifndef DERIVATIONFRAMEWORKEGAMMA_EGammaGSFCalo_H
7 #define DERIVATIONFRAMEWORKEGAMMA_EGammaGSFCalo_H
45 this,
"ElectronCollectionName",
"Electrons",
"Input electron collection"};
48 this,
"OutputTrkPartContainerName",
"GSFCaloContainer",
49 "Output GSF+Calo container"};
52 this,
"GSFCaloTrackLinkKey",
"Electrons.gsfCaloTrackParticleLink",
53 "Decoration linking electrons to refitted TrackParticles"};
56 this,
"TrackRefitTool",
"ElectronRefitterTool",
"Track refitter tool"};
60 this,
"TrackParticleCreatorTool",
"TrackParticleCreatorTool",
61 "TrackParticle creator tool"};
64 this,
"TrackSummaryTool",
"Trk::TrackSummaryTool/AtlasTrackSummaryTool"};
69 "Minimum number of silicon hits on track "
70 "before it is allowed to be refitted"};
71 Gaudi::Property<bool>
m_doPix{
this,
"usePixel",
true,
72 "Bool to use pixel hits"};
73 Gaudi::Property<bool>
m_doSCT{
this,
"useSCT",
true,
"Bool to use SCT hits"};
74 Gaudi::Property<bool>
m_doTRT{
this,
"useTRT",
true,
"Bool to use TRT hits"};
76 Gaudi::Property<bool>
m_doTruth{
this,
"useTruth",
true,
77 "Bool to add truth decorations"};
79 Gaudi::Property<bool>
m_isAOD{
this,
"isAOD",
true,
"AOD flag"};
83 mutable std::atomic<unsigned int>
m_noTP = 0;
85 mutable std::atomic<unsigned int>
m_noTrk = 0;
91 mutable std::atomic<unsigned int>
m_tsos = 0;
101 dest.setSummaryValue(
value, information);
106 #endif // DERIVATIONFRAMEWORKEGAMMA_EGammaGSFCalo_H
virtual StatusCode initialize() override
initialize method
Gaudi::Property< bool > m_doSCT
EGammaGSFCalo(const std::string &t, const std::string &n, const IInterface *p)
Default constructor.
std::atomic< unsigned int > m_tsos
PublicToolHandle< Trk::IExtendedTrackSummaryTool > m_trackSummaryTool
std::atomic< unsigned int > m_noTrk
Gaudi::Property< bool > m_doTruth
void copySummaryValue(const xAOD::TrackParticle &src, xAOD::TrackParticle &dest, const xAOD::SummaryType &information) const
ToolHandle< IegammaTrkRefitterTool > m_trkRefitTool
The track refitter.
ToolHandle< Trk::ITrackParticleCreatorTool > m_particleCreatorTool
Tool to create track particle.
std::atomic< unsigned int > m_onlyTRT
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronCollectionKey
std::atomic< unsigned int > m_allNewTP
SummaryType
Enumerates the different types of information stored in Summary.
void copyInfo(const xAOD::TrackParticle &original, xAOD::TrackParticle &created, bool isRefitted) const
Copy TrackParticle info from the original TP.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Gaudi::Property< bool > m_doPix
std::atomic< unsigned int > m_noTP
Gaudi::Property< int > m_minNSiHits
Minimum number of silicon hits on track before it is allowed to be refitted.
Gaudi::Property< bool > m_isAOD
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual ~EGammaGSFCalo()
Destructor.
std::atomic< unsigned int > m_successfulCopyInfos
int summaryValueInt(const xAOD::TrackParticle &tp, const xAOD::SummaryType &info, int deflt=-999)
return the summary value for a TrackParticle or default value (-999) (to be used mostly in python whe...
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_OutputTrkPartContainerKey
Property holding a SG store/key/clid from which a WriteHandle is made.
SG::WriteDecorHandleKey< xAOD::ElectronContainer > m_gsfCaloTrackLinkKey
virtual StatusCode addBranches(const EventContext &ctx) const override
addBranches method
std::atomic< unsigned int > m_failedFits
std::atomic< unsigned int > m_successfulFits
virtual StatusCode finalize() override
finalize method
std::atomic< unsigned int > m_noRefTP
std::atomic< unsigned int > m_allElectrons
Counters.
Gaudi::Property< bool > m_doTRT
Class describing a TrackParticle.