ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
DerivationFramework::BPhysBGammaFinder Class Reference

#include <BPhysBGammaFinder.h>

Inheritance diagram for DerivationFramework::BPhysBGammaFinder:
Collaboration diagram for DerivationFramework::BPhysBGammaFinder:

Public Member Functions

 BPhysBGammaFinder (const std::string &t, const std::string &n, const IInterface *p)
 
StatusCode initialize () override
 
StatusCode finalize () override
 
virtual StatusCode addBranches () const override
 Pass the thinning service
More...
 
TVector3 trackMomentum (const xAOD::Vertex *vxCandidate, int trkIndex) 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 sysInitialize () override
 Perform system initialization for an algorithm. 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
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 AlgTool interface methods. More...
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
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. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

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...
 

Private Attributes

std::vector< std::string > m_BVertexCollectionsToCheck
 
std::vector< std::string > m_passFlagsToCheck
 
ToolHandle< Trk::V0Toolsm_v0Tools
 
ToolHandle< Trk::IVertexFitterm_vertexFitter
 
ToolHandle< InDet::VertexPointEstimatorm_vertexEstimator
 
std::string m_inputTrackParticleContainerName
 
std::string m_inputLowPtTrackContainerName
 
std::string m_conversionContainerName
 
float m_maxDistBetweenTracks
 
float m_maxDeltaCotTheta
 
bool m_requireDeltaQ
 
bool m_use_low_pT
 
float m_maxDeltaQ
 
float m_Chi2Cut
 
float m_maxGammaMass
 
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
 

Detailed Description

Definition at line 43 of file BPhysBGammaFinder.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ BPhysBGammaFinder()

DerivationFramework::BPhysBGammaFinder::BPhysBGammaFinder ( const std::string &  t,
const std::string &  n,
const IInterface *  p 
)

Definition at line 20 of file BPhysBGammaFinder.cxx.

21  : AthAlgTool(t,n,p),
22  m_v0Tools("Trk::V0Tools"),
23  m_vertexFitter("Trk::TrkVKalVrtFitter"),
24  m_vertexEstimator("InDet::VertexPointEstimator"),
25  m_inputTrackParticleContainerName("InDetTrackParticles"),
26  m_inputLowPtTrackContainerName("LowPtRoITrackParticles"),
27  m_conversionContainerName("BPhysConversionCandidates"),
29  m_maxDeltaCotTheta(0.3),
30  m_requireDeltaQ(true),
31  m_use_low_pT(false),
32  m_maxDeltaQ(1000.0),
33  m_Chi2Cut(20.0),
34  m_maxGammaMass(100.0) {
35 
36  declareInterface<DerivationFramework::IAugmentationTool>(this);
37 
38  // Declare user-defined properties
39  declareProperty("BVertexContainers", m_BVertexCollectionsToCheck);
40  declareProperty("PassFlagsToCheck", m_passFlagsToCheck);
41  declareProperty("V0Tools", m_v0Tools);
42  declareProperty("VertexFitterTool", m_vertexFitter);
43  declareProperty("VertexEstimator", m_vertexEstimator);
44  declareProperty("InputTrackParticleContainerName", m_inputTrackParticleContainerName);
45  declareProperty("InputLowPtTrackContainerName", m_inputLowPtTrackContainerName);
46  declareProperty("ConversionContainerName", m_conversionContainerName);
47  declareProperty("MaxDistBetweenTracks", m_maxDistBetweenTracks = 10.0); // Maximum allowed distance of minimum approach
48  declareProperty("MaxDeltaCotTheta", m_maxDeltaCotTheta = 0.3); // Maximum allowed dCotTheta between tracks
49  declareProperty("RequireDeltaQ", m_requireDeltaQ = true); // Only save a conversions if it's a chi_c,b candidate (must then pass "MaxDeltaM" requirement), if "False" all conversions in the event will be saved
50  declareProperty("Use_low_pT", m_use_low_pT = false); // Only save a conversions if it's a chi_c,b candidate (must then pass "MaxDeltaM" requirement), if "False" all conversions in the event will be saved
51  declareProperty("MaxDeltaQ", m_maxDeltaQ = 700.0); // Maximum mass difference between di-muon+conversion and di-muon
52  declareProperty("Chi2Cut", m_Chi2Cut = 20.0);
53  declareProperty("MaxGammaMass", m_maxGammaMass = 100.0);
54 }

Member Function Documentation

◆ addBranches()

StatusCode DerivationFramework::BPhysBGammaFinder::addBranches ( ) const
overridevirtual

Pass the thinning service

Implements DerivationFramework::IAugmentationTool.

Definition at line 73 of file BPhysBGammaFinder.cxx.

73  {
74 
75  std::vector<const xAOD::Vertex*> BVertices;
76  BVertices.clear();
77  std::vector<const xAOD::TrackParticle*> BVertexTracks;
78 
79 
80  // Output conversion container
81  std::unique_ptr<xAOD::VertexContainer> conversionContainer(new xAOD::VertexContainer());
82  std::unique_ptr<xAOD::VertexAuxContainer> conversionAuxContainer(new xAOD::VertexAuxContainer());
83  conversionContainer->setStore(conversionAuxContainer.get());
84 
85  // Retrieve track particles from StoreGate
86  const xAOD::TrackParticleContainer* inputTrackParticles = nullptr;
88  ATH_MSG_DEBUG( "Track particle container size " << inputTrackParticles->size() );
89  // Low pT collection
90  const xAOD::TrackParticleContainer* lowPtTrackParticles = nullptr;
91  if (m_use_low_pT) {
92  StatusCode sc = evtStore()->retrieve(lowPtTrackParticles, m_inputLowPtTrackContainerName);
93  if (sc.isFailure()) {
94  ATH_MSG_WARNING("No low pT collection with key " << m_inputLowPtTrackContainerName << " found in StoreGate.");
95  return StatusCode::SUCCESS;;
96  }
97  else {
98  ATH_MSG_DEBUG("Low pT track particle container size " << lowPtTrackParticles->size());
99  }
100  }
101 
102  // Look for B candidate
103  if (m_BVertexCollectionsToCheck.empty()) {
104  ATH_MSG_FATAL( "No B vertex collections provided" );
105  return StatusCode::FAILURE;
106  }
107  else {
108  for ( auto itr = m_BVertexCollectionsToCheck.begin(); itr != m_BVertexCollectionsToCheck.end(); ++itr) {
109  ATH_MSG_DEBUG( "Using " << *itr << " as the source B vertex collection" );
110  }
111  }
112 
113  // Retrieve vertex containers
114  for (auto itr = m_BVertexCollectionsToCheck.begin(); itr!=m_BVertexCollectionsToCheck.end(); ++itr) {
115  // retieve vertex
116  const xAOD::VertexContainer* BVtxContainer = nullptr;
117  CHECK( evtStore()->retrieve(BVtxContainer, *itr));
118  ATH_MSG_DEBUG( "Vertex Container (" << *itr << ") contains " << BVtxContainer->size() << " vertices" );
119 
120  static const SG::Decorator< std::vector< VertexLink > > BGammaLinks( "BGammaLinks" );
121  static const std::vector< VertexLink > vertexLinks;
122 
123  for (const xAOD::Vertex* vertex : *BVtxContainer) {
124  BGammaLinks(*vertex) = vertexLinks;
125 
126  bool passedHypothesis = false;
127  BVertexTracks.clear();
128 
129  for (const auto &flag : m_passFlagsToCheck) {
131  bool pass = acc(*vertex);
132  if (pass) passedHypothesis = true;
133  }
134 
135  if (!passedHypothesis) continue;
136  xAOD::BPhysHypoHelper Bc("Bc", vertex);
137 
138  // link to Bc+ vertex
139  std::vector<const xAOD::Vertex*> precedingVertices(1, vertex);
140 
141  // Collect up B-vertex tracks
142  for (size_t i = 0; i < vertex->nTrackParticles(); ++i) BVertexTracks.push_back(vertex->trackParticle(i));
143 
144  // Track Selection
145  // Track1 Loop
146  for (xAOD::TrackParticleContainer::const_iterator tpIt1 = inputTrackParticles->begin(); tpIt1 != inputTrackParticles->end(); ++tpIt1) {
147  const xAOD::TrackParticle* trackParticle1 = *tpIt1;
148 
149  auto itr1 = std::find(BVertexTracks.begin(), BVertexTracks.end(), trackParticle1);
150  if (itr1 != BVertexTracks.end()) continue;
151 
152  const Trk::Perigee& trackPerigee1 = trackParticle1->perigeeParameters();
153 
154  // Track2 Loop
155  for (xAOD::TrackParticleContainer::const_iterator tpIt2 = tpIt1 + 1; tpIt2 != inputTrackParticles->end(); ++tpIt2) {
156  const xAOD::TrackParticle* trackParticle2 = *tpIt2;
157  if (trackParticle1 == trackParticle2) continue;
158 
159  auto itr2 = std::find(BVertexTracks.begin(), BVertexTracks.end(), trackParticle2);
160  if (itr2 != BVertexTracks.end()) continue;
161 
162  const Trk::Perigee& trackPerigee2 = trackParticle2->perigeeParameters();
163 
164  // Track pair selection
165  TLorentzVector e1, e2, gamma_m, BcStar;
166  e1.SetPtEtaPhiM(trackParticle1->pt(), trackParticle1->eta(), trackParticle1->phi(), Trk::electron);
167  e2.SetPtEtaPhiM(trackParticle2->pt(), trackParticle2->eta(), trackParticle2->phi(), Trk::electron);
168 
169  gamma_m = e1 + e2;
170  if (gamma_m.M() > m_maxGammaMass) continue;
171 
172  TLorentzVector mu1 = Bc.refTrk(0, Trk::muon);
173  TLorentzVector mu2 = Bc.refTrk(1, Trk::muon);
174  TLorentzVector mu3 = Bc.refTrk(2, Trk::muon);
175 
176  BcStar = mu1 + mu2 + mu3 + e1 + e2;
177  double Q = BcStar.M() - Bc.mass() - 2 * Trk::electron;
178  if (Q > m_maxDeltaQ) continue;
179 
180  // Estimate starting point + cuts on compatiblity of tracks
181  int sflag = 0;
182  int errorcode = 0;
183  Amg::Vector3D startingPoint = m_vertexEstimator->getCirclesIntersectionPoint(&trackPerigee1, &trackPerigee2, sflag, errorcode);
184  if (errorcode != 0) startingPoint = Amg::Vector3D::Zero(3);
185 
186  std::vector<float> RefTrackPx, RefTrackPy, RefTrackPz, RefTrackE;
187  std::vector<float> OrigTrackPx, OrigTrackPy, OrigTrackPz, OrigTrackE;
188 
189  std::vector<const xAOD::TrackParticle*> trackPair;
190  trackPair.clear();
191  trackPair.push_back(trackParticle1);
192  trackPair.push_back(trackParticle2);
193 
194  // Do the vertex fit
195  xAOD::Vertex* convVertexCandidate = m_vertexFitter->fit(trackPair, startingPoint);
196 
197  // Check for successful fit
198  if (convVertexCandidate) {
199  if (convVertexCandidate->chiSquared() / convVertexCandidate->numberDoF() > m_Chi2Cut) continue;
200 
201  xAOD::BPhysHelper Photon(convVertexCandidate);
202  // set link to the parent Bc+ vertex
203  Photon.setPrecedingVertices(precedingVertices, BVtxContainer);
204 
205  // Parameters at vertex
206  convVertexCandidate->clearTracks();
208  newLink1.setElement(*tpIt1);
209  newLink1.setStorableObject(*inputTrackParticles);
211  newLink2.setElement(*tpIt2);
212  newLink2.setStorableObject(*inputTrackParticles);
213  convVertexCandidate->addTrackAtVertex(newLink1);
214  convVertexCandidate->addTrackAtVertex(newLink2);
215 
216  std::vector<Amg::Vector3D> positionList;
217 
218  //Get photon momentum 3-vector
219  Amg::Vector3D momentum = m_v0Tools->V0Momentum(convVertexCandidate);
220 
221  TLorentzVector photon, electron1, electron2, ph;
222  electron1.SetVectM( trackMomentum( convVertexCandidate, 0 ), Trk::electron );
223  electron2.SetVectM( trackMomentum( convVertexCandidate, 1 ), Trk::electron );
224  photon = electron1 + electron2;
225  ph.SetXYZM(momentum.x(), momentum.y(), momentum.z(), 0.);
226 
227  // Use to keep track of which dimuon(s) gave a chi_c/b candidate
228  static const SG::Accessor<std::vector<float> > RefTrackPxAcc("RefTrackPx");
229  static const SG::Accessor<std::vector<float> > RefTrackPyAcc("RefTrackPy");
230  static const SG::Accessor<std::vector<float> > RefTrackPzAcc("RefTrackPz");
231  std::vector<float> B_Px = RefTrackPxAcc(*vertex);
232  std::vector<float> B_Py = RefTrackPyAcc(*vertex);
233  std::vector<float> B_Pz = RefTrackPzAcc(*vertex);
234 
235  TLorentzVector muon1, muon2, muon3;
236  muon1.SetXYZM(B_Px.at(0), B_Py.at(0), B_Pz.at(0), Trk::muon);
237  muon2.SetXYZM(B_Px.at(1), B_Py.at(1), B_Pz.at(1), Trk::muon);
238  muon3.SetXYZM(B_Px.at(2), B_Py.at(2), B_Pz.at(2), Trk::muon);
239 
240  TLorentzVector B_m = muon1 + muon2 + muon3;
241 
242  const double deltaQ = (B_m + photon).M() - Bc.mass() - 2 * Trk::electron;
243  const double mass = photon.M();
244 
245  RefTrackPx.push_back(trackMomentum(convVertexCandidate, 0).Px());
246  RefTrackPx.push_back(trackMomentum(convVertexCandidate, 1).Px());
247 
248  RefTrackPy.push_back(trackMomentum(convVertexCandidate, 0).Py());
249  RefTrackPy.push_back(trackMomentum(convVertexCandidate, 1).Py());
250 
251  RefTrackPz.push_back(trackMomentum(convVertexCandidate, 0).Pz());
252  RefTrackPz.push_back(trackMomentum(convVertexCandidate, 1).Pz());
253 
254  for (size_t i = 0; i < B_Px.size(); i++) {
255  RefTrackPx.push_back(B_Px.at(i));
256  RefTrackPy.push_back(B_Py.at(i));
257  RefTrackPz.push_back(B_Pz.at(i));
258  }
259 
260  RefTrackE.push_back(electron1.E());
261  RefTrackE.push_back(electron2.E());
262  RefTrackE.push_back(muon1.E());
263  RefTrackE.push_back(muon2.E());
264  RefTrackE.push_back(muon3.E());
265 
266  OrigTrackPx.push_back(e1.Px());
267  OrigTrackPx.push_back(e2.Px());
268 
269  OrigTrackPy.push_back(e1.Py());
270  OrigTrackPy.push_back(e2.Py());
271 
272  OrigTrackPz.push_back(e1.Pz());
273  OrigTrackPz.push_back(e2.Pz());
274 
275  OrigTrackE.push_back(e1.E());
276  OrigTrackE.push_back(e2.E());
277 
278 
279  ATH_MSG_DEBUG( "pt = " << photon.Pt() << " ph " << ph.Pt() << " mass " << photon.M() << " px size " << RefTrackPx.size() );
280  ATH_MSG_DEBUG( "Candidate DeltaM = " << (B_m + photon).M() << " MeV DiMuon " << " ( Mass = " << B_m.M() << " MeV )");
281 
282  // Decorate selected conversions
283  ATH_MSG_DEBUG( "Decorating conversion vertices" );
284 
285  static const SG::Accessor<float> pxAcc("px");
286  static const SG::Accessor<float> pyAcc("py");
287  static const SG::Accessor<float> pzAcc("pz");
288  pxAcc(*convVertexCandidate) = momentum.x();
289  pyAcc(*convVertexCandidate) = momentum.y();
290  pzAcc(*convVertexCandidate) = momentum.z();
291 
292  static const SG::Accessor<float> deltaQAcc("deltaQ");
293  static const SG::Accessor<float> gamma_massAcc("gamma_mass");
294  static const SG::Accessor< std::vector<float> > RefTrackEAcc("RefTrackE");
295  deltaQAcc(*convVertexCandidate) = deltaQ;
296  gamma_massAcc(*convVertexCandidate) = mass;
297  RefTrackPxAcc(*convVertexCandidate) = RefTrackPx;
298  RefTrackPyAcc(*convVertexCandidate) = RefTrackPy;
299  RefTrackPzAcc(*convVertexCandidate) = RefTrackPz;
300  RefTrackEAcc(*convVertexCandidate) = RefTrackE;
301 
302  static const SG::Accessor< std::vector<float> > OrigTrackPxAcc("OrigTrackPx");
303  static const SG::Accessor< std::vector<float> > OrigTrackPyAcc("OrigTrackPy");
304  static const SG::Accessor< std::vector<float> > OrigTrackPzAcc("OrigTrackPz");
305  static const SG::Accessor< std::vector<float> > OrigTrackEAcc("OrigTrackE");
306  OrigTrackPxAcc(*convVertexCandidate) = OrigTrackPx;
307  OrigTrackPyAcc(*convVertexCandidate) = OrigTrackPy;
308  OrigTrackPzAcc(*convVertexCandidate) = OrigTrackPz;
309  OrigTrackEAcc(*convVertexCandidate) = OrigTrackE;
310 
311  static const SG::Accessor<Char_t> passed_GammaAcc("passed_Gamma");
312  passed_GammaAcc(*convVertexCandidate) = true; // Used in event skimming
313 
314  conversionContainer->push_back( convVertexCandidate );
315 
316  // add cross-link to the original Bc+ vertex
317  VertexLink BGammaLink;
318  BGammaLink.setElement(convVertexCandidate);
319  BGammaLink.setStorableObject(*conversionContainer);
320  BGammaLinks(*vertex).push_back(std::move(BGammaLink));
321  }
322  else {
323  ATH_MSG_DEBUG( "Vertex Fit Failed" );
324  }
325 
326  } // end of Track2 Loop
327  } // end of Track1 Loop
328 
329  } // end of Bc loop
330 
331  } // end of vertex container loop
332 
333  // Write the results to StoreGate
334  CHECK(evtStore()->record(conversionContainer.release(), m_conversionContainerName));
335  CHECK(evtStore()->record(conversionAuxContainer.release(), m_conversionContainerName + "Aux."));
336 
337  return StatusCode::SUCCESS;
338 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

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

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

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

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

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

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

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation 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.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation 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.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

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

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

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

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

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

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

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

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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

◆ finalize()

StatusCode DerivationFramework::BPhysBGammaFinder::finalize ( )
override

Definition at line 68 of file BPhysBGammaFinder.cxx.

68  {
69  return StatusCode::SUCCESS;
70 }

◆ initialize()

StatusCode DerivationFramework::BPhysBGammaFinder::initialize ( )
override

Definition at line 57 of file BPhysBGammaFinder.cxx.

57  {
58 
59  ATH_MSG_DEBUG("in initialize()");
60 
61  ATH_CHECK( m_v0Tools.retrieve() );
62  ATH_CHECK( m_vertexFitter.retrieve() );
63  ATH_CHECK( m_vertexEstimator.retrieve() );
64  return StatusCode::SUCCESS;
65 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ interfaceID()

static const InterfaceID& DerivationFramework::IAugmentationTool::interfaceID ( )
inlinestaticinherited

AlgTool interface methods.

Definition at line 31 of file IAugmentationTool.h.

31 { return IID_IAugmentationTool; }

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::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< AlgTool > >::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< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::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.

◆ trackMomentum()

TVector3 DerivationFramework::BPhysBGammaFinder::trackMomentum ( const xAOD::Vertex vxCandidate,
int  trkIndex 
) const

Definition at line 342 of file BPhysBGammaFinder.cxx.

342  {
343 
344  double px = 0.;
345  double py = 0.;
346  double pz = 0.;
347  if (vxCandidate) {
348  const Trk::TrackParameters* aPerigee = vxCandidate->vxTrackAtVertex()[trkIndex].perigeeAtVertex();
349  px = aPerigee->momentum()[Trk::px];
350  py = aPerigee->momentum()[Trk::py];
351  pz = aPerigee->momentum()[Trk::pz];
352  }
353 
354  return TVector3(px,py,pz);
355 }

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::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) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_BVertexCollectionsToCheck

std::vector<std::string> DerivationFramework::BPhysBGammaFinder::m_BVertexCollectionsToCheck
private

Definition at line 57 of file BPhysBGammaFinder.h.

◆ m_Chi2Cut

float DerivationFramework::BPhysBGammaFinder::m_Chi2Cut
private

Definition at line 74 of file BPhysBGammaFinder.h.

◆ m_conversionContainerName

std::string DerivationFramework::BPhysBGammaFinder::m_conversionContainerName
private

Definition at line 66 of file BPhysBGammaFinder.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_inputLowPtTrackContainerName

std::string DerivationFramework::BPhysBGammaFinder::m_inputLowPtTrackContainerName
private

Definition at line 65 of file BPhysBGammaFinder.h.

◆ m_inputTrackParticleContainerName

std::string DerivationFramework::BPhysBGammaFinder::m_inputTrackParticleContainerName
private

Definition at line 64 of file BPhysBGammaFinder.h.

◆ m_maxDeltaCotTheta

float DerivationFramework::BPhysBGammaFinder::m_maxDeltaCotTheta
private

Definition at line 69 of file BPhysBGammaFinder.h.

◆ m_maxDeltaQ

float DerivationFramework::BPhysBGammaFinder::m_maxDeltaQ
private

Definition at line 73 of file BPhysBGammaFinder.h.

◆ m_maxDistBetweenTracks

float DerivationFramework::BPhysBGammaFinder::m_maxDistBetweenTracks
private

Definition at line 68 of file BPhysBGammaFinder.h.

◆ m_maxGammaMass

float DerivationFramework::BPhysBGammaFinder::m_maxGammaMass
private

Definition at line 75 of file BPhysBGammaFinder.h.

◆ m_passFlagsToCheck

std::vector<std::string> DerivationFramework::BPhysBGammaFinder::m_passFlagsToCheck
private

Definition at line 58 of file BPhysBGammaFinder.h.

◆ m_requireDeltaQ

bool DerivationFramework::BPhysBGammaFinder::m_requireDeltaQ
private

Definition at line 71 of file BPhysBGammaFinder.h.

◆ m_use_low_pT

bool DerivationFramework::BPhysBGammaFinder::m_use_low_pT
private

Definition at line 72 of file BPhysBGammaFinder.h.

◆ m_v0Tools

ToolHandle<Trk::V0Tools> DerivationFramework::BPhysBGammaFinder::m_v0Tools
private

Definition at line 60 of file BPhysBGammaFinder.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vertexEstimator

ToolHandle<InDet::VertexPointEstimator> DerivationFramework::BPhysBGammaFinder::m_vertexEstimator
private

Definition at line 62 of file BPhysBGammaFinder.h.

◆ m_vertexFitter

ToolHandle<Trk::IVertexFitter> DerivationFramework::BPhysBGammaFinder::m_vertexFitter
private

Definition at line 61 of file BPhysBGammaFinder.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
xAOD::TrackParticle_v1::pt
virtual double pt() const override final
The transverse momentum ( ) of the particle.
Definition: TrackParticle_v1.cxx:73
Trk::py
@ py
Definition: ParamDefs.h:60
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
xAOD::BPhysHelper
Definition: BPhysHelper.h:71
test_pyathena.px
px
Definition: test_pyathena.py:18
xAOD::VertexAuxContainer_v1
Temporary container used until we have I/O for AuxStoreInternal.
Definition: VertexAuxContainer_v1.h:32
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition: Control/AthContainers/AthContainers/Accessor.h:68
DerivationFramework::BPhysBGammaFinder::m_conversionContainerName
std::string m_conversionContainerName
Definition: BPhysBGammaFinder.h:66
egammaEnergyPositionAllSamples::e1
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
xAOD::TrackParticle_v1::eta
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Definition: TrackParticle_v1.cxx:77
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
DerivationFramework::BPhysBGammaFinder::m_BVertexCollectionsToCheck
std::vector< std::string > m_BVertexCollectionsToCheck
Definition: BPhysBGammaFinder.h:57
DerivationFramework::BPhysBGammaFinder::m_maxDistBetweenTracks
float m_maxDistBetweenTracks
Definition: BPhysBGammaFinder.h:68
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition: ConstAccessor.h:55
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
DerivationFramework::BPhysBGammaFinder::trackMomentum
TVector3 trackMomentum(const xAOD::Vertex *vxCandidate, int trkIndex) const
Definition: BPhysBGammaFinder.cxx:342
Trk::pz
@ pz
global momentum (cartesian)
Definition: ParamDefs.h:61
DerivationFramework::BPhysBGammaFinder::m_inputTrackParticleContainerName
std::string m_inputTrackParticleContainerName
Definition: BPhysBGammaFinder.h:64
Photon
Class describing an photon
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
DerivationFramework::BPhysBGammaFinder::m_passFlagsToCheck
std::vector< std::string > m_passFlagsToCheck
Definition: BPhysBGammaFinder.h:58
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
IDTPMcnv.htype
htype
Definition: IDTPMcnv.py:29
AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:85
xAOD::Vertex_v1::addTrackAtVertex
void addTrackAtVertex(const ElementLink< TrackParticleContainer > &tr, float weight=1.0)
Add a new track to the vertex.
Definition: Vertex_v1.cxx:314
xAOD::BPhysHypoHelper
Definition: BPhysHypoHelper.h:73
xAOD::TrackParticle_v1::perigeeParameters
const Trk::Perigee & perigeeParameters() const
Returns the Trk::MeasuredPerigee track parameters.
Definition: TrackParticle_v1.cxx:485
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
ParticleGun_EoverP_Config.momentum
momentum
Definition: ParticleGun_EoverP_Config.py:63
SG::Decorator
Helper class to provide type-safe access to aux data.
Definition: Decorator.h:59
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Trk::electron
@ electron
Definition: ParticleHypothesis.h:27
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
master.flag
bool flag
Definition: master.py:29
DerivationFramework::BPhysBGammaFinder::m_maxDeltaCotTheta
float m_maxDeltaCotTheta
Definition: BPhysBGammaFinder.h:69
Trk::px
@ px
Definition: ParamDefs.h:59
Amg::pz
@ pz
Definition: GeoPrimitives.h:40
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
CHECK
#define CHECK(...)
Evaluate an expression and check for errors.
Definition: Control/AthenaKernel/AthenaKernel/errorcheck.h:422
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
xAOD::Vertex_v1::clearTracks
void clearTracks()
Remove all tracks from the vertex.
Definition: Vertex_v1.cxx:331
Trk::ParametersBase
Definition: ParametersBase.h:55
DerivationFramework::BPhysBGammaFinder::m_vertexFitter
ToolHandle< Trk::IVertexFitter > m_vertexFitter
Definition: BPhysBGammaFinder.h:61
Trk::muon
@ muon
Definition: ParticleHypothesis.h:28
DerivationFramework::BPhysBGammaFinder::m_maxGammaMass
float m_maxGammaMass
Definition: BPhysBGammaFinder.h:75
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
DerivationFramework::BPhysBGammaFinder::m_vertexEstimator
ToolHandle< InDet::VertexPointEstimator > m_vertexEstimator
Definition: BPhysBGammaFinder.h:62
Amg::py
@ py
Definition: GeoPrimitives.h:39
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
xAOD::Photon
Photon_v1 Photon
Definition of the current "egamma version".
Definition: Event/xAOD/xAODEgamma/xAODEgamma/Photon.h:17
xAOD::Vertex_v1::numberDoF
float numberDoF() const
Returns the number of degrees of freedom of the vertex fit as float.
DataVector::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
Trk::ParametersBase::momentum
const Amg::Vector3D & momentum() const
Access method for the momentum.
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
DerivationFramework::BPhysBGammaFinder::m_inputLowPtTrackContainerName
std::string m_inputLowPtTrackContainerName
Definition: BPhysBGammaFinder.h:65
xAOD::photon
@ photon
Definition: TrackingPrimitives.h:199
a
TList * a
Definition: liststreamerinfos.cxx:10
xAOD::Vertex_v1::chiSquared
float chiSquared() const
Returns the of the vertex fit as float.
h
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
egammaEnergyPositionAllSamples::e2
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
DerivationFramework::BPhysBGammaFinder::m_use_low_pT
bool m_use_low_pT
Definition: BPhysBGammaFinder.h:72
DerivationFramework::BPhysBGammaFinder::m_requireDeltaQ
bool m_requireDeltaQ
Definition: BPhysBGammaFinder.h:71
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:623
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:798
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
DerivationFramework::BPhysBGammaFinder::m_Chi2Cut
float m_Chi2Cut
Definition: BPhysBGammaFinder.h:74
xAOD::Vertex_v1::vxTrackAtVertex
std::vector< Trk::VxTrackAtVertex > & vxTrackAtVertex()
Non-const access to the VxTrackAtVertex vector.
Definition: Vertex_v1.cxx:181
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
DerivationFramework::BPhysBGammaFinder::m_v0Tools
ToolHandle< Trk::V0Tools > m_v0Tools
Definition: BPhysBGammaFinder.h:60
DataVector::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
xAOD::TrackParticle_v1::phi
virtual double phi() const override final
The azimuthal angle ( ) of the particle (has range to .)
fitman.k
k
Definition: fitman.py:528
generate::Zero
void Zero(TH1D *hin)
Definition: generate.cxx:32
DerivationFramework::BPhysBGammaFinder::m_maxDeltaQ
float m_maxDeltaQ
Definition: BPhysBGammaFinder.h:73