33 if(SummaryOnLayerLevel_On_ && SummaryOnStringLevel_On_){
35 <<
"[SiStripBaseCondObjDQM::SiStripBaseCondObjDQMs] PLEASE CHECK : String and layer level options can not be activated together" 76 filename.insert(filename.find(
"."),sRun);
89 uint32_t requestedSide,
90 uint32_t requestedLayer){
95 std::vector<uint32_t> requestedDetIds_;
96 requestedDetIds_.clear();
100 if(requestedSubDetector==
"TIB"){
103 else if(requestedSubDetector==
"TID"){
106 else if(requestedSubDetector==
"TOB"){
109 else if(requestedSubDetector==
"TEC"){
128 std::vector<uint32_t> vdetIdsOnDemand_;
129 vdetIdsOnDemand_.push_back(detIdOnDemand);
154 std::vector<uint32_t> cabledDetIds_;
158 return cabledDetIds_;
171 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] input detIds_: " << detIds_.size() << std::endl;
175 std::vector<DetIdSelector> included_subdetsels;
176 std::vector<std::string> included_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeIncluded_DetIdSelector");
177 for(std::vector<std::string>::const_iterator wsdps = included_subdets.begin();wsdps!=included_subdets.end();++wsdps) {
181 std::vector<uint32_t> modulesToBeIncluded;
182 for(std::vector<uint32_t>::const_iterator detid=detIds_.begin();detid!=detIds_.end();++detid) {
183 for(std::vector<DetIdSelector>::const_iterator detidsel=included_subdetsels.begin();detidsel!=included_subdetsels.end();++detidsel) {
184 if(detidsel->isSelected(*detid)) {
185 modulesToBeIncluded.push_back(*detid);
194 std::vector<DetIdSelector> excluded_subdetsels;
195 std::vector<std::string> excluded_subdets =
fPSet_.
getParameter<std::vector<std::string> >(
"ModulesToBeExcluded_DetIdSelector");
196 for(std::vector<std::string>::const_iterator wsdps = excluded_subdets.begin();wsdps!=excluded_subdets.end();++wsdps) {
200 std::vector<uint32_t> modulesToBeExcluded;
201 for(std::vector<uint32_t>::const_iterator detid=detIds_.begin();detid!=detIds_.end();++detid) {
202 for(std::vector<DetIdSelector>::const_iterator detidsel=excluded_subdetsels.begin();detidsel!=excluded_subdetsels.end();++detidsel) {
203 if(detidsel->isSelected(*detid)) {
204 modulesToBeExcluded.push_back(*detid);
217 std::sort(ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
219 if (modulesToBeExcluded.size()==0 && modulesToBeIncluded.size()==0 &&
222 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no modules to be exclude/included in your cfg" 226 modulesToBeIncluded.insert(modulesToBeIncluded.end(),ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
227 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeIncluded: " << modulesToBeIncluded.size() << std::endl;
229 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeExcluded: " << modulesToBeExcluded.size() << std::endl;
232 if( modulesToBeIncluded.size()>0 ){
233 std::vector<uint32_t>
tmp;
235 set_intersection( detIds_.begin(), detIds_.end(),
236 modulesToBeIncluded.begin(), modulesToBeIncluded.end(),
237 inserter(tmp,tmp.begin()));
241 std::sort(detIds_.begin(),detIds_.end());
242 if(modulesToBeExcluded.size()>0) {
243 for( std::vector<uint32_t>::const_iterator
mod = modulesToBeExcluded.begin();
244 mod != modulesToBeExcluded.end();
mod++){
246 std::vector<uint32_t>::iterator detid=std::lower_bound(detIds_.begin(),detIds_.end(),*
mod);
247 if (detid!=detIds_.end())
248 detIds_.erase(detid);
256 if( *(SubDetectorsToBeExcluded_.begin()) !=
"none" ){
258 std::vector<uint32_t>
tmp;
262 for( std::vector<std::string>::const_iterator modIter_ = SubDetectorsToBeExcluded_.begin();
263 modIter_ != SubDetectorsToBeExcluded_.end(); modIter_++){
266 if (*modIter_==
"TIB") { substructure_.
getTIBDetectors(detIds_, tmp, 0,0,0,0);}
267 else if (*modIter_==
"TOB") { substructure_.
getTOBDetectors(detIds_, tmp, 0,0,0);}
268 else if (*modIter_==
"TID") { substructure_.
getTIDDetectors(detIds_, tmp, 0,0,0,0);}
269 else if (*modIter_==
"TEC") { substructure_.
getTECDetectors(detIds_, tmp, 0,0,0,0,0,0);}
272 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no correct (name) subdetector to be excluded in your cfg" 276 std::vector<uint32_t>::iterator iterBegin_=std::lower_bound(detIds_.begin(),
278 *min_element(tmp.begin(), tmp.end()));
280 std::vector<uint32_t>::iterator iterEnd_=std::lower_bound(detIds_.begin(),
282 *max_element(tmp.begin(), tmp.end()));
284 for(std::vector<uint32_t>::iterator detIter_ = iterEnd_;
285 detIter_!= iterBegin_-1;detIter_--){
286 detIds_.erase(detIter_);
293 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] output detIds_: " << detIds_.size() << std::endl;
300 std::vector<uint32_t>
tmp;
301 std::vector<uint32_t> layerDetIds;
305 for(
unsigned int i=1;
i<5 ;
i++){
308 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
310 for(
unsigned int i=1;
i<7 ;
i++){
313 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
315 for(
unsigned int i=1;
i<4 ;
i++){
318 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
320 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
322 for(
unsigned int i=1;
i<10 ;
i++){
325 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
327 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
345 std::map< uint32_t, ModMEs >::const_iterator ModMEsMap_iter =
ModMEsMap_.find(detId_);
349 CondObj_ME=ModMEsMap_iter->second;
360 <<
"[SiStripBaseCondObjDQM::getModMEs] PLEASE CHECK : CondObj_fillId option mispelled";
376 ModMEsMap_.insert( std::make_pair(detId_,CondObj_ME) );
386 std::map<uint32_t, ModMEs>::const_iterator SummaryMEsMap_iter;
457 int hProfile_NchX = 0;
458 double hProfile_LowX = 0;
459 double hProfile_HighX = 0;
472 hProfile_NchX = nStrip;
474 hProfile_HighX = nStrip+0.5;
480 hProfile_NchX = nApv;
482 hProfile_HighX = nApv+0.5;
491 hProfile = hProfile_Name ;
507 double hCumul_LowX = 0;
508 double hCumul_HighX = 0;
527 hCumul_title = hCumul_name ;
547 std::vector<uint32_t> sameLayerDetIds_;
549 int hSummaryOfProfile_NchX = 0;
550 double hSummaryOfProfile_LowX = 0;
551 double hSummaryOfProfile_HighX = 0;
556 std::string hSummaryOfProfile_xTitle, hSummaryOfProfile_yTitle;
560 int hSummaryOfProfile_NchY;
561 double hSummaryOfProfile_LowY, hSummaryOfProfile_HighY;
566 int nStrip, nApv, layerId_;
575 if( (layerId_ > 610 && layerId_ < 620) ||
576 (layerId_ > 620 && layerId_ < 630) ||
577 (layerId_ > 410 && layerId_ < 414) ||
578 (layerId_ > 420 && layerId_ < 424) ){ nStrip =768;}
581 hSummaryOfProfile_NchX = nStrip;
582 hSummaryOfProfile_LowX = 0.5;
583 hSummaryOfProfile_HighX = nStrip+0.5;
591 uint32_t subDetId_ = ((detId_>>25)&0x7);
594 sameLayerDetIds_.clear();
599 else if(subDetId_==4){
602 else if(subDetId_==5){
605 else if(subDetId_==6){
609 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
610 hSummaryOfProfile_LowX = 0.5;
611 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
619 uint32_t subDetId_ = ((detId_>>25)&0x7);
622 sameLayerDetIds_.clear();
630 else if(subDetId_==4){
633 else if(subDetId_==5){
636 else if(subDetId_==6){
641 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
642 hSummaryOfProfile_LowX = 0.5;
643 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
648 if( (layerId_ > 610 && layerId_ < 620) ||
649 (layerId_ > 620 && layerId_ < 630) ||
650 (layerId_ > 410 && layerId_ < 414) ||
651 (layerId_ > 420 && layerId_ < 424) ){ nApv =6;}
654 hSummaryOfProfile_NchX = nApv;
655 hSummaryOfProfile_LowX = 0.5;
656 hSummaryOfProfile_HighX = nApv+0.5;
661 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] PLEASE CHECK : x-axis label in your cfg" 674 int subdetectorId_ = ((detId_>>25)&0x7);
677 if( subdetectorId_<3 || subdetectorId_>6 ){
679 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] WRONG INPUT : no such subdetector type : " 680 << subdetectorId_ <<
" no folder set!" 694 hSummaryOfProfile_title = hSummaryOfProfile_name ;
697 hSummaryOfProfile_title,
698 hSummaryOfProfile_NchX,
699 hSummaryOfProfile_LowX,
700 hSummaryOfProfile_HighX,
701 hSummaryOfProfile_NchY,
717 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
720 char sameLayerDetIds_Name[1024];
721 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
729 reverse(sameLayerDetIds_.begin(), sameLayerDetIds_.begin()+sameLayerDetIds_.size()/2);
732 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
741 char sameLayerDetIds_Name[1024];
742 if(subdetectorId_==3){
744 sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tibModule(sameLayerDetIds_[i]));}
746 sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tibModule(sameLayerDetIds_[i]));}
749 else if(subdetectorId_==5){
750 if(tTopo->
tobIsZPlusSide(sameLayerDetIds_[
i])) { sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tobModule(sameLayerDetIds_[i]));}
751 else if(tTopo->
tobIsZMinusSide(sameLayerDetIds_[i])) { sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tobModule(sameLayerDetIds_[i]));}
774 int hSummaryOfCumul_NchX = 0;
775 double hSummaryOfCumul_LowX = 0;
776 double hSummaryOfCumul_HighX = 0;
781 std::string hSummaryOfCumul_xTitle, hSummaryOfCumul_yTitle;
798 int subdetectorId_ = ((detId_>>25)&0x7);
800 if( subdetectorId_<3 || subdetectorId_>6 ){
802 <<
"[SiStripBaseCondObjDQM::bookSummaryCumulMEs] WRONG INPUT : no such subdetector type : " 803 << subdetectorId_ <<
" no folder set!" 819 hSummaryOfCumul_title = hSummaryOfCumul_name ;
822 hSummaryOfCumul_title,
823 hSummaryOfCumul_NchX,
824 hSummaryOfCumul_LowX,
825 hSummaryOfCumul_HighX);
840 std::vector<uint32_t> sameLayerDetIds_;
842 int hSummary_NchX = 0;
843 double hSummary_LowX = 0;
844 double hSummary_HighX = 0;
854 double hSummary_LowY, hSummary_HighY;
864 sameLayerDetIds_.clear();
868 hSummary_NchX = sameLayerDetIds_.size();
870 hSummary_HighX = sameLayerDetIds_.size()+0.5;
881 int subdetectorId_ = ((detId_>>25)&0x7);
884 if( subdetectorId_<3 || subdetectorId_>6 ){
886 <<
"[SiStripBaseCondObjDQM::bookSummaryMEs] WRONG INPUT : no such subdetector type : " 887 << subdetectorId_ <<
" no folder set!" 899 hSummary_title = hSummary_name ;
919 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
922 char sameLayerDetIds_Name[1024];
923 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
939 int subdetectorId_ = ((detId_>>25)&0x7);
942 std::stringstream layerName;
944 if( subdetectorId_ == 3 ){
946 for(
unsigned int i = 1;
i < 5;
i++ ){
948 layerName <<
"TIB__layer__" <<
i;
955 else if( subdetectorId_ == 4 ){
957 if( tTopo->
tidSide( detId_ ) == 1 ) {
959 for(
unsigned int i = 1;
i < 4;
i++ ){
961 layerName <<
"TID__side__1__wheel__" <<
i;
968 else if( tTopo->
tidSide( detId_ ) == 2 ) {
970 for(
unsigned int i = 1;
i < 4;
i++ ) {
972 layerName <<
"TID__side__2__wheel__" <<
i;
982 else if( subdetectorId_ == 5 ){
984 for(
unsigned int i = 1;
i < 7;
i++ ) {
986 layerName <<
"TOB__layer__" <<
i;
993 else if( subdetectorId_ == 6 ){
995 if( tTopo->
tecSide( detId_ ) == 1) {
997 for(
unsigned int i = 1;
i < 10;
i++ ) {
999 layerName <<
"TEC__side__1__wheel__" <<
i;
1006 else if( tTopo->
tecSide( detId_ ) == 2 ) {
1008 for(
unsigned int i = 1;
i < 10;
i++ ) {
1010 layerName <<
"TEC__side__2__wheel__" <<
i;
1018 return std::make_pair( layerName.str(), layerId_ );
1028 int subdetectorId_ = ((detId_>>25)&0x7);
1029 int layerStringId_=0;
1031 std::stringstream layerStringName;
1033 if( subdetectorId_==3 ){
1035 for(
unsigned int i=1;
i < 27 ;
i++){
1037 layerStringName <<
"TIB_L1_Int_Str_" <<
i;
1038 layerStringId_ = 30110+
i;
1043 for(
unsigned int i=1;
i < 31 ;
i++){
1045 layerStringName <<
"TIB_L1_Ext_Str_" <<
i;
1046 layerStringId_ = 301200+
i;
1051 for(
unsigned int i=1;
i < 35 ;
i++){
1053 layerStringName <<
"TIB_L2_Int_Str_" <<
i;
1054 layerStringId_ = 302100+
i;
1059 for(
unsigned int i=1;
i < 39 ;
i++){
1061 layerStringName <<
"TIB_L2_Ext_Str_" <<
i;
1062 layerStringId_ = 302200+
i;
1067 for(
unsigned int i=1;
i < 45 ;
i++){
1069 layerStringName <<
"TIB_L3_Int_Str_" <<
i;
1070 layerStringId_ = 303100+
i;
1075 for(
unsigned int i=1;
i < 47 ;
i++){
1077 layerStringName <<
"TIB_L3_Ext_Str_" <<
i;
1078 layerStringId_ = 303200+
i;
1083 for(
unsigned int i=1;
i < 53 ;
i++){
1085 layerStringName <<
"TIB_L4_Int_Str_" <<
i;
1086 layerStringId_ = 304100+
i;
1091 for(
unsigned int i=1;
i < 57 ;
i++){
1093 layerStringName <<
"TIB_L4_Ext_Str_" <<
i;
1094 layerStringId_ = 304200+
i;
1101 else if( subdetectorId_==5 ){
1103 for(
unsigned int i=1;
i < 43 ;
i++){
1105 layerStringName <<
"TOB_L1_Rod_" <<
i;
1106 layerStringId_ = 50100+
i;
1110 else if(tTopo->
tobLayer(detId_)==2){
1111 for(
unsigned int i=1;
i < 49 ;
i++){
1113 layerStringName <<
"TOB_L2_Rod_" <<
i;
1114 layerStringId_ = 50200+
i;
1118 else if(tTopo->
tobLayer(detId_)==3){
1119 for(
unsigned int i=1;
i < 55 ;
i++){
1121 layerStringName <<
"TOB_L3_Rod_" <<
i;
1122 layerStringId_ = 50300+
i;
1126 else if(tTopo->
tobLayer(detId_)==4){
1127 for(
unsigned int i=1;
i < 61 ;
i++){
1129 layerStringName <<
"TOB_L4_Rod_" <<
i;
1130 layerStringId_ = 50400+
i;
1134 else if(tTopo->
tobLayer(detId_)==5){
1135 for(
unsigned int i=1;
i < 67 ;
i++){
1137 layerStringName <<
"TOB_L5_Rod_" <<
i;
1138 layerStringId_ = 50500+
i;
1142 else if(tTopo->
tobLayer(detId_)==6){
1143 for(
unsigned int i=1;
i < 75 ;
i++){
1145 layerStringName <<
"TOB_L6_Rod_" <<
i;
1146 layerStringId_ = 50600+
i;
1152 return std::make_pair( layerStringName.str(), layerStringId_ );
1162 std::vector<uint32_t> sameLayerDetIds;
1163 sameLayerDetIds.clear();
1167 uint32_t subselDetId_ = ((selDetId>>25)&0x7);
1169 if(subselDetId_==3){
1172 else if(subselDetId_==4){
1175 else if(subselDetId_==5){
1178 else if(subselDetId_==6){
1182 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.c_str(),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_
T getParameter(std::string const &) const
static const char layer_[]
std::vector< uint32_t > ModulesToBeExcluded_
void addActiveDetectorsRawIds(std::vector< uint32_t > &) const
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 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
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
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)
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)
T const * product() const
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)