ATLAS Offline Software
Loading...
Searching...
No Matches
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
20public:
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;
35private:
37 std::string m_label;
38 bool m_isGhost;
39 bool m_debug{false};
40 bool m_isTrigger{false};
41};
42
43
44#endif
virtual std::string toString(int level) const override
virtual IParticleExtractor * clone() const override
virtual ~IParticleExtractor()
IParticleExtractor(const xAOD::IParticleContainer *, const std::string &label="", bool isGhost=false, bool isTrigger=false)
const xAOD::IParticleContainer * m_iParticles
virtual bool checkIntegrity() const override
virtual void addToJet(xAOD::Jet &, const std::vector< int > &indices) const override
virtual IParticleExtractor * ghostClone() const override
std::string label(const std::string &format, int i)
Definition label.h:19
Jet_v1 Jet
Definition of the current "jet version".
DataVector< IParticle > IParticleContainer
Simple convenience declaration of IParticleContainer.