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 176 void setGeometry(
const CaloGeometry* caloGeometry) { theGeometry = caloGeometry; }
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 <<
" " 331 #ifndef ECALSELECTIVEREADOUT_NOGEOM 333 #endif //ECALSELECTIVEREADOUT_NOGEOM not defined
void printEndcap(int endcap, std::ostream &s) const
void printHeader(std::ostream &os) const
print out header for the map: see print(std::ostream&)
static const int FORCED_MASK
static const size_t nEndcapXBins
void setTriggerMap(const EcalTrigTowerConstituentsMap *map)
the mapping of which cell goes with which trigger tower
towerInterest_t getCrystalInterest(const EBDetId &ebDetId) const
void setLower(int &var, int val) const
static const size_t nSupercrystalXBins
static const int TTF_FORCED_RO_MASK
static const size_t nEndcaps
static const int nDccPerEe
static const size_t nBarrelPhiBins
void classifyTriggerTowers(const ttFlag_t ttFlags[nTriggerTowersInEta][nTriggerTowersInPhi])
towerInterest_t & eeRuInterest(const EEDetId &id)
static const size_t nEndcapYBins
static const size_t nSupercrystalYBins
void printBarrel(std::ostream &os) const
static const size_t nBarrelTowerPhiBins
EcalSelectiveReadout(int dEta=1, int dPhi=1)
unsigned towerId(DetId const &, EcalElectronicsMapping const *)
static const size_t supercrystalEdge
static const int maxDccChs
static const size_t nEndcapTriggerTowersInEta
const EcalElectronicsMapping * theElecMap
towerInterest_t eeRuInterest_[nEndcaps][nDccPerEe][maxDccChs]
const EcalTrigTowerConstituentsMap * theTriggerMap
towerInterest_t getTowerInterest(const EcalTrigTowerDetId &towerId) const
void combineFlags(T &var, T val) const
static const size_t nTriggerTowersInEta
static const size_t nTriggerTowersInPhi
void print(std::ostream &os) const
print out the map
static const char srpFlagMarker[]
void runSelectiveReadout0(const ttFlag_t towerFlags[nTriggerTowersInEta][nTriggerTowersInPhi])
towerInterest_t towerInterest[nTriggerTowersInEta][nTriggerTowersInPhi]
static const size_t nBarrelTriggerTowersInEta
void setHigher(T &var, T val) const
static const size_t nBarrelEtaBins
towerInterest_t getSuperCrystalInterest(const EcalScDetId &scDetId) const
static const size_t nBarrelTowerEtaBins
std::ostream & operator<<(std::ostream &os, const EcalSelectiveReadout &selectiveReadout)
void setElecMap(const EcalElectronicsMapping *map)
void printDccChMap(std::ostream &os) const