ATLAS Offline Software
IParticleExtractor.h
Go to the documentation of this file.
1 // this file is -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // IParticleExtractor.h
8 
9 #ifndef IParticleExtractor_H
10 #define IParticleExtractor_H
11 
14 #include "xAODJet/Jet.h"
15 #include <string>
16 #include <vector>
17 
19 
20 public:
21  //IParticleExtractor();
23  const std::string & label="",
24  bool isGhost=false,
25  bool isTrigger=false);
26 
27 
29  virtual IParticleExtractor* clone() const override;
30  virtual IParticleExtractor* ghostClone() const override;
31  virtual void
32  addToJet(xAOD::Jet&, const std::vector<int>& indices) const override;
33  virtual std::string toString(int level) const override;
34  virtual bool checkIntegrity() const override;
35 private:
37  std::string m_label;
38  bool m_isGhost;
39  bool m_debug{false};
40  bool m_isTrigger{false};
41 };
42 
43 
44 #endif
IParticleExtractor::ghostClone
virtual IParticleExtractor * ghostClone() const override
Definition: IParticleExtractor.cxx:29
IParticleExtractor::m_debug
bool m_debug
Definition: IParticleExtractor.h:39
Jet.h
IConstituentExtractor.h
PlotCalibFromCool.label
label
Definition: PlotCalibFromCool.py:78
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
IParticleExtractor::m_isTrigger
bool m_isTrigger
Definition: IParticleExtractor.h:40
IParticleExtractor::toString
virtual std::string toString(int level) const override
Definition: IParticleExtractor.cxx:72
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
IParticleExtractor::m_label
std::string m_label
Definition: IParticleExtractor.h:37
IParticleExtractor::IParticleExtractor
IParticleExtractor(const xAOD::IParticleContainer *, const std::string &label="", bool isGhost=false, bool isTrigger=false)
Definition: IParticleExtractor.cxx:13
IParticleExtractor::~IParticleExtractor
virtual ~IParticleExtractor()
IParticleExtractor::clone
virtual IParticleExtractor * clone() const override
Definition: IParticleExtractor.cxx:25
IParticleExtractor
Definition: IParticleExtractor.h:18
IParticleContainer.h
IParticleExtractor::m_isGhost
bool m_isGhost
Definition: IParticleExtractor.h:38
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
IParticleExtractor::addToJet
virtual void addToJet(xAOD::Jet &, const std::vector< int > &indices) const override
Definition: IParticleExtractor.cxx:36
IParticleExtractor::m_iParticles
const xAOD::IParticleContainer * m_iParticles
Definition: IParticleExtractor.h:36
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
IConstituentExtractor
Definition: IConstituentExtractor.h:22
IParticleExtractor::checkIntegrity
virtual bool checkIntegrity() const override
Definition: IParticleExtractor.cxx:104