 |
ATLAS Offline Software
|
#include <NewVrtSecInclusiveAlg.h>
|
| NewVrtSecInclusiveAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
StatusCode | initialize () override |
|
StatusCode | execute (const EventContext &ctx) const override |
|
StatusCode | finalize () override |
|
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 |
|
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_tpContainerKey {this,"TrackParticleContainer","InDetTrackParticles","Read TrackParticle container"} |
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_gsfContainerKey {this,"GSFTrackParticleContainer","GSFTrackParticles","Read GSFTrackParticle container"} |
|
SG::ReadHandleKey< xAOD::MuonContainer > | m_muonContainerKey {this,"MuonContainer","Muons","Read muon container"} |
|
SG::ReadHandleKey< xAOD::ElectronContainer > | m_electronContainerKey {this,"ElectronContainer","Electrons","Read electron container"} |
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_pvContainerKey {this,"PrimaryVertexContainer","PrimaryVertices","Read PrimaryVertices container"} |
|
SG::ReadHandleKey< xAOD::JetContainer > | m_jetContainerKey {this,"JetContainer","AntiKt4EMPFlowJets","Read Jets container"} |
|
SG::ReadHandleKey< xAOD::VertexContainer > | m_btsvContainerKey {this,"BTagSVContainer","BTagging_AntiKt4EMPFlowSecVtx","Read BTagiingSV container"} |
|
SG::WriteHandleKey< xAOD::VertexContainer > | m_foundVerticesKey {this,"BVertexContainerName","AllBVertices","Found vertices container"} |
|
ToolHandle< Rec::IVrtInclusive > | m_bvertextool {this, "BVertexTool", "Rec::NewVrtSecInclusiveTool/SVTool"} |
|
Gaudi::Property< bool > | m_addIDTracks {this, "AddIDTracks", true, "Set to true if you want to add ID tracks to the pool"} |
|
Gaudi::Property< bool > | m_addGSFTracks {this, "AddGSFTracks", false, "Set to true if you want to add GSF tracks to the pool"} |
|
Gaudi::Property< bool > | m_addMuonTracks {this, "AddMuonTracks", false, "Set to true if you want to add ID tracks from muons to the pool"} |
|
Gaudi::Property< bool > | m_addElectronTracks {this, "AddElectronTracks", false, "Set to true if you want to add GSF tracks from electrons to the pool"} |
|
Gaudi::Property< bool > | m_removeNonLepVerts {this, "RemoveNonLepVertices", false, "Set to true if you want to remove vertices with no associated lepton tracks"} |
|
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 |
|
Definition at line 34 of file NewVrtSecInclusiveAlg.h.
◆ StoreGateSvc_t
◆ NewVrtSecInclusiveAlg()
Rec::NewVrtSecInclusiveAlg::NewVrtSecInclusiveAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ addElectronTracks()
void Rec::NewVrtSecInclusiveAlg::addElectronTracks |
( |
const EventContext & |
ctx, |
|
|
std::unordered_set< const xAOD::TrackParticle * > & |
trkparticles |
|
) |
| const |
|
private |
Definition at line 197 of file NewVrtSecInclusiveAlg.cxx.
200 if ( !electron_cont.isValid() ) {
204 trkparticles.reserve(trkparticles.size() + electron_cont->size());
206 for(
const auto *
electron : (*electron_cont)) {
207 if( 0 ==
electron->nTrackParticles() )
continue;
209 const auto *gsf =
electron->trackParticle(0);
211 trkparticles.insert(gsf);
◆ addGSFTracks()
void Rec::NewVrtSecInclusiveAlg::addGSFTracks |
( |
const EventContext & |
ctx, |
|
|
std::unordered_set< const xAOD::TrackParticle * > & |
trkparticles |
|
) |
| const |
|
private |
Definition at line 181 of file NewVrtSecInclusiveAlg.cxx.
184 if ( !gsf_cont.isValid() ) {
188 trkparticles.reserve(trkparticles.size() + gsf_cont->size());
190 for (
const auto *gsf : (*gsf_cont)) {
191 trkparticles.insert(gsf);
◆ addInDetTracks()
void Rec::NewVrtSecInclusiveAlg::addInDetTracks |
( |
const EventContext & |
ctx, |
|
|
std::unordered_set< const xAOD::TrackParticle * > & |
trkparticles |
|
) |
| const |
|
private |
Definition at line 153 of file NewVrtSecInclusiveAlg.cxx.
156 if ( !tp_cont.isValid() ) {
160 trkparticles.reserve(trkparticles.size() + tp_cont->size());
162 for (
const auto *
tp : (*tp_cont)) { trkparticles.insert(
tp); }
◆ addMuonTracks()
void Rec::NewVrtSecInclusiveAlg::addMuonTracks |
( |
const EventContext & |
ctx, |
|
|
std::unordered_set< const xAOD::TrackParticle * > & |
trkparticles |
|
) |
| const |
|
private |
Definition at line 165 of file NewVrtSecInclusiveAlg.cxx.
168 if ( !muon_cont.isValid() ) {
172 trkparticles.reserve(trkparticles.size() + muon_cont->size());
174 for (
const auto *
muon : (*muon_cont)) {
175 const auto *
tp =
muon->trackParticle( xAOD::Muon::InnerDetectorTrackParticle );
176 if (!
tp) {
continue; }
177 trkparticles.insert(
tp);
◆ 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.
◆ 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 Rec::NewVrtSecInclusiveAlg::execute |
( |
const EventContext & |
ctx | ) |
const |
|
override |
Definition at line 52 of file NewVrtSecInclusiveAlg.cxx.
56 std::unordered_set<const xAOD::TrackParticle*> tp_set{};
61 ATH_MSG_DEBUG(
"Found " << tp_set.size() <<
" useful tracks in this event" );
63 std::vector<const xAOD::TrackParticle*> trkparticles(tp_set.begin(), tp_set.end());
67 if ( !pv_cont.isValid() ) {
71 for (
const auto *
v : *pv_cont ) {
78 if ( !btsv_cont.isValid() ) {
84 if ( !jet_cont.isValid() ) {
89 auto bVertexContainer = std::make_unique<xAOD::VertexContainer>();
90 auto bVertexAuxContainer = std::make_unique<xAOD::VertexAuxContainer>();
91 bVertexContainer->setStore(bVertexAuxContainer.get());
93 if(
pv && trkparticles.size()>1 ){
94 std::unique_ptr<Trk::VxSecVertexInfo> foundVrts =
m_bvertextool->findAllVertices(trkparticles,*
pv);
95 if(foundVrts && !foundVrts->
vertices().empty()){
96 const std::vector<xAOD::Vertex*> vtmp=foundVrts->
vertices();
97 double mindRSVPV=1.e3;
98 for(
const auto & iv : vtmp) {
99 if( btsv_cont.isValid() ){
100 for (
const auto *btsv : *btsv_cont ) mindRSVPV=
std::min(
Amg::deltaR(btsv->position()-
pv->position(),iv->position()-
pv->position()),mindRSVPV);
103 bVertexContainer->push_back(iv);
104 std::vector< Trk::VxTrackAtVertex > & vtrk = iv->vxTrackAtVertex();
105 TLorentzVector VSUM(0.,0.,0.,0.);
107 for(
auto &
it : vtrk){
111 double absP = 1./std::abs(mPer->parameters()[
Trk::qOverP]);
115 bvrtM(*iv) =VSUM.M();
116 bvrtPt(*iv) =VSUM.Pt();
117 bvrtEta(*iv)=VSUM.Eta();
118 bvrtPhi(*iv)=VSUM.Phi();
119 TVector3 SVmPV(iv->x()-
pv->x(),iv->y()-
pv->y(),iv->z()-
pv->z());
120 double mindRMOM=1.e3, mindRSV=1.e3;
121 if( jet_cont.isValid() ){
122 for(
const auto *
jet : (*jet_cont)) {
123 mindRMOM=
std::min(VSUM.DeltaR(
jet->p4()),mindRMOM);
124 mindRSV =
std::min(SVmPV.DeltaR(
jet->p4().Vect()),mindRSV);
127 mindRBTagSV(*iv) =mindRSVPV;
128 mindRjetP(*iv) =mindRMOM;
129 mindRjetV(*iv) =mindRSV;
133 ATH_MSG_DEBUG(
"Found Vertices in this event: " << bVertexContainer->size());
136 for(
auto iv : (*bVertexContainer)){
137 std::vector< ElementLink< xAOD::TrackParticleContainer > > newLinkVec;
138 for(
auto &
it : iv->trackParticleLinks()){
142 newLinkVec.push_back(tmpLnk);
144 iv->setTrackParticleLinks(newLinkVec);
148 ATH_CHECK( vrtInThisEvent.record (std::move(bVertexContainer),
149 std::move(bVertexAuxContainer)) );
150 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()
StatusCode Rec::NewVrtSecInclusiveAlg::finalize |
( |
| ) |
|
|
override |
◆ initialize()
StatusCode Rec::NewVrtSecInclusiveAlg::initialize |
( |
| ) |
|
|
override |
◆ 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.
◆ 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()
◆ vertexHasNoLep()
bool Rec::NewVrtSecInclusiveAlg::vertexHasNoLep |
( |
const EventContext & |
ctx, |
|
|
const xAOD::Vertex * |
vertex |
|
) |
| const |
|
private |
Definition at line 217 of file NewVrtSecInclusiveAlg.cxx.
218 std::unordered_set<const xAOD::TrackParticle*> trkparts{};
219 trkparts.reserve(
vertex->nTrackParticles());
220 for (
const auto &trk :
vertex->trackParticleLinks()) {
221 trkparts.insert(*trk);
226 if ( muon_cont.isValid() ) {
227 for (
const auto *
muon : (*muon_cont)) {
228 const auto *
tp =
muon->trackParticle( xAOD::Muon::InnerDetectorTrackParticle );
229 if (!
tp) {
continue; }
230 if(trkparts.count(
tp))
return false;
236 if ( electron_cont.isValid() ) {
237 for(
const auto *
electron : (*electron_cont)) {
238 if( 0 ==
electron->nTrackParticles() )
continue;
240 const auto *gsf =
electron->trackParticle(0);
242 if(trkparts.count(gsf))
return false;
◆ m_addElectronTracks
Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addElectronTracks {this, "AddElectronTracks", false, "Set to true if you want to add GSF tracks from electrons to the pool"} |
|
private |
◆ m_addGSFTracks
Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addGSFTracks {this, "AddGSFTracks", false, "Set to true if you want to add GSF tracks to the pool"} |
|
private |
◆ m_addIDTracks
Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addIDTracks {this, "AddIDTracks", true, "Set to true if you want to add ID tracks to the pool"} |
|
private |
◆ m_addMuonTracks
Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_addMuonTracks {this, "AddMuonTracks", false, "Set to true if you want to add ID tracks from muons to the pool"} |
|
private |
◆ m_btsvContainerKey
◆ m_bvertextool
◆ m_detStore
◆ m_electronContainerKey
◆ 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_foundVerticesKey
◆ m_gsfContainerKey
◆ m_jetContainerKey
◆ m_muonContainerKey
◆ m_pvContainerKey
◆ m_removeNonLepVerts
Gaudi::Property<bool> Rec::NewVrtSecInclusiveAlg::m_removeNonLepVerts {this, "RemoveNonLepVertices", false, "Set to true if you want to remove vertices with no associated lepton tracks"} |
|
private |
◆ m_tpContainerKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
vecmem::edm::container< TrackParticleInterface, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float >, vecmem::edm::type::vector< float > > TrackParticleContainer
SoA, GPU friendly TrackParticleContainer.
bool vertexHasNoLep(const EventContext &, const xAOD::Vertex *) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
const std::vector< xAOD::Vertex * > & vertices() const
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)
SG::ReadHandleKey< xAOD::VertexContainer > m_btsvContainerKey
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_gsfContainerKey
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainerKey
virtual void setOwner(IDataHandleHolder *o)=0
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerKey
AthReentrantAlgorithm()
Default constructor:
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
SG::ReadHandleKey< xAOD::ElectronContainer > m_electronContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
void addElectronTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
ToolHandle< Rec::IVrtInclusive > m_bvertextool
Gaudi::Property< bool > m_addElectronTracks
SG::ReadHandleKey< xAOD::JetContainer > m_jetContainerKey
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.
DataObjIDColl m_extendedExtraObjects
Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
constexpr double mass[PARTICLEHYPOTHESES]
the array of masses
bool setStorableObject(BaseConstReference data, bool replace=false, IProxyDict *sg=0)
Set link to point to a new container (storable).
virtual StatusCode sysInitialize() override
Override sysInitialize.
Gaudi::Property< bool > m_addGSFTracks
const xAOD::TrackParticle * getOriginalTrackParticleFromGSF(const xAOD::TrackParticle *trkPar)
Helper function for getting the "Original" Track Particle (i.e before GSF) via the GSF Track Particle...
double deltaR(const Amg::Vector3D &v1, const Amg::Vector3D &v2)
void addGSFTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Class describing a Vertex.
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_removeNonLepVerts
Helper to simultaneously calculate sin and cos of the same angle.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Gaudi::Property< bool > m_addMuonTracks
void addMuonTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
Gaudi::Property< bool > m_addIDTracks
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_tpContainerKey
void addInDetTracks(const EventContext &, std::unordered_set< const xAOD::TrackParticle * > &) const
SG::WriteHandleKey< xAOD::VertexContainer > m_foundVerticesKey