Go to the source code of this file.
|
| #define | DECLARECELLCALC(baseclass, derivedclass, inits) |
| | DECLARECELLCALC : a macro to ease the declaration of concrete implementations of JetCaloCellCalculator.
|
|
| | jet::DECLARECELLCALC (JetCalcnLeadingCells, JetCalcnLeadingCells_fromCells, m_id=JetAttribute::N90Cells;) |
| | jet::DECLARECELLCALC (JetCalcOutOfTimeEnergyFraction, JetCalcOutOfTimeEnergyFraction_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcTimeCells, JetCalcTimeCells_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcAverageLArQualityF, JetCalcAverageLArQualityF_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcQualityHEC, JetCalcQualityHEC_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcQuality, JetCalcQuality_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcNegativeEnergy, JetCalcNegativeEnergy_fromCells,) |
| | jet::DECLARECELLCALC (JetCalcCentroid, JetCalcCentroid_fromCells,) |
◆ DECLARECELLCALC
| #define DECLARECELLCALC |
( |
| baseclass, |
|
|
| derivedclass, |
|
|
| inits ) |
Value: class derivedclass : public baseclass , public JetCaloCellCalculator { \
public: \
derivedclass() : baseclass() {inits;} \
virtual bool processCell(
const CaloCell* , weight_t ) ; \
JetCaloCellCalculator* clone()const {return new derivedclass(*this);} \
}
Data object for each calorimeter readout cell.
DECLARECELLCALC : a macro to ease the declaration of concrete implementations of JetCaloCellCalculator.
- Parameters
-
| baseclass | : the class to be inherited. |
| derivedclass | : the JetCaloCellCalculator implentation to declare |
| inits | : code to be added to derivedclass constructor |
Definition at line 53 of file JetCaloCellQualityUtils.h.
53#define DECLARECELLCALC( baseclass, derivedclass, inits ) \
54 class derivedclass : public baseclass , public JetCaloCellCalculator { \
55 public: \
56 derivedclass() : baseclass() {inits;} \
57 virtual bool processCell(const CaloCell* , weight_t ) ; \
58 JetCaloCellCalculator* clone()const {return new derivedclass(*this);} \
59 }