ATLAS Offline Software
Loading...
Searching...
No Matches
IConstituentExtractor.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// ConstituentExtractor.h
8
9#ifndef IConstituentExtractor_H
10#define IConstituentExtractor_H
11
12// Johannes Elmsheuser
13// November 2016
14
15#include "fastjet/PseudoJet.hh"
16#include "xAODJet/Jet.h"
17#include <string>
18#include <vector>
19#include <ostream>
20
21
23
24public:
26 virtual IConstituentExtractor* clone() const = 0;
27 // Alow copying of concrete Extractors which reside behind this
28 // interface. The ghost flag is set. This flag determines
29 // whether EDM objects ar added to jets as consituents (ghost = false) or
30 // associated objcts (ghost=true)
31 virtual IConstituentExtractor* ghostClone() const = 0;
32
33 virtual void addToJet(xAOD::Jet&,
34 const std::vector<int>& indices) const = 0;
35
36 virtual std::string toString(int level) const = 0 ;
37 virtual bool checkIntegrity() const = 0;
38};
39
40std::ostream& operator << (std::ostream& os, const IConstituentExtractor* e);
41
42#endif
std::ostream & operator<<(std::ostream &os, const IConstituentExtractor *e)
virtual ~IConstituentExtractor()
virtual bool checkIntegrity() const =0
virtual std::string toString(int level) const =0
virtual IConstituentExtractor * ghostClone() const =0
virtual IConstituentExtractor * clone() const =0
virtual void addToJet(xAOD::Jet &, const std::vector< int > &indices) const =0
Jet_v1 Jet
Definition of the current "jet version".