ATLAS Offline Software
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 
24 public:
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 
40 std::ostream& operator << (std::ostream& os, const IConstituentExtractor* e);
41 
42 #endif
AllowedVariables::e
e
Definition: AsgElectronSelectorTool.cxx:37
Jet.h
IConstituentExtractor::addToJet
virtual void addToJet(xAOD::Jet &, const std::vector< int > &indices) const =0
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
IConstituentExtractor::ghostClone
virtual IConstituentExtractor * ghostClone() const =0
IConstituentExtractor::~IConstituentExtractor
virtual ~IConstituentExtractor()
IConstituentExtractor::clone
virtual IConstituentExtractor * clone() const =0
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
IConstituentExtractor::toString
virtual std::string toString(int level) const =0
xAOD::Jet_v1
Class describing a jet.
Definition: Jet_v1.h:57
operator<<
std::ostream & operator<<(std::ostream &os, const IConstituentExtractor *e)
Definition: IConstituentExtractor.cxx:8
IConstituentExtractor
Definition: IConstituentExtractor.h:22
IConstituentExtractor::checkIntegrity
virtual bool checkIntegrity() const =0