43 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
44 detIter_!= selectedDetIds.end();detIter_++){
57 ModMEs selModME_ = _selModME_;
63 for(
int istrip=0;istrip<nStrip;++istrip){
82 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
83 detIter_!= selectedDetIds.end();detIter_++){
100 c1.Print(name.c_str());
109 c1.Print(name.c_str());
124 int subdetectorId_ = ((selDetId_>>25)&0x7);
126 if( subdetectorId_<3 || subdetectorId_>6 ){
128 <<
"[SiStripPedestalsDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 129 << subdetectorId_ <<
" no folder set!" 140 selME_ =selMEsMapIter_->second;
159 hSummaryOfProfile_name = hidmanager.
createHistoLayer(hSummaryOfProfile_description,
164 for(
int istrip=0;istrip<nStrip;++istrip){
190 float meanPedestal=0;
192 for(
int istrip=0;istrip<nStrip;++istrip){
198 meanPedestal = meanPedestal/nStrip;
204 std::vector<uint32_t> sameLayerDetIds_;
206 sameLayerDetIds_.clear();
212 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
213 if(sameLayerDetIds_[
i]==selDetId_){iBin=
i+1;}
T getParameter(std::string const &) const
edm::ESHandle< SiStripPedestals > pedestalHandle_
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
std::pair< ContainerIterator, ContainerIterator > Range
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
void fillTkMap(const uint32_t &detid, const float &value)
SiStripPedestalsDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
float getPed(const uint16_t &strip, const Range &range) const
U second(std::pair< T, U > const &p)
std::map< uint32_t, ModMEs > SummaryMEsMap_
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
SiStripDetInfoFileReader * reader
void fill(uint32_t &detid, float value)
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
std::string CondObj_fillId_
MonitorElement * ProfileDistr
void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo)
virtual ~SiStripPedestalsDQM()
MonitorElement * SummaryOfProfileDistr
void getConditionObject(const edm::EventSetup &eSetup)
void getDetIds(std::vector< uint32_t > &DetIds_) const
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void getActiveDetIds(const edm::EventSetup &eSetup)
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
TProfile * getTProfile(void) const
MonitorElement * SummaryDistr
std::vector< uint32_t > activeDetIds
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)
const Range getRange(const uint32_t &detID) const
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
T const * product() const
SiStripHistoId hidmanager