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. More...
|
| |
|
| | 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;} \
JetCaloCellCalculator*
clone()
const {
return new derivedclass(*
this);} \
}
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 54 of file JetCaloCellQualityUtils.h.