21 currentPedestals_(0),channelStatus_(0){
102 edm::LogError(
"Large Variations found wrt to old pedestals, no file created");
112 "EcalPedestalsRcd" );
114 throw std::runtime_error(
"PoolDBService required.");
149 std::vector<int>::const_iterator
res =
160 uint32_t nAnomaliesEB =0;
161 uint32_t nAnomaliesEE =0;
static EEDetId detIdFromDenseIndex(uint32_t din)
T getParameter(std::string const &) const
double thresholdAnomalies_
const self & getMap() const
MonitorElement * get(const std::string &path)
bool checkVariation(const EcalPedestalsMap &oldPedestals, const EcalPedestalsMap &newPedestals)
double getEntries(void) const
get # of entries
double getMean(int axis=1) const
get mean value of histogram along x, y or z axis (axis=1, 2, 3 respectively)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
virtual void endRun(edm::Run const &run, edm::EventSetup const &isetup)
static EBDetId detIdFromDenseIndex(uint32_t di)
void setValue(const uint32_t id, const Item &item)
ECALpedestalPCLHarvester(const edm::ParameterSet &ps)
void addDefault(ParameterSetDescription const &psetDescription)
std::vector< int > chStatusToExclude_
Abs< T >::type abs(const T &t)
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
const EcalChannelStatus * channelStatus_
std::vector< Item >::const_iterator const_iterator
bool checkStatusCode(const DetId &id)
const EcalPedestals * currentPedestals_
double getRMS(int axis=1) const
get RMS of histogram along x, y or z axis (axis=1, 2, 3 respectively)
cond::Time_t currentTime() const
const_iterator find(uint32_t rawId) const
T const * product() const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void dqmEndJob(DQMStore::IBooker &ibooker_, DQMStore::IGetter &igetter_)