ATLAS Offline Software
Loading...
Searching...
No Matches
JetConstituentFiller.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// JetConstituentFiller.h
6
7#ifndef jet__JetConstituentFiller_H
8#define jet__JetConstituentFiller_H
9
10// David Adams and Pierre-Antoine Delsart
11// January 2014
12//
13// Utility that copies the pseudojet constituents to
14// ATLAS jet constituents (including ghosts).
15
16#include <string>
17#include <vector>
18#include "xAODJet/Jet.h"
20
21namespace xAOD {
22 class IParticle;
23}
24
25namespace jet {
26
28
29public :
30
31 JetConstituentFiller(bool isTrig=false) :m_isTrigger(isTrig){}
32
33 typedef std::vector<std::string> NameList;
34
41 int extractConstituents(xAOD::Jet& jet, const NameList* pghostlabs,
42 const fastjet::PseudoJet* ppj =0);
43
50 int extractConstituents(xAOD::Jet& jet, const fastjet::PseudoJet* ppj =0);
51
54 static PseudoJetVector constituentPseudoJets(const xAOD::Jet& jet, bool ignoreGhosts=true, bool requireJetStructure=false);
55
56 protected:
58
59};
60
61} // end jet namespace
62
63#endif
int extractConstituents(xAOD::Jet &jet, const NameList *pghostlabs, const fastjet::PseudoJet *ppj=0)
Build and fill constituents of jet from its PseudoJet (or from ppj) Returns the number of pseudojet c...
std::vector< std::string > NameList
JetConstituentFiller(bool isTrig=false)
static PseudoJetVector constituentPseudoJets(const xAOD::Jet &jet, bool ignoreGhosts=true, bool requireJetStructure=false)
Returns the jet's constituents as a vector of PseudoJet if ignoreGhosts==true, ghost constituents are...
Class providing the definition of the 4-vector interface.
std::vector< fastjet::PseudoJet > PseudoJetVector
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Jet_v1 Jet
Definition of the current "jet version".