ATLAS Offline Software
Loading...
Searching...
No Matches
Rec::MuSAVtxJPsiValidationAlg Class Reference

#include <MuSAVtxJPsiValidationAlg.h>

Inheritance diagram for Rec::MuSAVtxJPsiValidationAlg:
Collaboration diagram for Rec::MuSAVtxJPsiValidationAlg:

Public Member Functions

 MuSAVtxJPsiValidationAlg (const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) override
 Execute method.
const xAOD::MuonfindMuonFromTrack (const xAOD::TrackParticle *tp, const xAOD::MuonContainer *muons)
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
bool filterPassed (const EventContext &ctx) const
void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const
const EventContext & getContext () const
 Deprecated methods (use the ones with EventContext).
bool filterPassed () const
void setFilterPassed (bool state) const

Protected Member Functions

virtual bool isReEntrant () const override final
 Legacy algorithms are not thread-safe.
void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
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 extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Protected Attributes

SG::ReadHandleKey< xAOD::MuonContainerm_muonContainer { this, "MuonContainer", "Muons", "input muon collection" }
SG::ReadHandleKey< xAOD::EventInfom_eventInfo { this, "EventInfo", "EventInfo", "event info" }
SG::WriteHandleKey< xAOD::MuonContainerm_JPsiMuonContainer { this, "JPsiMuonContainer", "JPsiMuons", "output J/Psi muon collection" }
SG::WriteHandleKey< xAOD::VertexContainerm_JPsiVertexContainer { this, "JPsiVertexContainer", "JPsiVertices", "output J/Psi vertex collection" }
SG::WriteHandleKey< xAOD::TrackParticleContainerm_JPsiTrackParticleContainer { this, "JPsiTrackParticleContainer", "JPsiVerticesTracks", "output J/Psi track collection" }
ToolHandle< Analysis::JpsiFinderm_JPsiFinderTool { this, "JpsiFinderTool", "Analysis::JpsiFinder/JpsiFinder", "find J/Psi -> mumu" }

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

DataObjIDColl m_extendedExtraObjects
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default).
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default).
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Definition at line 18 of file MuSAVtxJPsiValidationAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ MuSAVtxJPsiValidationAlg()

Rec::MuSAVtxJPsiValidationAlg::MuSAVtxJPsiValidationAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 44 of file MuSAVtxJPsiValidationAlg.cxx.

45 : AthAlgorithm(name,p)
46{}
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:

Member Function Documentation

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode Rec::MuSAVtxJPsiValidationAlg::execute ( const EventContext & ctx)
overridevirtual

Execute method.

Provides access to the EventContext if needed but is non-const as opposed to AthReentrantAlgorithm.

Implements AthAlgorithm.

Definition at line 63 of file MuSAVtxJPsiValidationAlg.cxx.

63 {
64
65
66 SG::ReadHandle<xAOD::MuonContainer> muonContainer(m_muonContainer, ctx);
67 ATH_CHECK(muonContainer.isValid());
68
69 SG::ReadHandle<xAOD::EventInfo> evtInfo(m_eventInfo, ctx);
70 ATH_CHECK(evtInfo.isValid());
71
72 SG::WriteHandle<xAOD::MuonContainer> JPsiMuonContainer(m_JPsiMuonContainer, ctx);
73 ATH_CHECK(JPsiMuonContainer.record(std::make_unique<xAOD::MuonContainer>(), std::make_unique<xAOD::MuonAuxContainer>()));
74
75 SG::WriteHandle<xAOD::VertexContainer> JPsiVertexContainer(m_JPsiVertexContainer, ctx);
76 ATH_CHECK(JPsiVertexContainer.record(std::make_unique<xAOD::VertexContainer>(), std::make_unique<xAOD::VertexAuxContainer>()));
77
78 SG::WriteHandle<xAOD::TrackParticleContainer> JPsiTrackParticleContainer(m_JPsiTrackParticleContainer, ctx);
79 ATH_CHECK(JPsiTrackParticleContainer.record(std::make_unique<xAOD::TrackParticleContainer>(), std::make_unique<xAOD::TrackParticleAuxContainer>()));
80
81 // 1) Run J/Psi finder
82 auto jpsiVtxs = std::make_unique<xAOD::VertexContainer>();
83 auto jpsiAux = std::make_unique<xAOD::VertexAuxContainer>();
84 jpsiVtxs->setStore(jpsiAux.get());
85 ATH_CHECK(m_JPsiFinderTool->performSearch(ctx, *jpsiVtxs));
86
87 if (jpsiVtxs->empty()) {
88 ATH_MSG_DEBUG("No J/Psi candidates found");
89 return StatusCode::SUCCESS;
90 } else {
91 ATH_MSG_DEBUG("Found " << jpsiVtxs->size() << " J/Psi candidates");
92 }
93
94 for (const xAOD::Vertex* vtx : *jpsiVtxs) {
95 const auto& links = vtx->trackParticleLinks();
96 if (links.size() == 2) {
97 const xAOD::TrackParticle* tp1 = links[0].isValid() ? *links[0] : nullptr;
98 const xAOD::TrackParticle* tp2 = links[1].isValid() ? *links[1] : nullptr;
99 const xAOD::Muon* mu1 = tp1 ? findMuonFromTrack(tp1, muonContainer.cptr()) : nullptr;
100 const xAOD::Muon* mu2 = tp2 ? findMuonFromTrack(tp2, muonContainer.cptr()) : nullptr;
101
102 if (!mu1 && !mu2) {
103 ATH_MSG_WARNING("No muons found for J/Psi vertex with index " << vtx->index());
104 continue;
105 } else if (!mu1 || !mu2) {
106 ATH_MSG_WARNING("Only one muon found for J/Psi vertex with index " << vtx->index());
107 } else {
108 ATH_MSG_DEBUG("Found J/Psi vertex with index " << vtx->index() << " and muons: " << mu1->index() << ", " << mu2->index());
109 }
110
111 if (mu1) JPsiMuonContainer->push_back(new xAOD::Muon(*mu1));
112 if (mu2) JPsiMuonContainer->push_back(new xAOD::Muon(*mu2));
113 }
114
115 // vertices right out of JPsiFinder have vxTrackAtVertex decorators that can't be saved to container
116 // thus we make a fresh copy to avoid this issue
117 xAOD::Vertex* newVtx = new xAOD::Vertex();
118 JPsiVertexContainer->push_back(newVtx); // add the vertex to the container first
119
120 // Set properties of the new vertex
121 newVtx->setPosition(vtx->position());
122 newVtx->setCovariance(vtx->covariance());
123 newVtx->setFitQuality(vtx->chiSquared(), vtx->numberDoF());
124 newVtx->setVertexType(vtx->vertexType());
125
126 // copy track particle links
127 for (const auto& link : vtx->trackParticleLinks()) {
128 if (!link.isValid()) continue;
129 const xAOD::TrackParticle* oldTrack = *link;
131 newTrack->makePrivateStore(*oldTrack);
132 JPsiTrackParticleContainer->push_back(newTrack);
133 ElementLink<xAOD::TrackParticleContainer> newLink(*JPsiTrackParticleContainer, newTrack->index());
134 newVtx->addTrackAtVertex(newLink, 1.0); // weight is set to 1.0 for simplicity
135 }
136
137 // add identical decos to musa for comparison
138 constexpr double muonMass = 105.658; // Muon mass in MeV
139 TLorentzVector sumP4_muon, sumP4_electron, sumP4_selected;
140 std::vector<const xAOD::TrackParticle*> vtxTracks;
141
142 int vtxCharge = 0;
143
144 for (const auto& link : newVtx->trackParticleLinks()) {
145 const xAOD::TrackParticle* track = link.isValid() ? *link : nullptr;
146 if (!track) continue;
147
148 double pt = track->pt();
149 double eta = track->eta();
150 double phi = track->phi();
151
152 TLorentzVector p4_muon, p4_electron;
153 p4_muon.SetPtEtaPhiM(pt, eta, phi, muonMass);
154 p4_electron.SetPtEtaPhiM(pt, eta, phi, VKalVrtAthena::PhysConsts::mass_electron);
155
156 sumP4_muon += p4_muon;
157 sumP4_electron += p4_electron;
158 sumP4_selected += p4_muon; // assuming selected tracks are muons...
159
160 vtxCharge += track->charge();
161 vtxTracks.push_back(track);
162 }
163
164 //calculate opening angle between two tracks
165 float vtxDeltaR = 0;
166 if (vtxTracks.size() == 2) {
167 float dEta = vtxTracks[0]->eta() - vtxTracks[1]->eta();
168 float dPhi = std::abs(vtxTracks[0]->phi() - vtxTracks[1]->phi());
169 if (dPhi > M_PI) dPhi = 2 * M_PI - dPhi;
170 vtxDeltaR = std::sqrt(dEta * dEta + dPhi * dPhi);
171 }
172
173 vtx_pxAcc(*newVtx) = sumP4_muon.Px();
174 vtx_pyAcc(*newVtx) = sumP4_muon.Py();
175 vtx_pzAcc(*newVtx) = sumP4_muon.Pz();
176 vtx_massAcc(*newVtx) = sumP4_muon.M();
177 vtx_chargeAcc(*newVtx) = vtxCharge;
178 minOpAngAcc(*newVtx) = vtxDeltaR;
179 chi2_coreAcc(*newVtx) = vtx->chiSquared();
180 ndof_coreAcc(*newVtx) = vtx->numberDoF();
181 chi2_assocAcc(*newVtx) = vtx->chiSquared();
182 ndof_assocAcc(*newVtx) = vtx->numberDoF();
183 massAcc(*newVtx) = sumP4_muon.M();
184 mass_eAcc(*newVtx) = sumP4_electron.M();
185 mass_selectedTracksAcc(*newVtx) = sumP4_selected.M();
186 num_trksAcc(*newVtx) = links.size();
187 num_selectedTracksAcc(*newVtx) = links.size(); // Assuming all tracks are selected
188 num_associatedTracksAcc(*newVtx) = links.size(); // Assuming all tracks are associated
189 dCloseVrtAcc(*newVtx) = 0; // not implemented but assigned for comparison to MuSA
190 }
191
192 return StatusCode::SUCCESS;
193}
#define M_PI
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
xAOD::MuonContainer * muonContainer
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_JPsiTrackParticleContainer
SG::ReadHandleKey< xAOD::MuonContainer > m_muonContainer
SG::WriteHandleKey< xAOD::VertexContainer > m_JPsiVertexContainer
const xAOD::Muon * findMuonFromTrack(const xAOD::TrackParticle *tp, const xAOD::MuonContainer *muons)
ToolHandle< Analysis::JpsiFinder > m_JPsiFinderTool
SG::WriteHandleKey< xAOD::MuonContainer > m_JPsiMuonContainer
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
void addTrackAtVertex(const ElementLink< TrackParticleContainer > &tr, float weight=1.0)
Add a new track to the vertex.
const TrackParticleLinks_t & trackParticleLinks() const
Get all the particles associated with the vertex.
void setVertexType(VxType::VertexType vType)
Set the type of the vertex.
void setCovariance(const std::vector< float > &value)
Sets the covariance matrix as a simple vector of values.
void setPosition(const Amg::Vector3D &position)
Sets the 3-position.
void setFitQuality(float chiSquared, float numberDoF)
Set the 'Fit Quality' information.
pointer & link(pointer p) const
Return a reference to the link for an element.
bool dPhi(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
bool dEta(const xAOD::TauJet &tau, const xAOD::CaloVertexedTopoCluster &cluster, float &out)
TrackParticle_v1 TrackParticle
Reference the current persistent version:
Vertex_v1 Vertex
Define the latest version of the vertex class.
Muon_v1 Muon
Reference the current persistent version:

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

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 & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51{
52 // If we didn't find any symlinks to add, just return the collection
53 // from the base class. Otherwise, return the extended collection.
54 if (!m_extendedExtraObjects.empty()) {
56 }
57 return Algorithm::extraOutputDeps();
58}
DataObjIDColl m_extendedExtraObjects

◆ filterPassed() [1/2]

bool AthAlgorithm::filterPassed ( ) const
inherited

Definition at line 94 of file AthAlgorithm.cxx.

94 {
95 return filterPassed( Gaudi::Hive::currentContext() );
96}
bool filterPassed() const

◆ filterPassed() [2/2]

bool AthAlgorithm::filterPassed ( const EventContext & ctx) const
inherited

Definition at line 98 of file AthAlgorithm.cxx.

98 {
99 return execState( ctx ).filterPassed();
100}

◆ findMuonFromTrack()

const xAOD::Muon * Rec::MuSAVtxJPsiValidationAlg::findMuonFromTrack ( const xAOD::TrackParticle * tp,
const xAOD::MuonContainer * muons )

Definition at line 195 of file MuSAVtxJPsiValidationAlg.cxx.

195 {
196 for (const xAOD::Muon* mu : *muons) {
197 if (mu->trackParticle(xAOD::Muon::CombinedTrackParticle) == tp) return mu;
198 if (mu->trackParticle(xAOD::Muon::InnerDetectorTrackParticle) == tp) return mu;
199 }
200 return nullptr;
201}

◆ getContext()

const EventContext & AthAlgorithm::getContext ( ) const
inherited

Deprecated methods (use the ones with EventContext).

Definition at line 90 of file AthAlgorithm.cxx.

90 {
91 return Gaudi::Hive::currentContext();
92}

◆ initialize()

StatusCode Rec::MuSAVtxJPsiValidationAlg::initialize ( )
overridevirtual

Definition at line 48 of file MuSAVtxJPsiValidationAlg.cxx.

48 {
49 ATH_CHECK(m_muonContainer.initialize());
50 ATH_CHECK(m_eventInfo.initialize());
51 ATH_CHECK(m_JPsiMuonContainer.initialize());
52 ATH_CHECK(m_JPsiVertexContainer.initialize());
54
55 ATH_CHECK(m_JPsiFinderTool.retrieve());
56 ATH_MSG_DEBUG("Retrieved J/Psi finder tool: " << m_JPsiFinderTool);
57
58 ATH_MSG_DEBUG("Initialization successful");
59
60 return StatusCode::SUCCESS;
61}

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

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.

◆ isReEntrant()

virtual bool AthAlgorithm::isReEntrant ( ) const
inlinefinaloverrideprotectedvirtualinherited

Legacy algorithms are not thread-safe.

Definition at line 111 of file AthAlgorithm.h.

111{ return false; }

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

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()

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 > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
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)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed() [1/2]

void AthAlgorithm::setFilterPassed ( bool state) const
inherited

Definition at line 102 of file AthAlgorithm.cxx.

102 {
103 setFilterPassed( state, Gaudi::Hive::currentContext() );
104}
void setFilterPassed(bool state) const

◆ setFilterPassed() [2/2]

void AthAlgorithm::setFilterPassed ( bool state,
const EventContext & ctx ) const
inherited

Definition at line 106 of file AthAlgorithm.cxx.

106 {
107 execState( ctx ).setFilterPassed(state);
108}

◆ sysInitialize()

StatusCode AthAlgorithm::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 AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.

Definition at line 66 of file AthAlgorithm.cxx.

66 {
68
69 if (sc.isFailure()) {
70 return sc;
71 }
72 ServiceHandle<ICondSvc> cs("CondSvc",name());
73 for (auto h : outputHandles()) {
74 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75 // do this inside the loop so we don't create the CondSvc until needed
76 if ( cs.retrieve().isFailure() ) {
77 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78 return StatusCode::SUCCESS;
79 }
80 if (cs->regHandle(this,*h).isFailure()) {
81 sc = StatusCode::FAILURE;
82 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83 << " with CondSvc");
84 }
85 }
86 }
87 return sc;
88}
#define ATH_MSG_ERROR(x)
static Double_t sc
virtual StatusCode sysInitialize() override
Override sysInitialize.
AthCommonDataStore(const std::string &name, T... args)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
::StatusCode StatusCode
StatusCode definition for legacy code.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default).

Definition at line 393 of file AthCommonDataStore.h.

◆ m_eventInfo

SG::ReadHandleKey<xAOD::EventInfo> Rec::MuSAVtxJPsiValidationAlg::m_eventInfo { this, "EventInfo", "EventInfo", "event info" }
protected

Definition at line 28 of file MuSAVtxJPsiValidationAlg.h.

28{ this, "EventInfo", "EventInfo", "event info" };

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default).

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 114 of file AthAlgorithm.h.

◆ m_JPsiFinderTool

ToolHandle<Analysis::JpsiFinder> Rec::MuSAVtxJPsiValidationAlg::m_JPsiFinderTool { this, "JpsiFinderTool", "Analysis::JpsiFinder/JpsiFinder", "find J/Psi -> mumu" }
protected

Definition at line 34 of file MuSAVtxJPsiValidationAlg.h.

34{ this, "JpsiFinderTool", "Analysis::JpsiFinder/JpsiFinder", "find J/Psi -> mumu" };

◆ m_JPsiMuonContainer

SG::WriteHandleKey<xAOD::MuonContainer> Rec::MuSAVtxJPsiValidationAlg::m_JPsiMuonContainer { this, "JPsiMuonContainer", "JPsiMuons", "output J/Psi muon collection" }
protected

Definition at line 30 of file MuSAVtxJPsiValidationAlg.h.

30{ this, "JPsiMuonContainer", "JPsiMuons", "output J/Psi muon collection" };

◆ m_JPsiTrackParticleContainer

SG::WriteHandleKey<xAOD::TrackParticleContainer> Rec::MuSAVtxJPsiValidationAlg::m_JPsiTrackParticleContainer { this, "JPsiTrackParticleContainer", "JPsiVerticesTracks", "output J/Psi track collection" }
protected

Definition at line 32 of file MuSAVtxJPsiValidationAlg.h.

32{ this, "JPsiTrackParticleContainer", "JPsiVerticesTracks", "output J/Psi track collection" };

◆ m_JPsiVertexContainer

SG::WriteHandleKey<xAOD::VertexContainer> Rec::MuSAVtxJPsiValidationAlg::m_JPsiVertexContainer { this, "JPsiVertexContainer", "JPsiVertices", "output J/Psi vertex collection" }
protected

Definition at line 31 of file MuSAVtxJPsiValidationAlg.h.

31{ this, "JPsiVertexContainer", "JPsiVertices", "output J/Psi vertex collection" };

◆ m_muonContainer

SG::ReadHandleKey<xAOD::MuonContainer> Rec::MuSAVtxJPsiValidationAlg::m_muonContainer { this, "MuonContainer", "Muons", "input muon collection" }
protected

Definition at line 27 of file MuSAVtxJPsiValidationAlg.h.

27{ this, "MuonContainer", "Muons", "input muon collection" };

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: