7#ifndef JETUTILS_JETCALOCELLQUALHELPER_H
8#define JETUTILS_JETCALOCELLQUALHELPER_H
53#define DECLARECELLCALC( baseclass, derivedclass, inits ) \
54 class derivedclass : public baseclass , public JetCaloCellCalculator { \
56 derivedclass() : baseclass() {inits;} \
57 virtual bool processCell(const CaloCell* , weight_t ) ; \
58 JetCaloCellCalculator* clone()const {return new derivedclass(*this);} \
#define DECLARECELLCALC(baseclass, derivedclass, inits)
DECLARECELLCALC : a macro to ease the declaration of concrete implementations of JetCaloCellCalculato...
Data object for each calorimeter readout cell.
JetCaloCalculations(bool ownCalc=true)
void addCellCalculator(JetCaloCellCalculator *c)
std::vector< JetCaloCellCalculator * > m_cellcalculators
JetCaloCellCalculations(bool ownCalc=true)
Base class (inheriting JetCaloCalculator) for calculations accessing CaloCell directly.
virtual double operator()(const xAOD::Jet *jet, xAOD::JetConstitScale s=xAOD::UncalibratedJetConstituent)
convenience function to perform the full calculation on a given jet
virtual bool processCell(const CaloCell *, weight_t)=0
perform calculation for a single cell
virtual JetCaloCellCalculator * clone() const =0
Clone. Base class should not be cloned.
const std::string process
Jet_v1 Jet
Definition of the current "jet version".
@ UncalibratedJetConstituent