1 #ifndef EcalSelectiveReadoutSuppressor_h 2 #define EcalSelectiveReadoutSuppressor_h 5 #include "boost/multi_array.hpp" 111 double endcapLowInterest,
112 double barrelHighInterest,
113 double endcapHighInterest);
void setGeometry(const CaloGeometry *caloGeometry)
void setSettings(const EcalSRSettings *settings)
EcalSelectiveReadoutSuppressor(const edm::ParameterSet ¶ms, edm::ConsumesCollector iC)
int iPhi2cIndex(int iPhi) const
static const size_t nTriggerTowersInEta
void initCellThresholds(double barrelLowInterest, double endcapLowInterest, double barrelHighInterest, double endcapHighInterest)
helpers for constructors
EcalSelectiveReadout * getEcalSelectiveReadout()
bool trigPrimBypassWithPeakFinder_
double trigPrimBypassHTH_
static const size_t nEndcaps
bool ttThresOnCompressedEt_
void setTriggerMap(const EcalTrigTowerConstituentsMap *map)
std::unique_ptr< EcalSelectiveReadout > ecalSelectiveReadout
EcalSelectiveReadout::ttFlag_t ttFlags[nTriggerTowersInEta][nTriggerTowersInPhi]
std::vector< float > weights
void run(const edm::EventSetup &eventSetup, const EcalTrigPrimDigiCollection &trigPrims, EBDigiCollection &barrelDigis, EEDigiCollection &endcapDigis)
int internalThreshold(double thresholdInGeV, int iSubDet) const
double trigPrimBypassLTH_
EcalSelectiveReadout::ttFlag_t defaultTtf_
int iTTPhi2cIndex(int iPhi) const
std::vector< int > firWeights
static const size_t nBarrelTriggerTowersInEta
static int getFIRTapCount()
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > geoToken_
static const size_t nEndcapTriggerTowersInEta
double frame2Energy(const T &frame, int timeOffset=0) const
int iTTEta2cIndex(int iEta) const
int iEta2cIndex(int iEta) const
std::vector< int > getFIRWeigths()
bool accept(const edm::DataFrame &frame, int thr)
static const int nFIRTaps
void setTtFlags(const edm::EventSetup &eventSetup, const EBDigiCollection &ebDigis, const EEDigiCollection &eeDigis)
void setElecMap(const EcalElectronicsMapping *map)
const EcalTrigTowerConstituentsMap * theTriggerMap
void printTTFlags(std::ostream &os, int iEvent=-1, bool withHeader=true) const
std::vector< int > actions_
static const size_t nTriggerTowersInPhi