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