|
ATLAS Offline Software
|
Algorithm which creates new brem-refitted tracks.
More...
#include <EMBremCollectionBuilder.h>
|
| EMBremCollectionBuilder (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual StatusCode | initialize () override final |
|
virtual StatusCode | finalize () override final |
|
virtual StatusCode | execute (const EventContext &ctx) const override final |
|
virtual StatusCode | sysInitialize () override |
| Override sysInitialize. More...
|
|
virtual bool | isClonable () const override |
| Specify if the algorithm is clonable. More...
|
|
virtual unsigned int | cardinality () const override |
| Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant. More...
|
|
virtual StatusCode | sysExecute (const EventContext &ctx) override |
| Execute an algorithm. More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
virtual bool | filterPassed (const EventContext &ctx) const |
|
virtual void | setFilterPassed (bool state, const EventContext &ctx) const |
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
StatusCode | refitTracks (const EventContext &ctx, const std::vector< const xAOD::TrackParticle * > &input, std::vector< TrackWithIndex > &refitted, std::vector< TrackWithIndex > &failedfit) const |
|
StatusCode | createCollections (const EventContext &ctx, std::vector< TrackWithIndex > &refitted, std::vector< TrackWithIndex > &failedfit, std::vector< TrackWithIndex > &trtAlone, TrackCollection *finalTracks, xAOD::TrackParticleContainer *finalTrkPartContainer, const xAOD::TrackParticleContainer *inputTrkPartContainer) const |
|
StatusCode | createNew (const EventContext &ctx, TrackWithIndex &Info, TrackCollection *finalTracks, xAOD::TrackParticleContainer *finalTrkPartContainer, const xAOD::TrackParticleContainer *inputTrkPartContainer, bool isRefitted) const |
|
void | copyOverInfo (xAOD::TrackParticle &created, const xAOD::TrackParticle &original, bool isRefitted) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
|
Gaudi::Property< bool > | m_doTruth { this, "DoTruth", false, "do truth" } |
| Option to do truth. More...
|
|
Gaudi::Property< bool > | m_doSCT { this, "useSCT", true, "do SCT" } |
| Option to copy SCT holes estimation. More...
|
|
Gaudi::Property< bool > | m_doPix { this, "usePixel", true, "do Pix" } |
| Option to copy pixel holes estimation. More...
|
|
Gaudi::Property< bool > | m_doTRT { this, "useTRT", true, "do TRT" } |
| Option to copy TRT holes estimation. More...
|
|
Gaudi::Property< bool > | m_doSlimTrkTracks |
| Option to slim the Trk::Tracks. More...
|
|
Gaudi::Property< bool > | m_doHGTD { this, "useHGTD", false, "do HGTD" } |
| Option to copy HGTD time to new gsf tracks. More...
|
|
Gaudi::Property< int > | m_MinNoSiHits |
| @Cut on minimum silicon hits More...
|
|
ToolHandle< IegammaTrkRefitterTool > | m_trkRefitTool |
| The track refitter. More...
|
|
ToolHandle< Trk::ITrackParticleCreatorTool > | m_particleCreatorTool |
| Tool to create track particle. More...
|
|
ToolHandle< Trk::ITrackSlimmingTool > | m_slimTool |
| Tool to slim tracks
More...
|
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_trackParticleContainerKey |
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_selectedTrackParticleContainerKey |
| Names of input output collections. More...
|
|
SG::WriteHandleKey< xAOD::TrackParticleContainer > | m_OutputTrkPartContainerKey |
|
SG::WriteHandleKey< TrackCollection > | m_OutputTrackContainerKey |
|
std::atomic_uint | m_FailedFitTracks { 0 } |
|
std::atomic_uint | m_RefittedTracks { 0 } |
|
std::atomic_uint | m_FailedSiliconRequirFit { 0 } |
|
DataObjIDColl | m_extendedExtraObjects |
| Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks. More...
|
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Algorithm which creates new brem-refitted tracks.
- Author
- Christos Anastopoulos
-
Anthony Morley
Input containers:
- TrackParticleContainerName (default=InDetTrackParticles): all the track particles
- SelectedTrackParticleContainerName (default=egammaSelectedTrackParticles): selected track particle to be refitted
Output continers:
- OutputTrkPartContainerName (default=GSFTrackParticles): refitted track particle
- OutputTrackContainerName (default=GSFTracks): refitted slimmed tracks
Only tracks with a minimum number of Si-hits (minNoSiHits) are refitted. The refitted Trk::Tracks, and "copies" of the selected but not refitted Trk:;Tracks (i.e TRT alone), are saved in the output containers.
The GSF refitting can be done only when the full xAOD::Track is available (e.g. not in standard AOD). The refitting is delegated to a tool implementing the IegammaTrkRefitterTool interface, configured with the TrackRefitTool property (by default ElectronRefitterTool).
The final track particles are created from the Trk::Tracks (refitted or copied) with a tool implementing the Trk::ITrackParticleCreatorTool interface configured with the property TrackParticleCreatorTool (by default TrackParticleCreatorTool). During the above summary creation we prefer to avoid the so called hole-search so we copy over this information for Pixel, SCT, TRT according to the property usePixel, useSCT, useTRT.
Truth information is copied from the original xAOD::TrackParticle. The Trk::Tracks (refitted or copied) are saved after slimming with a tool implementing the Trk::ITrackSlimmingTool interface, configurable with the TrackSlimmingTool property (by default TrkTrackSlimmingTool).
Definition at line 70 of file EMBremCollectionBuilder.h.
◆ StoreGateSvc_t
◆ EMBremCollectionBuilder()
EMBremCollectionBuilder::EMBremCollectionBuilder |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ cardinality()
unsigned int AthReentrantAlgorithm::cardinality |
( |
| ) |
const |
|
overridevirtualinherited |
Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
Override this to return 0 for reentrant algorithms.
Override this to return 0 for reentrant algorithms.
Definition at line 55 of file AthReentrantAlgorithm.cxx.
◆ copyOverInfo()
Definition at line 292 of file EMBremCollectionBuilder.cxx.
300 tPL(
"truthParticleLink");
301 if (tPL.isAvailable(original)) {
302 tPL(created) = tPL(original);
305 if (tMP.isAvailable(original)) {
306 tMP(created) = tMP(original);
309 if (tT.isAvailable(original)) {
310 tT(created) = tT(original);
313 if (tO.isAvailable(original)) {
314 tO(created) = tO(original);
◆ createCollections()
Definition at line 192 of file EMBremCollectionBuilder.cxx.
203 for (
auto& trk : refitted) {
207 finalTrkPartContainer,
208 inputTrkPartContainer,
212 for (
auto& trk : failedfit) {
216 finalTrkPartContainer,
217 inputTrkPartContainer,
221 for (
auto& trk : trtAlone) {
225 finalTrkPartContainer,
226 inputTrkPartContainer,
229 return StatusCode::SUCCESS;
◆ createNew()
Definition at line 233 of file EMBremCollectionBuilder.cxx.
244 ctx, *(trk_info.track), finalTrkPartContainer,
nullptr,
xAOD::electron);
248 "Could not create TrackParticle!!! for Track: " << *(trk_info.track));
249 return StatusCode::SUCCESS;
251 size_t origIndex = trk_info.origIndex;
257 tP(
"originalTrackParticle");
259 *inputTrkPartContainer, origIndex, ctx);
260 tP(*aParticle) = linkToOriginal;
263 auto rtsos = trk_info.track->trackStateOnSurfaces()->rbegin();
264 for (; rtsos != trk_info.track->trackStateOnSurfaces()->rend(); ++rtsos) {
266 (*rtsos)->trackParameters() !=
nullptr &&
267 (*rtsos)->measurementOnTrack() !=
nullptr &&
268 !(*rtsos)->measurementOnTrack()->type(
270 QoverPLast = (*rtsos)->trackParameters()->parameters()[
Trk::qOverP];
275 QoverPLM(*aParticle) = QoverPLast;
284 finalTracks->
push_back(std::move(trk_info.track));
286 *finalTracks, finalTracks->
size() - 1, ctx);
288 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode EMBremCollectionBuilder::execute |
( |
const EventContext & |
ctx | ) |
const |
|
finaloverridevirtual |
Definition at line 81 of file EMBremCollectionBuilder.cxx.
93 ATH_CHECK(selectedTrackParticles.isValid());
100 std::make_unique<xAOD::TrackParticleContainer>(),
101 std::make_unique<xAOD::TrackParticleAuxContainer>()));
106 ATH_CHECK(finalTracks.record(std::make_unique<TrackCollection>()));
113 std::vector<const xAOD::TrackParticle*> siliconTrkTracks;
114 siliconTrkTracks.reserve(16);
115 std::vector<TrackWithIndex> trtAloneTrkTracks;
116 trtAloneTrkTracks.reserve(8);
119 ATH_CHECK(trackParticle->trackLink().isValid());
120 const Trk::Track* trktrack = trackParticle->track();
124 siliconTrkTracks.push_back(trackParticle);
127 trtAloneTrkTracks.emplace_back(std::make_unique<Trk::Track>(*trktrack),
128 trackParticle->index());
133 std::vector<TrackWithIndex> refitted;
134 refitted.reserve(siliconTrkTracks.size());
135 std::vector<TrackWithIndex> failedfit;
145 const size_t refittedCount = refitted.size();
146 const size_t failedCount = failedfit.size();
147 const size_t trtCount = trtAloneTrkTracks.size();
148 const size_t totalCount = refittedCount + failedCount + trtCount;
151 cPtrTracks->
reserve(totalCount);
152 cPtrTrkPart->
reserve(totalCount);
166 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthReentrantAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 79 of file AthReentrantAlgorithm.cxx.
86 return Algorithm::extraOutputDeps();
◆ filterPassed()
virtual bool AthReentrantAlgorithm::filterPassed |
( |
const EventContext & |
ctx | ) |
const |
|
inlinevirtualinherited |
◆ finalize()
virtual StatusCode EMBremCollectionBuilder::finalize |
( |
| ) |
|
|
finaloverridevirtual |
◆ initialize()
StatusCode EMBremCollectionBuilder::initialize |
( |
| ) |
|
|
finaloverridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ isClonable()
bool AthReentrantAlgorithm::isClonable |
( |
| ) |
const |
|
overridevirtualinherited |
Specify if the algorithm is clonable.
Reentrant algorithms are clonable.
Reimplemented in Simulation::BeamEffectsAlg, InDet::SiTrackerSpacePointFinder, InDet::SCT_Clusterization, InDet::SiSPSeededTrackFinder, SCTRawDataProvider, InDet::GNNSeedingTrackMaker, SCT_PrepDataToxAOD, RoIBResultToxAOD, InDet::SiSPGNNTrackMaker, SCT_CablingCondAlgFromCoraCool, SCT_ReadCalibDataTestAlg, SCT_CablingCondAlgFromText, SCT_ReadCalibChipDataTestAlg, SCT_TestCablingAlg, SCT_ConfigurationConditionsTestAlg, ITkPixelCablingAlg, ITkStripCablingAlg, SCTEventFlagWriter, SCT_ConditionsSummaryTestAlg, SCT_ModuleVetoTestAlg, SCT_MonitorConditionsTestAlg, SCT_LinkMaskingTestAlg, SCT_MajorityConditionsTestAlg, SCT_RODVetoTestAlg, SCT_SensorsTestAlg, SCT_TdaqEnabledTestAlg, SCT_SiliconConditionsTestAlg, SCTSiLorentzAngleTestAlg, SCT_ByteStreamErrorsTestAlg, SCT_ConditionsParameterTestAlg, SCT_FlaggedConditionTestAlg, SCT_StripVetoTestAlg, SCT_RawDataToxAOD, and SCTSiPropertiesTestAlg.
Definition at line 44 of file AthReentrantAlgorithm.cxx.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ refitTracks()
Definition at line 170 of file EMBremCollectionBuilder.cxx.
180 if (
status == StatusCode::SUCCESS) {
182 refitted.emplace_back(std::move(cache.refittedTrack), in->index());
185 failedfit.emplace_back(std::make_unique<Trk::Track>(*
track), in->index());
188 return StatusCode::SUCCESS;
◆ renounce()
◆ renounceArray()
◆ setFilterPassed()
virtual void AthReentrantAlgorithm::setFilterPassed |
( |
bool |
state, |
|
|
const EventContext & |
ctx |
|
) |
| const |
|
inlinevirtualinherited |
◆ sysExecute()
StatusCode AthReentrantAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
Execute an algorithm.
We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.
Definition at line 67 of file AthReentrantAlgorithm.cxx.
69 return Gaudi::Algorithm::sysExecute (ctx);
◆ sysInitialize()
StatusCode AthReentrantAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.
Reimplemented in InputMakerBase, and HypoBase.
Definition at line 96 of file AthReentrantAlgorithm.cxx.
107 if ( cs.retrieve().isFailure() ) {
109 return StatusCode::SUCCESS;
111 if (cs->regHandle(
this,*
h).isFailure()) {
112 sc = StatusCode::FAILURE;
113 ATH_MSG_ERROR(
"unable to register WriteCondHandle " <<
h->fullKey()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_detStore
◆ m_doHGTD
Gaudi::Property<bool> EMBremCollectionBuilder::m_doHGTD { this, "useHGTD", false, "do HGTD" } |
|
private |
◆ m_doPix
Gaudi::Property<bool> EMBremCollectionBuilder::m_doPix { this, "usePixel", true, "do Pix" } |
|
private |
◆ m_doSCT
Gaudi::Property<bool> EMBremCollectionBuilder::m_doSCT { this, "useSCT", true, "do SCT" } |
|
private |
◆ m_doSlimTrkTracks
Gaudi::Property<bool> EMBremCollectionBuilder::m_doSlimTrkTracks |
|
private |
Initial value:{ this,
"slimTrkTracks",
true,
"Slim the GSF Trk::Tracks" }
Option to slim the Trk::Tracks.
Definition at line 142 of file EMBremCollectionBuilder.h.
◆ m_doTRT
Gaudi::Property<bool> EMBremCollectionBuilder::m_doTRT { this, "useTRT", true, "do TRT" } |
|
private |
◆ m_doTruth
Gaudi::Property<bool> EMBremCollectionBuilder::m_doTruth { this, "DoTruth", false, "do truth" } |
|
private |
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthReentrantAlgorithm::m_extendedExtraObjects |
|
privateinherited |
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
Empty if no symlinks were found.
Definition at line 153 of file AthReentrantAlgorithm.h.
◆ m_FailedFitTracks
std::atomic_uint EMBremCollectionBuilder::m_FailedFitTracks { 0 } |
|
mutableprivate |
◆ m_FailedSiliconRequirFit
std::atomic_uint EMBremCollectionBuilder::m_FailedSiliconRequirFit { 0 } |
|
mutableprivate |
◆ m_MinNoSiHits
Gaudi::Property<int> EMBremCollectionBuilder::m_MinNoSiHits |
|
private |
Initial value:{ this,
"minNoSiHits",
4,
"Minimum number of silicon hits on track "
"before it is allowed to be refitted" }
@Cut on minimum silicon hits
Definition at line 151 of file EMBremCollectionBuilder.h.
◆ m_OutputTrackContainerKey
Initial value:{
this,
"OutputTrackContainerName",
"GSFTracks",
"Output GSF Trk::Tracks"
}
Definition at line 198 of file EMBremCollectionBuilder.h.
◆ m_OutputTrkPartContainerKey
Initial value:{
this,
"OutputTrkPartContainerName",
"GSFTrackParticles",
"Output GSF TrackParticles"
}
Definition at line 191 of file EMBremCollectionBuilder.h.
◆ m_particleCreatorTool
Initial value:{
this,
"TrackParticleCreatorTool",
"TrackParticleCreatorTool",
"TrackParticle creator tool"
}
Tool to create track particle.
Definition at line 164 of file EMBremCollectionBuilder.h.
◆ m_RefittedTracks
std::atomic_uint EMBremCollectionBuilder::m_RefittedTracks { 0 } |
|
mutableprivate |
◆ m_selectedTrackParticleContainerKey
Initial value:{ this,
"SelectedTrackParticleContainerName",
"egammaSelectedTrackParticles",
"Input of Selected TrackParticles" }
Names of input output collections.
Definition at line 186 of file EMBremCollectionBuilder.h.
◆ m_slimTool
Initial value:{ this,
"TrackSlimmingTool",
"TrkTrackSlimmingTool",
"Track slimming tool" }
Tool to slim tracks
Definition at line 172 of file EMBremCollectionBuilder.h.
◆ m_trackParticleContainerKey
Initial value:{
this,
"TrackParticleContainerName",
"InDetTrackParticles",
"Input InDet TrackParticles"
}
Definition at line 177 of file EMBremCollectionBuilder.h.
◆ m_trkRefitTool
Initial value:{ this,
"TrackRefitTool",
"ElectronRefitterTool",
"Track refitter tool" }
The track refitter.
Definition at line 158 of file EMBremCollectionBuilder.h.
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
StatusCode createCollections(const EventContext &ctx, std::vector< TrackWithIndex > &refitted, std::vector< TrackWithIndex > &failedfit, std::vector< TrackWithIndex > &trtAlone, TrackCollection *finalTracks, xAOD::TrackParticleContainer *finalTrkPartContainer, const xAOD::TrackParticleContainer *inputTrkPartContainer) const
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticleContainerKey
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ numberOfInnermostPixelLayerSplitHits
number of Pixel 0th layer barrel hits split by cluster splitting
Gaudi::Property< bool > m_doSlimTrkTracks
Option to slim the Trk::Tracks.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_selectedTrackParticleContainerKey
Names of input output collections.
@ numberOfSCTSharedHits
number of SCT hits shared by several tracks [unit8_t].
Helper class to provide type-safe access to aux data.
@ numberOfNextToInnermostPixelLayerSplitHits
number of Pixel 1st layer barrel hits split by cluster splitting
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)
void setTrackLink(const ElementLink< TrackCollection > &track)
Set the link to the original track.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
ToolHandle< IegammaTrkRefitterTool > m_trkRefitTool
The track refitter.
std::vector< SG::VarHandleKeyArray * > m_vhka
Gaudi::Property< int > m_MinNoSiHits
@Cut on minimum silicon hits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
virtual void setOwner(IDataHandleHolder *o)=0
StatusCode createNew(const EventContext &ctx, TrackWithIndex &Info, TrackCollection *finalTracks, xAOD::TrackParticleContainer *finalTrkPartContainer, const xAOD::TrackParticleContainer *inputTrkPartContainer, bool isRefitted) const
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_OutputTrkPartContainerKey
@ numberOfTRTSharedHits
number of TRT hits used by more than one track
Gaudi::Property< bool > m_doHGTD
Option to copy HGTD time to new gsf tracks.
Gaudi::Property< bool > m_doSCT
Option to copy SCT holes estimation.
@ numberOfPixelSharedHits
number of Pixel all-layer hits shared by several tracks [unit8_t].
ToolHandle< Trk::ITrackSlimmingTool > m_slimTool
Tool to slim tracks
AthReentrantAlgorithm()
Default constructor:
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::atomic_uint m_FailedSiliconRequirFit
SG::WriteHandleKey< TrackCollection > m_OutputTrackContainerKey
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
@ numberOfPixelSplitHits
number of Pixel all-layer hits split by cluster splitting [unit8_t].
@ numberOfSCTHoles
number of SCT holes [unit8_t].
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
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...
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ElementLink implementation for ROOT usage.
Gaudi::Property< bool > m_doTRT
Option to copy TRT holes estimation.
std::atomic_uint m_RefittedTracks
uint8_t hasValidTime() const
Returns whether or not the track has a valid time.
virtual StatusCode sysInitialize() override
Override sysInitialize.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
Gaudi::Property< bool > m_doTruth
Option to do truth.
float time() const
Returns the time.
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
void setSummaryValue(uint8_t &value, const SummaryType &information)
Set method for TrackSummary values.
void setHasValidTime(uint8_t hasValidTime)
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
#define ATH_MSG_WARNING(x)
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
@ numberOfInnermostPixelLayerSharedHits
number of Pixel 0th layer barrel hits shared by several tracks.
@ numberOfSCTHits
number of hits in SCT [unit8_t].
@ PseudoMeasurementOnTrack
std::atomic_uint m_FailedFitTracks
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Class describing a TrackParticle.
const T * at(size_type n) const
Access an element, as an rvalue.
StatusCode refitTracks(const EventContext &ctx, const std::vector< const xAOD::TrackParticle * > &input, std::vector< TrackWithIndex > &refitted, std::vector< TrackWithIndex > &failedfit) const
@ numberOfSCTDoubleHoles
number of Holes in both sides of a SCT module [unit8_t].
@ numberOfNextToInnermostPixelLayerSharedHits
number of Pixel 1st layer barrel hits shared by several tracks.
void copyOverInfo(xAOD::TrackParticle &created, const xAOD::TrackParticle &original, bool isRefitted) const
@ numberOfTRTHoles
number of TRT holes [unit8_t].
ToolHandle< Trk::ITrackParticleCreatorTool > m_particleCreatorTool
Tool to create track particle.
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
Gaudi::Property< bool > m_doPix
Option to copy pixel holes estimation.