32 if(SummaryOnLayerLevel_On_ && SummaryOnStringLevel_On_){
34 <<
"[SiStripBaseCondObjDQM::SiStripBaseCondObjDQMs] PLEASE CHECK : String and layer level options can not be activated together"
75 filename.insert(filename.find(
"."),sRun);
88 uint32_t requestedSide,
89 uint32_t requestedLayer){
94 std::vector<uint32_t> requestedDetIds_;
95 requestedDetIds_.clear();
99 if(requestedSubDetector==
"TIB"){
102 else if(requestedSubDetector==
"TID"){
105 else if(requestedSubDetector==
"TOB"){
108 else if(requestedSubDetector==
"TEC"){
127 std::vector<uint32_t> vdetIdsOnDemand_;
128 vdetIdsOnDemand_.push_back(detIdOnDemand);
153 std::vector<uint32_t> cabledDetIds_;
157 return cabledDetIds_;
170 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] input detIds_: " << detIds_.size() << std::endl;
174 std::vector<DetIdSelector> included_subdetsels;
175 std::vector<std::string> included_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeIncluded_DetIdSelector");
176 for(std::vector<std::string>::const_iterator wsdps = included_subdets.begin();wsdps!=included_subdets.end();++wsdps) {
180 std::vector<uint32_t> modulesToBeIncluded;
181 for(std::vector<uint32_t>::const_iterator
detid=detIds_.begin();
detid!=detIds_.end();++
detid) {
182 for(std::vector<DetIdSelector>::const_iterator detidsel=included_subdetsels.begin();detidsel!=included_subdetsels.end();++detidsel) {
183 if(detidsel->isSelected(*
detid)) {
184 modulesToBeIncluded.push_back(*
detid);
193 std::vector<DetIdSelector> excluded_subdetsels;
194 std::vector<std::string> excluded_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeExcluded_DetIdSelector");
195 for(std::vector<std::string>::const_iterator wsdps = excluded_subdets.begin();wsdps!=excluded_subdets.end();++wsdps) {
199 std::vector<uint32_t> modulesToBeExcluded;
200 for(std::vector<uint32_t>::const_iterator
detid=detIds_.begin();
detid!=detIds_.end();++
detid) {
201 for(std::vector<DetIdSelector>::const_iterator detidsel=excluded_subdetsels.begin();detidsel!=excluded_subdetsels.end();++detidsel) {
202 if(detidsel->isSelected(*
detid)) {
203 modulesToBeExcluded.push_back(*
detid);
216 std::sort(ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
218 if (modulesToBeExcluded.size()==0 && modulesToBeIncluded.size()==0 &&
221 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no modules to be exclude/included in your cfg"
225 modulesToBeIncluded.insert(modulesToBeIncluded.end(),ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
226 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeIncluded: " << modulesToBeIncluded.size() << std::endl;
228 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeExcluded: " << modulesToBeExcluded.size() << std::endl;
231 if( modulesToBeIncluded.size()>0 ){
232 std::vector<uint32_t>
tmp;
234 set_intersection( detIds_.begin(), detIds_.end(),
235 modulesToBeIncluded.begin(), modulesToBeIncluded.end(),
236 inserter(tmp,tmp.begin()));
240 std::sort(detIds_.begin(),detIds_.end());
241 if(modulesToBeExcluded.size()>0) {
242 for( std::vector<uint32_t>::const_iterator
mod = modulesToBeExcluded.begin();
243 mod != modulesToBeExcluded.end();
mod++){
245 std::vector<uint32_t>::iterator
detid=std::lower_bound(detIds_.begin(),detIds_.end(),*
mod);
246 if (detid!=detIds_.end())
247 detIds_.erase(detid);
255 if( *(SubDetectorsToBeExcluded_.begin()) !=
"none" ){
257 std::vector<uint32_t>
tmp;
261 for( std::vector<std::string>::const_iterator modIter_ = SubDetectorsToBeExcluded_.begin();
262 modIter_ != SubDetectorsToBeExcluded_.end(); modIter_++){
265 if (*modIter_==
"TIB") { substructure_.
getTIBDetectors(detIds_, tmp, 0,0,0,0);}
266 else if (*modIter_==
"TOB") { substructure_.
getTOBDetectors(detIds_, tmp, 0,0,0);}
267 else if (*modIter_==
"TID") { substructure_.
getTIDDetectors(detIds_, tmp, 0,0,0,0);}
268 else if (*modIter_==
"TEC") { substructure_.
getTECDetectors(detIds_, tmp, 0,0,0,0,0,0);}
271 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no correct (name) subdetector to be excluded in your cfg"
275 std::vector<uint32_t>::iterator iterBegin_=std::lower_bound(detIds_.begin(),
277 *min_element(tmp.begin(), tmp.end()));
279 std::vector<uint32_t>::iterator iterEnd_=std::lower_bound(detIds_.begin(),
281 *max_element(tmp.begin(), tmp.end()));
283 for(std::vector<uint32_t>::iterator detIter_ = iterEnd_;
284 detIter_!= iterBegin_-1;detIter_--){
285 detIds_.erase(detIter_);
292 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] output detIds_: " << detIds_.size() << std::endl;
299 std::vector<uint32_t>
tmp;
300 std::vector<uint32_t> layerDetIds;
304 for(
unsigned int i=1;
i<5 ;
i++){
307 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
309 for(
unsigned int i=1;
i<7 ;
i++){
312 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
314 for(
unsigned int i=1;
i<4 ;
i++){
317 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
319 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
321 for(
unsigned int i=1;
i<10 ;
i++){
324 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
326 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
344 std::map< uint32_t, ModMEs >::const_iterator ModMEsMap_iter =
ModMEsMap_.find(detId_);
348 CondObj_ME=ModMEsMap_iter->second;
359 <<
"[SiStripBaseCondObjDQM::getModMEs] PLEASE CHECK : CondObj_fillId option mispelled";
375 ModMEsMap_.insert( std::make_pair(detId_,CondObj_ME) );
385 std::map<uint32_t, ModMEs>::const_iterator SummaryMEsMap_iter;
456 int hProfile_NchX = 0;
457 double hProfile_LowX = 0;
458 double hProfile_HighX = 0;
471 hProfile_NchX = nStrip;
473 hProfile_HighX = nStrip+0.5;
479 hProfile_NchX = nApv;
481 hProfile_HighX = nApv+0.5;
490 hProfile = hProfile_Name ;
506 double hCumul_LowX = 0;
507 double hCumul_HighX = 0;
526 hCumul_title = hCumul_name ;
546 std::vector<uint32_t> sameLayerDetIds_;
548 int hSummaryOfProfile_NchX = 0;
549 double hSummaryOfProfile_LowX = 0;
550 double hSummaryOfProfile_HighX = 0;
555 std::string hSummaryOfProfile_xTitle, hSummaryOfProfile_yTitle;
559 int hSummaryOfProfile_NchY;
560 double hSummaryOfProfile_LowY, hSummaryOfProfile_HighY;
565 int nStrip, nApv, layerId_;
574 if( (layerId_ > 610 && layerId_ < 620) ||
575 (layerId_ > 620 && layerId_ < 630) ||
576 (layerId_ > 410 && layerId_ < 414) ||
577 (layerId_ > 420 && layerId_ < 424) ){ nStrip =768;}
580 hSummaryOfProfile_NchX = nStrip;
581 hSummaryOfProfile_LowX = 0.5;
582 hSummaryOfProfile_HighX = nStrip+0.5;
590 uint32_t subDetId_ = ((detId_>>25)&0x7);
593 sameLayerDetIds_.clear();
598 else if(subDetId_==4){
601 else if(subDetId_==5){
604 else if(subDetId_==6){
608 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
609 hSummaryOfProfile_LowX = 0.5;
610 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
618 uint32_t subDetId_ = ((detId_>>25)&0x7);
621 sameLayerDetIds_.clear();
629 else if(subDetId_==4){
632 else if(subDetId_==5){
635 else if(subDetId_==6){
640 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
641 hSummaryOfProfile_LowX = 0.5;
642 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
647 if( (layerId_ > 610 && layerId_ < 620) ||
648 (layerId_ > 620 && layerId_ < 630) ||
649 (layerId_ > 410 && layerId_ < 414) ||
650 (layerId_ > 420 && layerId_ < 424) ){ nApv =6;}
653 hSummaryOfProfile_NchX = nApv;
654 hSummaryOfProfile_LowX = 0.5;
655 hSummaryOfProfile_HighX = nApv+0.5;
660 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] PLEASE CHECK : x-axis label in your cfg"
673 int subdetectorId_ = ((detId_>>25)&0x7);
676 if( subdetectorId_<3 || subdetectorId_>6 ){
678 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] WRONG INPUT : no such subdetector type : "
679 << subdetectorId_ <<
" no folder set!"
693 hSummaryOfProfile_title = hSummaryOfProfile_name ;
696 hSummaryOfProfile_title,
697 hSummaryOfProfile_NchX,
698 hSummaryOfProfile_LowX,
699 hSummaryOfProfile_HighX,
700 hSummaryOfProfile_NchY,
716 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
719 char sameLayerDetIds_Name[1024];
720 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
728 reverse(sameLayerDetIds_.begin(), sameLayerDetIds_.begin()+sameLayerDetIds_.size()/2);
731 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
740 char sameLayerDetIds_Name[1024];
741 if(subdetectorId_==3){
743 sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tibModule(sameLayerDetIds_[i]));}
745 sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tibModule(sameLayerDetIds_[i]));}
748 else if(subdetectorId_==5){
749 if(tTopo->
tobIsZPlusSide(sameLayerDetIds_[
i])) { sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tobModule(sameLayerDetIds_[i]));}
750 else if(tTopo->
tobIsZMinusSide(sameLayerDetIds_[i])) { sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tobModule(sameLayerDetIds_[i]));}
773 int hSummaryOfCumul_NchX = 0;
774 double hSummaryOfCumul_LowX = 0;
775 double hSummaryOfCumul_HighX = 0;
780 std::string hSummaryOfCumul_xTitle, hSummaryOfCumul_yTitle;
797 int subdetectorId_ = ((detId_>>25)&0x7);
799 if( subdetectorId_<3 || subdetectorId_>6 ){
801 <<
"[SiStripBaseCondObjDQM::bookSummaryCumulMEs] WRONG INPUT : no such subdetector type : "
802 << subdetectorId_ <<
" no folder set!"
818 hSummaryOfCumul_title = hSummaryOfCumul_name ;
821 hSummaryOfCumul_title,
822 hSummaryOfCumul_NchX,
823 hSummaryOfCumul_LowX,
824 hSummaryOfCumul_HighX);
839 std::vector<uint32_t> sameLayerDetIds_;
841 int hSummary_NchX = 0;
842 double hSummary_LowX = 0;
843 double hSummary_HighX = 0;
853 double hSummary_LowY, hSummary_HighY;
863 sameLayerDetIds_.clear();
867 hSummary_NchX = sameLayerDetIds_.size();
869 hSummary_HighX = sameLayerDetIds_.size()+0.5;
880 int subdetectorId_ = ((detId_>>25)&0x7);
883 if( subdetectorId_<3 || subdetectorId_>6 ){
885 <<
"[SiStripBaseCondObjDQM::bookSummaryMEs] WRONG INPUT : no such subdetector type : "
886 << subdetectorId_ <<
" no folder set!"
898 hSummary_title = hSummary_name ;
918 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
921 char sameLayerDetIds_Name[1024];
922 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
938 int subdetectorId_ = ((detId_>>25)&0x7);
941 std::stringstream layerName;
943 if( subdetectorId_ == 3 ){
945 for(
unsigned int i = 1;
i < 5;
i++ ){
947 layerName <<
"TIB__layer__" <<
i;
954 else if( subdetectorId_ == 4 ){
956 if( tTopo->
tidSide( detId_ ) == 1 ) {
958 for(
unsigned int i = 1;
i < 4;
i++ ){
960 layerName <<
"TID__side__1__wheel__" <<
i;
967 else if( tTopo->
tidSide( detId_ ) == 2 ) {
969 for(
unsigned int i = 1;
i < 4;
i++ ) {
971 layerName <<
"TID__side__2__wheel__" <<
i;
981 else if( subdetectorId_ == 5 ){
983 for(
unsigned int i = 1;
i < 7;
i++ ) {
985 layerName <<
"TOB__layer__" <<
i;
992 else if( subdetectorId_ == 6 ){
994 if( tTopo->
tecSide( detId_ ) == 1) {
996 for(
unsigned int i = 1;
i < 10;
i++ ) {
998 layerName <<
"TEC__side__1__wheel__" <<
i;
1005 else if( tTopo->
tecSide( detId_ ) == 2 ) {
1007 for(
unsigned int i = 1;
i < 10;
i++ ) {
1009 layerName <<
"TEC__side__2__wheel__" <<
i;
1017 return std::make_pair( layerName.str(), layerId_ );
1027 int subdetectorId_ = ((detId_>>25)&0x7);
1028 int layerStringId_=0;
1030 std::stringstream layerStringName;
1032 if( subdetectorId_==3 ){
1034 for(
unsigned int i=1;
i < 27 ;
i++){
1036 layerStringName <<
"TIB_L1_Int_Str_" <<
i;
1037 layerStringId_ = 30110+
i;
1042 for(
unsigned int i=1;
i < 31 ;
i++){
1044 layerStringName <<
"TIB_L1_Ext_Str_" <<
i;
1045 layerStringId_ = 301200+
i;
1050 for(
unsigned int i=1;
i < 35 ;
i++){
1052 layerStringName <<
"TIB_L2_Int_Str_" <<
i;
1053 layerStringId_ = 302100+
i;
1058 for(
unsigned int i=1;
i < 39 ;
i++){
1060 layerStringName <<
"TIB_L2_Ext_Str_" <<
i;
1061 layerStringId_ = 302200+
i;
1066 for(
unsigned int i=1;
i < 45 ;
i++){
1068 layerStringName <<
"TIB_L3_Int_Str_" <<
i;
1069 layerStringId_ = 303100+
i;
1074 for(
unsigned int i=1;
i < 47 ;
i++){
1076 layerStringName <<
"TIB_L3_Ext_Str_" <<
i;
1077 layerStringId_ = 303200+
i;
1082 for(
unsigned int i=1;
i < 53 ;
i++){
1084 layerStringName <<
"TIB_L4_Int_Str_" <<
i;
1085 layerStringId_ = 304100+
i;
1090 for(
unsigned int i=1;
i < 57 ;
i++){
1092 layerStringName <<
"TIB_L4_Ext_Str_" <<
i;
1093 layerStringId_ = 304200+
i;
1100 else if( subdetectorId_==5 ){
1102 for(
unsigned int i=1;
i < 43 ;
i++){
1104 layerStringName <<
"TOB_L1_Rod_" <<
i;
1105 layerStringId_ = 50100+
i;
1109 else if(tTopo->
tobLayer(detId_)==2){
1110 for(
unsigned int i=1;
i < 49 ;
i++){
1112 layerStringName <<
"TOB_L2_Rod_" <<
i;
1113 layerStringId_ = 50200+
i;
1117 else if(tTopo->
tobLayer(detId_)==3){
1118 for(
unsigned int i=1;
i < 55 ;
i++){
1120 layerStringName <<
"TOB_L3_Rod_" <<
i;
1121 layerStringId_ = 50300+
i;
1125 else if(tTopo->
tobLayer(detId_)==4){
1126 for(
unsigned int i=1;
i < 61 ;
i++){
1128 layerStringName <<
"TOB_L4_Rod_" <<
i;
1129 layerStringId_ = 50400+
i;
1133 else if(tTopo->
tobLayer(detId_)==5){
1134 for(
unsigned int i=1;
i < 67 ;
i++){
1136 layerStringName <<
"TOB_L5_Rod_" <<
i;
1137 layerStringId_ = 50500+
i;
1141 else if(tTopo->
tobLayer(detId_)==6){
1142 for(
unsigned int i=1;
i < 75 ;
i++){
1144 layerStringName <<
"TOB_L6_Rod_" <<
i;
1145 layerStringId_ = 50600+
i;
1151 return std::make_pair( layerStringName.str(), layerStringId_ );
1161 std::vector<uint32_t> sameLayerDetIds;
1162 sameLayerDetIds.clear();
1166 uint32_t subselDetId_ = ((selDetId>>25)&0x7);
1168 if(subselDetId_==3){
1171 else if(subselDetId_==4){
1174 else if(subselDetId_==5){
1177 else if(subselDetId_==6){
1181 return sameLayerDetIds;
1203 size_t imin=0,imax=0;
1227 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap maxValue from " << maxValue <<
" to " << imax;
1232 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap minValue from " << minValue <<
" to " << imin;
1237 tkMap->
save(
false, minValue, maxValue, TkMapname.c_str(),4500,2400);
1245 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"SiStripBaseCondObjDQM::end" << std::endl;
1258 for(std::vector<uint32_t>::const_iterator detIter_=selectedDetIds.begin();
1259 detIter_!=selectedDetIds.end();++detIter_){
1272 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
1273 detIter_!= selectedDetIds.end();detIter_++){
1281 selME =
iter->second;
1292 c1.Print(name.c_str());
1302 c1.Print(name.c_str());
1313 c1.Print(name.c_str());
std::map< uint32_t, ModMEs > ModMEsMap_
void swap(ora::Record &rh, ora::Record &lh)
T getParameter(std::string const &) const
static const char layer_[]
std::vector< uint32_t > ModulesToBeExcluded_
void selectModules(std::vector< uint32_t > &detIds_)
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
std::string CondObj_name_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
const EventID & eventID() const
void bookSummaryMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
SiStripBaseCondObjDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void setAxisRange(double xmin, double xmax, int axis=1)
set x-, y- or z-axis range (axis=1, 2, 3 respectively)
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)
std::pair< std::string, int32_t > GetSubDetAndLayer(const uint32_t &detid, const TrackerTopology *tTopo, bool ring_flag=0)
bool SummaryOnStringLevel_On_
unsigned int tidWheel(const DetId &id) const
SiStripFolderOrganizer folder_organizer
std::vector< int > tkMapScaler
void saveTkMap(const std::string &TkMapname, double minValue, double maxValue)
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
virtual void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)=0
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
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0) const
bool tibIsZMinusSide(const DetId &id) const
unsigned long long cacheID_memory
void analysisOnDemand(const edm::EventSetup &eSetup_, uint32_t detIdOnDemand)
void setPalette(int numpalette)
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)
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
MonitorElement * SummaryOfProfileDistr
MonitorElement * CumulDistr
unsigned int tibModule(const DetId &id) const
virtual void getConditionObject(const edm::EventSetup &eSetup_)=0
tuple SiStripDetInfoFileReader
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)
void setLayerFolder(uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=0)
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)
T const * product() const
unsigned int tobModule(const DetId &id) const
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, 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) const
const IOVSyncValue & iovSyncValue() const
std::vector< std::vector< double > > tmp
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
TProfile * getTProfile(void) const
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0) const
MonitorElement * SummaryDistr
std::vector< uint32_t > activeDetIds
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0) const
void bookSummaryCumulMEs(SiStripBaseCondObjDQM::ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
unsigned long long cacheID_current
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)
void Reset(void)
reset ME (ie. contents, errors, etc)
std::vector< std::string > SubDetectorsToBeExcluded_
SiStripHistoId hidmanager
void fill(int layer, int ring, int nmod, float x)
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)