ATLAS Offline Software
Loading...
Searching...
No Matches
JetCaloCalculations.h File Reference
#include "xAODJet/JetConstituentVector.h"
#include <vector>
#include "xAODJet/Jet.h"
#include "xAODCaloEvent/CaloCluster.h"
Include dependency graph for JetCaloCalculations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CaloConstitHelpers::CaloConstitExtractor
 Interface to retrieve calo informations from a jet constituent. More...
class  jet::JetCaloCalculator
 Base class to support cpu-efficient calculation on calorimeter jets either at CaloCell or constituent level (CaloCluster & PFO objects supported). More...
class  jet::JetCaloCalculations
 Holds a list of JetCalculators. More...

Namespaces

namespace  CaloConstitHelpers
namespace  jet

Macros

#define JETCALCFUNCDECL(cname, id, others)
 JETCALCFUNCDECL macro : ease the declaration of class inheriting JetCaloCalculator cname : the class name id : A JetAttribute::AttributeID corresponding to what the calculator produces others : a list of instructions executed in constructor (typically in the form 'minPtCut=42;')

Macro Definition Documentation

◆ JETCALCFUNCDECL

#define JETCALCFUNCDECL ( cname,
id,
others )
Value:
public: \
virtual bool setupJet(const xAOD::Jet* jet); \
virtual bool processConstituent(xAOD::JetConstituentVector::iterator& iter); \
double jetCalculation() const ; \
cname(xAOD::JetAttribute::AttributeID i=id) : JetCaloCalculator( i ) { others } \
virtual JetCaloCalculator* clone() const {return new cname(*this); }
Jet_v1 Jet
Definition of the current "jet version".

JETCALCFUNCDECL macro : ease the declaration of class inheriting JetCaloCalculator cname : the class name id : A JetAttribute::AttributeID corresponding to what the calculator produces others : a list of instructions executed in constructor (typically in the form 'minPtCut=42;')

Definition at line 123 of file JetCaloCalculations.h.

123#define JETCALCFUNCDECL( cname, id, others) \
124 public: \
125 virtual bool setupJet(const xAOD::Jet* jet); \
126 virtual bool processConstituent(xAOD::JetConstituentVector::iterator& iter); \
127 double jetCalculation() const ; \
128 cname(xAOD::JetAttribute::AttributeID i=id) : JetCaloCalculator( i ) { others } \
129 virtual JetCaloCalculator* clone() const {return new cname(*this); }