36 if(SummaryOnLayerLevel_On_ && SummaryOnStringLevel_On_){
38 <<
"[SiStripBaseCondObjDQM::SiStripBaseCondObjDQMs] PLEASE CHECK : String and layer level options can not be activated together" 84 filename.insert(filename.find(
"."),sRun);
97 uint32_t requestedSide,
98 uint32_t requestedLayer){
103 std::vector<uint32_t> requestedDetIds_;
104 requestedDetIds_.clear();
110 if(requestedSubDetector==
"TIB"){
113 else if(requestedSubDetector==
"TID"){
116 else if(requestedSubDetector==
"TOB"){
119 else if(requestedSubDetector==
"TEC"){
138 std::vector<uint32_t> vdetIdsOnDemand_;
139 vdetIdsOnDemand_.push_back(detIdOnDemand);
164 std::vector<uint32_t> cabledDetIds_;
168 return cabledDetIds_;
181 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] input detIds_: " << detIds_.size() << std::endl;
185 std::vector<DetIdSelector> included_subdetsels;
186 std::vector<std::string> included_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeIncluded_DetIdSelector");
187 for(std::vector<std::string>::const_iterator wsdps = included_subdets.begin();wsdps!=included_subdets.end();++wsdps) {
191 std::vector<uint32_t> modulesToBeIncluded;
192 for(std::vector<uint32_t>::const_iterator detid=detIds_.begin();detid!=detIds_.end();++detid) {
193 for(std::vector<DetIdSelector>::const_iterator detidsel=included_subdetsels.begin();detidsel!=included_subdetsels.end();++detidsel) {
194 if(detidsel->isSelected(*detid)) {
195 modulesToBeIncluded.push_back(*detid);
204 std::vector<DetIdSelector> excluded_subdetsels;
205 std::vector<std::string> excluded_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeExcluded_DetIdSelector");
206 for(std::vector<std::string>::const_iterator wsdps = excluded_subdets.begin();wsdps!=excluded_subdets.end();++wsdps) {
210 std::vector<uint32_t> modulesToBeExcluded;
211 for(std::vector<uint32_t>::const_iterator detid=detIds_.begin();detid!=detIds_.end();++detid) {
212 for(std::vector<DetIdSelector>::const_iterator detidsel=excluded_subdetsels.begin();detidsel!=excluded_subdetsels.end();++detidsel) {
213 if(detidsel->isSelected(*detid)) {
214 modulesToBeExcluded.push_back(*detid);
227 std::sort(ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
229 if (modulesToBeExcluded.empty() && modulesToBeIncluded.empty() &&
232 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no modules to be exclude/included in your cfg" 236 modulesToBeIncluded.insert(modulesToBeIncluded.end(),ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
237 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeIncluded: " << modulesToBeIncluded.size() << std::endl;
239 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeExcluded: " << modulesToBeExcluded.size() << std::endl;
242 if( !modulesToBeIncluded.empty() ){
243 std::vector<uint32_t>
tmp;
245 set_intersection( detIds_.begin(), detIds_.end(),
246 modulesToBeIncluded.begin(), modulesToBeIncluded.end(),
247 inserter(tmp,tmp.begin()));
251 std::sort(detIds_.begin(),detIds_.end());
252 if(!modulesToBeExcluded.empty()) {
253 for( std::vector<uint32_t>::const_iterator
mod = modulesToBeExcluded.begin();
254 mod != modulesToBeExcluded.end();
mod++){
256 std::vector<uint32_t>::iterator detid=std::lower_bound(detIds_.begin(),detIds_.end(),*
mod);
257 if (detid!=detIds_.end())
258 detIds_.erase(detid);
266 if( *(SubDetectorsToBeExcluded_.begin()) !=
"none" ){
268 std::vector<uint32_t>
tmp;
270 for( std::vector<std::string>::const_iterator modIter_ = SubDetectorsToBeExcluded_.begin();
271 modIter_ != SubDetectorsToBeExcluded_.end(); modIter_++){
280 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no correct (name) subdetector to be excluded in your cfg" 284 std::vector<uint32_t>::iterator iterBegin_=std::lower_bound(detIds_.begin(),
286 *min_element(tmp.begin(), tmp.end()));
288 std::vector<uint32_t>::iterator iterEnd_=std::lower_bound(detIds_.begin(),
290 *max_element(tmp.begin(), tmp.end()));
292 for(std::vector<uint32_t>::iterator detIter_ = iterEnd_;
293 detIter_!= iterBegin_-1;detIter_--){
294 detIds_.erase(detIter_);
301 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] output detIds_: " << detIds_.size() << std::endl;
308 std::vector<uint32_t>
tmp;
309 std::vector<uint32_t> layerDetIds;
311 for(
unsigned int i=1;
i<5 ;
i++){
314 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
316 for(
unsigned int i=1;
i<7 ;
i++){
319 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
321 for(
unsigned int i=1;
i<4 ;
i++){
324 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
326 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
328 for(
unsigned int i=1;
i<10 ;
i++){
331 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
333 if(!tmp.empty()) { layerDetIds.push_back(*(tmp.begin()));}
351 std::map< uint32_t, ModMEs >::const_iterator ModMEsMap_iter =
ModMEsMap_.find(detId_);
355 CondObj_ME=ModMEsMap_iter->second;
366 <<
"[SiStripBaseCondObjDQM::getModMEs] PLEASE CHECK : CondObj_fillId option mispelled";
382 ModMEsMap_.insert( std::make_pair(detId_,CondObj_ME) );
392 std::map<uint32_t, ModMEs>::const_iterator SummaryMEsMap_iter;
463 int hProfile_NchX = 0;
464 double hProfile_LowX = 0;
465 double hProfile_HighX = 0;
478 hProfile_NchX = nStrip;
480 hProfile_HighX = nStrip+0.5;
486 hProfile_NchX = nApv;
488 hProfile_HighX = nApv+0.5;
497 hProfile = hProfile_Name ;
513 double hCumul_LowX = 0;
514 double hCumul_HighX = 0;
533 hCumul_title = hCumul_name ;
553 std::vector<uint32_t> sameLayerDetIds_;
555 int hSummaryOfProfile_NchX = 0;
556 double hSummaryOfProfile_LowX = 0;
557 double hSummaryOfProfile_HighX = 0;
562 std::string hSummaryOfProfile_xTitle, hSummaryOfProfile_yTitle;
566 int hSummaryOfProfile_NchY;
567 double hSummaryOfProfile_LowY, hSummaryOfProfile_HighY;
572 int nStrip, nApv, layerId_;
581 if( (layerId_ > 610 && layerId_ < 620) ||
582 (layerId_ > 620 && layerId_ < 630) ||
583 (layerId_ > 410 && layerId_ < 414) ||
584 (layerId_ > 420 && layerId_ < 424) ){ nStrip =768;}
587 hSummaryOfProfile_NchX = nStrip;
588 hSummaryOfProfile_LowX = 0.5;
589 hSummaryOfProfile_HighX = nStrip+0.5;
597 sameLayerDetIds_.clear();
599 switch (
DetId(detId_).subdetId() ) {
614 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
615 hSummaryOfProfile_LowX = 0.5;
616 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
624 sameLayerDetIds_.clear();
626 switch (
DetId(detId_).subdetId() ) {
644 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
645 hSummaryOfProfile_LowX = 0.5;
646 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
651 if( (layerId_ > 610 && layerId_ < 620) ||
652 (layerId_ > 620 && layerId_ < 630) ||
653 (layerId_ > 410 && layerId_ < 414) ||
654 (layerId_ > 420 && layerId_ < 424) ){ nApv =6;}
657 hSummaryOfProfile_NchX = nApv;
658 hSummaryOfProfile_LowX = 0.5;
659 hSummaryOfProfile_HighX = nApv+0.5;
664 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] PLEASE CHECK : x-axis label in your cfg" 677 int subdetectorId_ = ((detId_>>25)&0x7);
680 if( subdetectorId_<3 || subdetectorId_>6 ){
682 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] WRONG INPUT : no such subdetector type : " 683 << subdetectorId_ <<
" no folder set!" 697 hSummaryOfProfile_title = hSummaryOfProfile_name ;
700 hSummaryOfProfile_title,
701 hSummaryOfProfile_NchX,
702 hSummaryOfProfile_LowX,
703 hSummaryOfProfile_HighX,
704 hSummaryOfProfile_NchY,
720 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
723 char sameLayerDetIds_Name[1024];
724 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
732 reverse(sameLayerDetIds_.begin(), sameLayerDetIds_.begin()+sameLayerDetIds_.size()/2);
735 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
744 char sameLayerDetIds_Name[1024];
745 if(subdetectorId_==3){
747 sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tibModule(sameLayerDetIds_[i]));}
749 sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tibModule(sameLayerDetIds_[i]));}
752 else if(subdetectorId_==5){
753 if(tTopo->
tobIsZPlusSide(sameLayerDetIds_[
i])) { sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tobModule(sameLayerDetIds_[i]));}
754 else if(tTopo->
tobIsZMinusSide(sameLayerDetIds_[i])) { sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tobModule(sameLayerDetIds_[i]));}
777 int hSummaryOfCumul_NchX = 0;
778 double hSummaryOfCumul_LowX = 0;
779 double hSummaryOfCumul_HighX = 0;
784 std::string hSummaryOfCumul_xTitle, hSummaryOfCumul_yTitle;
801 int subdetectorId_ = ((detId_>>25)&0x7);
803 if( subdetectorId_<3 || subdetectorId_>6 ){
805 <<
"[SiStripBaseCondObjDQM::bookSummaryCumulMEs] WRONG INPUT : no such subdetector type : " 806 << subdetectorId_ <<
" no folder set!" 822 hSummaryOfCumul_title = hSummaryOfCumul_name ;
825 hSummaryOfCumul_title,
826 hSummaryOfCumul_NchX,
827 hSummaryOfCumul_LowX,
828 hSummaryOfCumul_HighX);
843 std::vector<uint32_t> sameLayerDetIds_;
845 int hSummary_NchX = 0;
846 double hSummary_LowX = 0;
847 double hSummary_HighX = 0;
857 double hSummary_LowY, hSummary_HighY;
867 sameLayerDetIds_.clear();
871 hSummary_NchX = sameLayerDetIds_.size();
873 hSummary_HighX = sameLayerDetIds_.size()+0.5;
884 int subdetectorId_ = ((detId_>>25)&0x7);
887 if( subdetectorId_<3 || subdetectorId_>6 ){
889 <<
"[SiStripBaseCondObjDQM::bookSummaryMEs] WRONG INPUT : no such subdetector type : " 890 << subdetectorId_ <<
" no folder set!" 902 hSummary_title = hSummary_name ;
922 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
925 char sameLayerDetIds_Name[1024];
926 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
942 int subdetectorId_ = ((detId_>>25)&0x7);
945 std::stringstream layerName;
947 if( subdetectorId_ == 3 ){
949 for(
unsigned int i = 1;
i < 5;
i++ ){
951 layerName <<
"TIB__layer__" <<
i;
958 else if( subdetectorId_ == 4 ){
960 if( tTopo->
tidSide( detId_ ) == 1 ) {
962 for(
unsigned int i = 1;
i < 4;
i++ ){
964 layerName <<
"TID__side__1__wheel__" <<
i;
971 else if( tTopo->
tidSide( detId_ ) == 2 ) {
973 for(
unsigned int i = 1;
i < 4;
i++ ) {
975 layerName <<
"TID__side__2__wheel__" <<
i;
985 else if( subdetectorId_ == 5 ){
987 for(
unsigned int i = 1;
i < 7;
i++ ) {
989 layerName <<
"TOB__layer__" <<
i;
996 else if( subdetectorId_ == 6 ){
998 if( tTopo->
tecSide( detId_ ) == 1) {
1000 for(
unsigned int i = 1;
i < 10;
i++ ) {
1002 layerName <<
"TEC__side__1__wheel__" <<
i;
1009 else if( tTopo->
tecSide( detId_ ) == 2 ) {
1011 for(
unsigned int i = 1;
i < 10;
i++ ) {
1013 layerName <<
"TEC__side__2__wheel__" <<
i;
1021 return std::make_pair( layerName.str(), layerId_ );
1031 int subdetectorId_ = ((detId_>>25)&0x7);
1032 int layerStringId_=0;
1034 std::stringstream layerStringName;
1036 if( subdetectorId_==3 ){
1038 for(
unsigned int i=1;
i < 27 ;
i++){
1040 layerStringName <<
"TIB_L1_Int_Str_" <<
i;
1041 layerStringId_ = 30110+
i;
1046 for(
unsigned int i=1;
i < 31 ;
i++){
1048 layerStringName <<
"TIB_L1_Ext_Str_" <<
i;
1049 layerStringId_ = 301200+
i;
1054 for(
unsigned int i=1;
i < 35 ;
i++){
1056 layerStringName <<
"TIB_L2_Int_Str_" <<
i;
1057 layerStringId_ = 302100+
i;
1062 for(
unsigned int i=1;
i < 39 ;
i++){
1064 layerStringName <<
"TIB_L2_Ext_Str_" <<
i;
1065 layerStringId_ = 302200+
i;
1070 for(
unsigned int i=1;
i < 45 ;
i++){
1072 layerStringName <<
"TIB_L3_Int_Str_" <<
i;
1073 layerStringId_ = 303100+
i;
1078 for(
unsigned int i=1;
i < 47 ;
i++){
1080 layerStringName <<
"TIB_L3_Ext_Str_" <<
i;
1081 layerStringId_ = 303200+
i;
1086 for(
unsigned int i=1;
i < 53 ;
i++){
1088 layerStringName <<
"TIB_L4_Int_Str_" <<
i;
1089 layerStringId_ = 304100+
i;
1094 for(
unsigned int i=1;
i < 57 ;
i++){
1096 layerStringName <<
"TIB_L4_Ext_Str_" <<
i;
1097 layerStringId_ = 304200+
i;
1104 else if( subdetectorId_==5 ){
1106 for(
unsigned int i=1;
i < 43 ;
i++){
1108 layerStringName <<
"TOB_L1_Rod_" <<
i;
1109 layerStringId_ = 50100+
i;
1113 else if(tTopo->
tobLayer(detId_)==2){
1114 for(
unsigned int i=1;
i < 49 ;
i++){
1116 layerStringName <<
"TOB_L2_Rod_" <<
i;
1117 layerStringId_ = 50200+
i;
1121 else if(tTopo->
tobLayer(detId_)==3){
1122 for(
unsigned int i=1;
i < 55 ;
i++){
1124 layerStringName <<
"TOB_L3_Rod_" <<
i;
1125 layerStringId_ = 50300+
i;
1129 else if(tTopo->
tobLayer(detId_)==4){
1130 for(
unsigned int i=1;
i < 61 ;
i++){
1132 layerStringName <<
"TOB_L4_Rod_" <<
i;
1133 layerStringId_ = 50400+
i;
1137 else if(tTopo->
tobLayer(detId_)==5){
1138 for(
unsigned int i=1;
i < 67 ;
i++){
1140 layerStringName <<
"TOB_L5_Rod_" <<
i;
1141 layerStringId_ = 50500+
i;
1145 else if(tTopo->
tobLayer(detId_)==6){
1146 for(
unsigned int i=1;
i < 75 ;
i++){
1148 layerStringName <<
"TOB_L6_Rod_" <<
i;
1149 layerStringId_ = 50600+
i;
1155 return std::make_pair( layerStringName.str(), layerStringId_ );
1165 std::vector<uint32_t> sameLayerDetIds;
1166 sameLayerDetIds.clear();
1168 switch (
DetId(selDetId).subdetId() ) {
1183 return sameLayerDetIds;
1204 size_t imin=0,imax=0;
1220 for(
size_t j=
tkMapScaler.size();(j>0) && (max<th);--j){
1228 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap maxValue from " << maxValue <<
" to " << imax;
1233 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap minValue from " << minValue <<
" to " << imin;
1238 tkMap->
save(
false, minValue, maxValue, TkMapname,4500,2400);
1246 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"SiStripBaseCondObjDQM::end" << std::endl;
1259 for(std::vector<uint32_t>::const_iterator detIter_=selectedDetIds.begin();
1260 detIter_!=selectedDetIds.end();++detIter_){
1273 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
1274 detIter_!= selectedDetIds.end();detIter_++){
1278 for (std::map<uint32_t, ModMEs>::iterator iter=
SummaryMEsMap_.begin();
1282 selME = iter->second;
1293 c1.Print(name.c_str());
1303 c1.Print(name.c_str());
1314 c1.Print(name.c_str());
std::map< uint32_t, ModMEs > ModMEsMap_
static const char runNumber_[]
TProfile * getTProfile() const
T getParameter(std::string const &) const
static const char layer_[]
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0)
std::vector< uint32_t > ModulesToBeExcluded_
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
std::string CondObj_name_
void bookSummaryMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void setAxisRange(double xmin, double xmax, int axis=1)
set x-, y- or z-axis range (axis=1, 2, 3 respectively)
void selectModules(std::vector< uint32_t > &detIds_, const TrackerTopology *tTopo)
const std::pair< unsigned short, double > getNumberOfApvsAndStripLength(uint32_t detId) const
void bookTkMap(const std::string &TkMapname)
bool SummaryOnLayerLevel_On_
edm::ESHandle< SiStripDetCabling > detCablingHandle_
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0)
bool SummaryOnStringLevel_On_
unsigned int tidWheel(const DetId &id) const
void setLayerFolder(uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=false)
SiStripFolderOrganizer folder_organizer
std::vector< int > tkMapScaler
void saveTkMap(const std::string &TkMapname, double minValue, double maxValue)
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t petal_bkw_frw=0, uint32_t petal=0, uint32_t ring=0, uint32_t ster=0)
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
virtual void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)=0
MonitorElement * book1D(char_string const &name, char_string const &title, int const nchX, double const lowX, double const highX)
Book 1D histogram.
void swap(Association< C > &lhs, Association< C > &rhs)
void fillTkMap(const uint32_t &detid, const float &value)
void bookSummaryProfileMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void setDetectorFolder(uint32_t rawdetid, const TrackerTopology *tTopo)
void tag(MonitorElement *me, unsigned int myTag)
U second(std::pair< T, U > const &p)
bool tibIsZPlusSide(const DetId &id) const
std::map< uint32_t, ModMEs > SummaryMEsMap_
bool tibIsExternalString(const DetId &id) const
std::vector< uint32_t > getCabledModules()
void showPalette(bool printflag1)
unsigned int tidSide(const DetId &id) const
const std::vector< uint32_t > & getAllDetIds() const
SiStripDetInfoFileReader * reader
bool tibIsZMinusSide(const DetId &id) const
unsigned long long cacheID_memory
void analysisOnDemand(const edm::EventSetup &eSetup_, uint32_t detIdOnDemand)
void setPalette(int numpalette)
SiStripBaseCondObjDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void save(bool print_total=true, float minval=0., float maxval=0., std::string s="svgmap.svg", int width=1500, int height=800)
bool tobIsZPlusSide(const DetId &id) const
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
bool tobIsZMinusSide(const DetId &id) const
std::string CondObj_fillId_
MonitorElement * ProfileDistr
std::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
void Reset()
reset ME (ie. contents, errors, etc)
MonitorElement * SummaryOfProfileDistr
MonitorElement * CumulDistr
unsigned int tibModule(const DetId &id) const
virtual void getConditionObject(const edm::EventSetup &eSetup_)=0
virtual void getActiveDetIds(const edm::EventSetup &eSetup)=0
void analysis(const edm::EventSetup &eSetup_)
std::vector< uint32_t > ModulesToBeIncluded_
virtual void fillMEsForDet(const ModMEs &selModME_, uint32_t selDetId_, const TrackerTopology *tTopo)=0
virtual unsigned long long getCache(const edm::EventSetup &eSetup_)=0
void bookProfileMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * bookProfile(char_string const &name, char_string const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, char const *option="s")
virtual void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
void getModMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
std::string createHistoId(std::string description, std::string id_type, uint32_t component_id)
std::pair< std::string, int32_t > GetSubDetAndLayer(const uint32_t &detid, const TrackerTopology *tTopo, bool ring_flag=false)
unsigned int tobModule(const DetId &id) const
std::vector< std::vector< double > > tmp
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryDistr
std::vector< uint32_t > activeDetIds
void bookSummaryCumulMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
unsigned long long cacheID_current
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0)
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
unsigned int tobRod(const DetId &id) const
MonitorElement * SummaryOfCumulDistr
void bookCumulMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
bool tibIsInternalString(const DetId &id) const
T mod(const T &a, const T &b)
unsigned int tecWheel(const DetId &id) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
T const * product() const
std::vector< std::string > SubDetectorsToBeExcluded_
SiStripHistoId hidmanager
void fill(int layer, int ring, int nmod, float x)
edm::RunNumber_t runNumber_
unsigned int tobLayer(const DetId &id) const
const edm::EventSetup & eSetup_
unsigned int tecSide(const DetId &id) const
virtual void fillModMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)