#include <CaloBadCellHelper.h>
|
| static bool | isBad (const CaloCell *pCell, bool treatL1PredictedCellsAsGood) |
Definition at line 24 of file CaloBadCellHelper.h.
◆ isBad()
| bool CaloBadCellHelper::isBad |
( |
const CaloCell * | pCell, |
|
|
bool | treatL1PredictedCellsAsGood ) |
|
inlinestatic |
Definition at line 27 of file CaloBadCellHelper.h.
27 {
28 bool badcell=false;
30 if (treatL1PredictedCellsAsGood) {
31 const CaloDetDescrElement* caloDDE = pCell->
caloDDE();
32 if (caloDDE) {
36 badcell=true;
37 }
38 }
39 else
40 badcell=true;
41 }
42 return badcell;
43 }
const CaloDetDescrElement * caloDDE() const
get pointer to CaloDetDescrElement (data member)
uint16_t provenance() const
get provenance (data member)
virtual bool badcell() const
check is cell is dead
CaloCell_ID::SUBCALO getSubCalo() const
cell subcalo
The documentation for this struct was generated from the following file: