Go to the documentation of this file.
5 #ifndef ECALSELECTIVEREADOUT_H
6 #define ECALSELECTIVEREADOUT_H
17 #define ECALSELECTIVEREADOUT_NOGEOM //version w/o geometry dependency.
19 #ifndef ECALSELECTIVEREADOUT_NOGEOM
21 #endif //ECALSELECTIVEREADOUT_NOGEOM not defined
175 #ifndef ECALSELECTIVEREADOUT_NOGEOM
177 #endif //ECALSELECTIVEREADOUT_NOGEOM not defined
237 void print(std::ostream& os)
const;
310 if (var < 0 || var > 7) {
311 std::cout << __FILE__ <<
":" << __LINE__ <<
": ---------->" <<
var <<
" " <<
val <<
" "
324 void printDccChMap(std::ostream& os)
const;
331 #ifndef ECALSELECTIVEREADOUT_NOGEOM
333 #endif //ECALSELECTIVEREADOUT_NOGEOM not defined
void printEndcap(int endcap, std::ostream &s) const
const static size_t nEndcapXBins
void printHeader(std::ostream &os) const
print out header for the map: see print(std::ostream&)
const static size_t nBarrelTowerPhiBins
void printBarrel(std::ostream &os) const
static const int TTF_FORCED_RO_MASK
void setTriggerMap(const EcalTrigTowerConstituentsMap *map)
the mapping of which cell goes with which trigger tower
void setLower(int &var, int val) const
const static int nDccPerEe
const static size_t supercrystalEdge
towerInterest_t getCrystalInterest(const EBDetId &ebDetId) const
EcalSelectiveReadout(int dEta=1, int dPhi=1)
const char srpFlagMarker[]
std::ostream & operator<<(std::ostream &os, const EcalSelectiveReadout &selectiveReadout)
const static size_t nBarrelTriggerTowersInEta
const static size_t nBarrelTowerEtaBins
static const int FORCED_MASK
const static size_t nBarrelEtaBins
void classifyTriggerTowers(const ttFlag_t ttFlags[nTriggerTowersInEta][nTriggerTowersInPhi])
const static size_t nTriggerTowersInEta
void setGeometry(CaloGeometry const *)
const static size_t nEndcapTriggerTowersInEta
towerInterest_t getTowerInterest(const EcalTrigTowerDetId &towerId) const
void combineFlags(T &var, T val) const
towerInterest_t getSuperCrystalInterest(const EcalScDetId &scDetId) const
const static size_t nSupercrystalXBins
towerInterest_t & eeRuInterest(const EEDetId &id)
void setElecMap(const EcalElectronicsMapping *map)
const static size_t nEndcaps
unsigned towerId(DetId const &)
void print(std::ostream &os) const
print out the map
const static size_t nEndcapYBins
void runSelectiveReadout0(const ttFlag_t towerFlags[nTriggerTowersInEta][nTriggerTowersInPhi])
const static int maxDccChs
const static size_t nSupercrystalYBins
const static size_t nBarrelPhiBins
void setHigher(T &var, T val) const
const static size_t nTriggerTowersInPhi