ATLAS Offline Software
ParticleLevelTauObjectSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef _TOP_PARTICLE_LEVEL_TAUOBJECTSELECTOR_H_
6 #define _TOP_PARTICLE_LEVEL_TAUOBJECTSELECTOR_H_
7 
9 
11 
12 namespace top {
14  : public ObjectSelectorBase<xAOD::TruthParticle> {
15  public:
16  // Struct used to store the cut values used by the object selector. It
17  // is important that the object has a sensible default config because it
18  // will be default constructed for the trivial constructor of the object
19  // selector.
20  struct Options {
21  Options(double ptMin = 25.e3,
22  double etaMax = 2.5) :
23  pt_min(ptMin),
24  eta_max(etaMax) {}
25  double pt_min;
26  double eta_max;
27  };
28  public:
30  virtual bool apply(const xAOD::TruthParticle& truthParticle);
31  private:
33  };
34 }
35 
36 #endif /* _TOP_PARTICLE_LEVEL_TAUOBJECTSELECTOR_H_ */
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
TruthParticleContainer.h
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
top::ParticleLevelTauObjectSelector::Options
Definition: ParticleLevelTauObjectSelector.h:20
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
top::ParticleLevelTauObjectSelector::m_opt
Options m_opt
Definition: ParticleLevelTauObjectSelector.h:32
top::ParticleLevelTauObjectSelector::Options::Options
Options(double ptMin=25.e3, double etaMax=2.5)
Definition: ParticleLevelTauObjectSelector.h:21
xAOD::TruthParticle_v1
Class describing a truth particle in the MC record.
Definition: TruthParticle_v1.h:41
top::ParticleLevelTauObjectSelector
Definition: ParticleLevelTauObjectSelector.h:14
top::ParticleLevelTauObjectSelector::apply
virtual bool apply(const xAOD::TruthParticle &truthParticle)
Definition: ParticleLevelTauObjectSelector.cxx:14
pmontree.opt
opt
Definition: pmontree.py:16
ObjectSelectorBase.h
checkNSWValTree.Options
Options
Definition: checkNSWValTree.py:15
top::ObjectSelectorBase
Definition: ObjectSelectorBase.h:15
top::ParticleLevelTauObjectSelector::Options::eta_max
double eta_max
Definition: ParticleLevelTauObjectSelector.h:26
top::ParticleLevelTauObjectSelector::ParticleLevelTauObjectSelector
ParticleLevelTauObjectSelector(Options opt=Options())
Definition: ParticleLevelTauObjectSelector.cxx:11
PhysDESDM_SmpCaloId.ptMin
ptMin
Definition: PhysDESDM_SmpCaloId.py:90
top::ParticleLevelTauObjectSelector::Options::pt_min
double pt_min
Definition: ParticleLevelTauObjectSelector.h:25