Go to the source code of this file.
|
| #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;')
|
◆ JETCALCFUNCDECL
| #define JETCALCFUNCDECL |
( |
| cname, |
|
|
| id, |
|
|
| others ) |
Value: public: \
double jetCalculation() const ; \
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); }