42 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
43 detIter_!= selectedDetIds.end();detIter_++){
56 ModMEs selModME_ = _selModME_;
62 for(
int istrip=0;istrip<nStrip;++istrip){
81 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
82 detIter_!= selectedDetIds.end();detIter_++){
99 c1.Print(name.c_str());
108 c1.Print(name.c_str());
123 int subdetectorId_ = ((selDetId_>>25)&0x7);
125 if( subdetectorId_<3 || subdetectorId_>6 ){
127 <<
"[SiStripPedestalsDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : "
128 << subdetectorId_ <<
" no folder set!"
139 selME_ =selMEsMapIter_->second;
158 hSummaryOfProfile_name = hidmanager.
createHistoLayer(hSummaryOfProfile_description,
163 for(
int istrip=0;istrip<nStrip;++istrip){
189 float meanPedestal=0;
191 for(
int istrip=0;istrip<nStrip;++istrip){
193 meanPedestal = meanPedestal +
pedestalHandle_->getPed(istrip,pedRange);
197 meanPedestal = meanPedestal/nStrip;
203 std::vector<uint32_t> sameLayerDetIds_;
205 sameLayerDetIds_.clear();
211 for(
unsigned int i=0;
i<sameLayerDetIds_.size();
i++){
212 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)
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 getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
T const * product() const
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)
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
SiStripHistoId hidmanager