ATLAS Offline Software
ParticleLevelJetObjectSelector.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 // Filename: ParticleLevelJetObjectSelector.h
6 // Description:
7 // Author: Fabian Wilk
8 // Created: Sun Feb 22 15:49:37 2015
9 
10 #ifndef _TOP_PARTICLE_LEVEL_JETOBJECTSELECTOR_H_
11 #define _TOP_PARTICLE_LEVEL_JETOBJECTSELECTOR_H_
12 
14 
15 #include "xAODJet/JetContainer.h"
16 
17 namespace top {
19  : public ObjectSelectorBase<xAOD::Jet> {
20  public:
21  // Struct used to store the cut values used by the object selector. It
22  // is important that the object has a sensible default config because it
23  // will be default constructed for the trivial constructor of the object
24  // selector.
25  struct Options {
26  Options(double ptMin = 25.e3, double etaMax = 2.5) :
28  double pt_min;
29  double eta_max;
30  };
31  public:
33  virtual bool apply(const xAOD::Jet& jet);
34  private:
36  };
37 }
38 
39 
40 #endif /* _TOP_PARTICLE_LEVEL_JETOBJECTSELECTOR_H_ */
top
TopConfig A simple configuration that is NOT a singleton.
Definition: AnalysisTrackingHelper.cxx:58
xAOD::etaMax
etaMax
Definition: HIEventShape_v2.cxx:46
top::ParticleLevelJetObjectSelector::Options::eta_max
double eta_max
Definition: ParticleLevelJetObjectSelector.h:29
jet
Definition: JetCalibTools_PlotJESFactors.cxx:23
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
top::ParticleLevelJetObjectSelector::apply
virtual bool apply(const xAOD::Jet &jet)
Definition: ParticleLevelJetObjectSelector.cxx:17
top::ParticleLevelJetObjectSelector::ParticleLevelJetObjectSelector
ParticleLevelJetObjectSelector(Options opt=Options())
Definition: ParticleLevelJetObjectSelector.cxx:13
top::ParticleLevelJetObjectSelector
Definition: ParticleLevelJetObjectSelector.h:19
top::ParticleLevelJetObjectSelector::Options
Definition: ParticleLevelJetObjectSelector.h:25
pmontree.opt
opt
Definition: pmontree.py:16
ObjectSelectorBase.h
checkNSWValTree.Options
Options
Definition: checkNSWValTree.py:15
top::ObjectSelectorBase
Definition: ObjectSelectorBase.h:15
top::ParticleLevelJetObjectSelector::m_opt
Options m_opt
Definition: ParticleLevelJetObjectSelector.h:35
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
JetContainer.h
PhysDESDM_SmpCaloId.ptMin
ptMin
Definition: PhysDESDM_SmpCaloId.py:90
top::ParticleLevelJetObjectSelector::Options::pt_min
double pt_min
Definition: ParticleLevelJetObjectSelector.h:28
top::ParticleLevelJetObjectSelector::Options::Options
Options(double ptMin=25.e3, double etaMax=2.5)
Definition: ParticleLevelJetObjectSelector.h:26