32 if(SummaryOnLayerLevel_On_ && SummaryOnStringLevel_On_){
34 <<
"[SiStripBaseCondObjDQM::SiStripBaseCondObjDQMs] PLEASE CHECK : String and layer level options can not be activated together"
74 filename.insert(filename.find(
"."),sRun);
86 uint32_t requestedSide,
87 uint32_t requestedLayer){
92 std::vector<uint32_t> requestedDetIds_;
93 requestedDetIds_.clear();
97 if(requestedSubDetector==
"TIB"){
100 else if(requestedSubDetector==
"TID"){
103 else if(requestedSubDetector==
"TOB"){
106 else if(requestedSubDetector==
"TEC"){
125 std::vector<uint32_t> vdetIdsOnDemand_;
126 vdetIdsOnDemand_.push_back(detIdOnDemand);
151 std::vector<uint32_t> cabledDetIds_;
155 return cabledDetIds_;
168 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] input detIds_: " << detIds_.size() << std::endl;
172 std::map<unsigned int, std::string> m_included_subdets;
173 std::map<unsigned int, DetIdSelector> m_included_subdetsels;
174 std::vector<edm::ParameterSet> included_subdets =
fPSet_.
getParameter<std::vector<edm::ParameterSet> >(
"ModulesToBeIncluded_DetIdSelector");
175 for(std::vector<edm::ParameterSet>::const_iterator wsdps = included_subdets.begin();wsdps!=included_subdets.end();++wsdps) {
176 m_included_subdets [wsdps->getParameter<
unsigned int>(
"detSelection")] = wsdps->getParameter<
std::string>(
"detLabel");
177 m_included_subdetsels[wsdps->getParameter<
unsigned int>(
"detSelection")] =
178 DetIdSelector(wsdps->getUntrackedParameter<std::vector<std::string> >(
"selection",std::vector<std::string>()));
181 std::vector<uint32_t> modulesToBeIncluded;
182 for(std::vector<uint32_t>::const_iterator
detid=detIds_.begin();
detid!=detIds_.end();++
detid) {
183 for(std::map<unsigned int,DetIdSelector>::const_iterator detidsel=m_included_subdetsels.begin();detidsel!=m_included_subdetsels.end();++detidsel) {
186 modulesToBeIncluded.push_back(*
detid);
194 std::map<unsigned int, std::string> m_excluded_subdets;
195 std::map<unsigned int, DetIdSelector> m_excluded_subdetsels;
196 std::vector<edm::ParameterSet> excluded_subdets =
fPSet_.
getParameter<std::vector<edm::ParameterSet> >(
"ModulesToBeExcluded_DetIdSelector");
197 for(std::vector<edm::ParameterSet>::const_iterator wsdps = excluded_subdets.begin();wsdps!=excluded_subdets.end();++wsdps) {
198 m_excluded_subdets [wsdps->getParameter<
unsigned int>(
"detSelection")] = wsdps->getParameter<
std::string>(
"detLabel");
199 m_excluded_subdetsels[wsdps->getParameter<
unsigned int>(
"detSelection")] =
200 DetIdSelector(wsdps->getUntrackedParameter<std::vector<std::string> >(
"selection",std::vector<std::string>()));
203 std::vector<uint32_t> modulesToBeExcluded;
204 for(std::vector<uint32_t>::const_iterator
detid=detIds_.begin();
detid!=detIds_.end();++
detid) {
205 for(std::map<unsigned int,DetIdSelector>::const_iterator detidsel=m_excluded_subdetsels.begin();detidsel!=m_excluded_subdetsels.end();++detidsel) {
208 modulesToBeExcluded.push_back(*
detid);
220 std::sort(ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
222 if (modulesToBeExcluded.size()==0 && modulesToBeIncluded.size()==0 &&
225 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no modules to be exclude/included in your cfg"
229 modulesToBeIncluded.insert(modulesToBeIncluded.end(),ModulesToBeIncluded_.begin(),ModulesToBeIncluded_.end());
230 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeIncluded: " << modulesToBeIncluded.size() << std::endl;
232 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] modulesToBeExcluded: " << modulesToBeExcluded.size() << std::endl;
235 if( modulesToBeIncluded.size()>0 ){
236 std::vector<uint32_t>
tmp;
238 set_intersection( detIds_.begin(), detIds_.end(),
239 modulesToBeIncluded.begin(), modulesToBeIncluded.end(),
240 inserter(tmp,tmp.begin()));
244 std::sort(detIds_.begin(),detIds_.end());
245 if(modulesToBeExcluded.size()>0) {
246 for( std::vector<uint32_t>::const_iterator
mod = modulesToBeExcluded.begin();
247 mod != modulesToBeExcluded.end();
mod++){
249 std::vector<uint32_t>::iterator
detid=std::lower_bound(detIds_.begin(),detIds_.end(),*
mod);
250 if (detid!=detIds_.end())
251 detIds_.erase(detid);
259 if( *(SubDetectorsToBeExcluded_.begin()) !=
"none" ){
261 std::vector<uint32_t>
tmp;
265 for( std::vector<std::string>::const_iterator modIter_ = SubDetectorsToBeExcluded_.begin();
266 modIter_ != SubDetectorsToBeExcluded_.end(); modIter_++){
269 if (*modIter_==
"TIB") { substructure_.
getTIBDetectors(detIds_, tmp, 0,0,0,0);}
270 else if (*modIter_==
"TOB") { substructure_.
getTOBDetectors(detIds_, tmp, 0,0,0);}
271 else if (*modIter_==
"TID") { substructure_.
getTIDDetectors(detIds_, tmp, 0,0,0,0);}
272 else if (*modIter_==
"TEC") { substructure_.
getTECDetectors(detIds_, tmp, 0,0,0,0,0,0);}
275 <<
"[SiStripBaseCondObjDQM::selectModules] PLEASE CHECK : no correct (name) subdetector to be excluded in your cfg"
279 std::vector<uint32_t>::iterator iterBegin_=std::lower_bound(detIds_.begin(),
281 *min_element(tmp.begin(), tmp.end()));
283 std::vector<uint32_t>::iterator iterEnd_=std::lower_bound(detIds_.begin(),
285 *max_element(tmp.begin(), tmp.end()));
287 for(std::vector<uint32_t>::iterator detIter_ = iterEnd_;
288 detIter_!= iterBegin_-1;detIter_--){
289 detIds_.erase(detIter_);
296 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"[SiStripBaseCondObjDQM::selectModules] output detIds_: " << detIds_.size() << std::endl;
303 std::vector<uint32_t>
tmp;
304 std::vector<uint32_t> layerDetIds;
308 for(
unsigned int i=1;
i<5 ;
i++){
311 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
313 for(
unsigned int i=1;
i<7 ;
i++){
316 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
318 for(
unsigned int i=1;
i<4 ;
i++){
321 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
323 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
325 for(
unsigned int i=1;
i<10 ;
i++){
328 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
330 if(tmp.size() !=0) { layerDetIds.push_back(*(tmp.begin()));}
348 std::map< uint32_t, ModMEs >::const_iterator ModMEsMap_iter =
ModMEsMap_.find(detId_);
352 CondObj_ME=ModMEsMap_iter->second;
363 <<
"[SiStripBaseCondObjDQM::getModMEs] PLEASE CHECK : CondObj_fillId option mispelled";
379 ModMEsMap_.insert( std::make_pair(detId_,CondObj_ME) );
389 std::map<uint32_t, ModMEs>::const_iterator SummaryMEsMap_iter;
451 int hProfile_NchX = 0;
452 double hProfile_LowX = 0;
453 double hProfile_HighX = 0;
466 hProfile_NchX = nStrip;
468 hProfile_HighX = nStrip+0.5;
474 hProfile_NchX = nApv;
476 hProfile_HighX = nApv+0.5;
485 hProfile = hProfile_Name ;
501 double hCumul_LowX = 0;
502 double hCumul_HighX = 0;
521 hCumul_title = hCumul_name ;
541 std::vector<uint32_t> sameLayerDetIds_;
543 int hSummaryOfProfile_NchX = 0;
544 double hSummaryOfProfile_LowX = 0;
545 double hSummaryOfProfile_HighX = 0;
550 std::string hSummaryOfProfile_xTitle, hSummaryOfProfile_yTitle;
554 int hSummaryOfProfile_NchY;
555 double hSummaryOfProfile_LowY, hSummaryOfProfile_HighY;
560 int nStrip, nApv, layerId_;
568 if( (layerId_ > 610 && layerId_ < 620) ||
569 (layerId_ > 620 && layerId_ < 630) ||
570 (layerId_ > 410 && layerId_ < 414) ||
571 (layerId_ > 420 && layerId_ < 424) ){ nStrip =768;}
574 hSummaryOfProfile_NchX = nStrip;
575 hSummaryOfProfile_LowX = 0.5;
576 hSummaryOfProfile_HighX = nStrip+0.5;
584 uint32_t subDetId_ = ((detId_>>25)&0x7);
587 sameLayerDetIds_.clear();
592 else if(subDetId_==4){
595 else if(subDetId_==5){
598 else if(subDetId_==6){
602 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
603 hSummaryOfProfile_LowX = 0.5;
604 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
612 uint32_t subDetId_ = ((detId_>>25)&0x7);
615 sameLayerDetIds_.clear();
623 else if(subDetId_==4){
626 else if(subDetId_==5){
629 else if(subDetId_==6){
634 hSummaryOfProfile_NchX = sameLayerDetIds_.size();
635 hSummaryOfProfile_LowX = 0.5;
636 hSummaryOfProfile_HighX = sameLayerDetIds_.size()+0.5;
641 if( (layerId_ > 610 && layerId_ < 620) ||
642 (layerId_ > 620 && layerId_ < 630) ||
643 (layerId_ > 410 && layerId_ < 414) ||
644 (layerId_ > 420 && layerId_ < 424) ){ nApv =6;}
647 hSummaryOfProfile_NchX = nApv;
648 hSummaryOfProfile_LowX = 0.5;
649 hSummaryOfProfile_HighX = nApv+0.5;
654 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] PLEASE CHECK : x-axis label in your cfg"
667 int subdetectorId_ = ((detId_>>25)&0x7);
670 if( subdetectorId_<3 || subdetectorId_>6 ){
672 <<
"[SiStripBaseCondObjDQM::bookSummaryProfileMEs] WRONG INPUT : no such subdetector type : "
673 << subdetectorId_ <<
" no folder set!"
687 hSummaryOfProfile_title = hSummaryOfProfile_name ;
690 hSummaryOfProfile_title,
691 hSummaryOfProfile_NchX,
692 hSummaryOfProfile_LowX,
693 hSummaryOfProfile_HighX,
694 hSummaryOfProfile_NchY,
710 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
713 char sameLayerDetIds_Name[1024];
714 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
722 reverse(sameLayerDetIds_.begin(), sameLayerDetIds_.begin()+sameLayerDetIds_.size()/2);
725 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
734 char sameLayerDetIds_Name[1024];
735 if(subdetectorId_==3){
737 sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tibModule(sameLayerDetIds_[i]));}
739 sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tibModule(sameLayerDetIds_[i]));}
742 else if(subdetectorId_==5){
743 if(tTopo->
tobIsZPlusSide(sameLayerDetIds_[
i])) { sprintf(sameLayerDetIds_Name,
"%i",tTopo->
tobModule(sameLayerDetIds_[i]));}
744 else if(tTopo->
tobIsZMinusSide(sameLayerDetIds_[i])) { sprintf(sameLayerDetIds_Name,
"%i",-tTopo->
tobModule(sameLayerDetIds_[i]));}
767 int hSummaryOfCumul_NchX = 0;
768 double hSummaryOfCumul_LowX = 0;
769 double hSummaryOfCumul_HighX = 0;
774 std::string hSummaryOfCumul_xTitle, hSummaryOfCumul_yTitle;
791 int subdetectorId_ = ((detId_>>25)&0x7);
793 if( subdetectorId_<3 || subdetectorId_>6 ){
795 <<
"[SiStripBaseCondObjDQM::bookSummaryCumulMEs] WRONG INPUT : no such subdetector type : "
796 << subdetectorId_ <<
" no folder set!"
812 hSummaryOfCumul_title = hSummaryOfCumul_name ;
815 hSummaryOfCumul_title,
816 hSummaryOfCumul_NchX,
817 hSummaryOfCumul_LowX,
818 hSummaryOfCumul_HighX);
833 std::vector<uint32_t> sameLayerDetIds_;
835 int hSummary_NchX = 0;
836 double hSummary_LowX = 0;
837 double hSummary_HighX = 0;
847 double hSummary_LowY, hSummary_HighY;
857 sameLayerDetIds_.clear();
861 hSummary_NchX = sameLayerDetIds_.size();
863 hSummary_HighX = sameLayerDetIds_.size()+0.5;
874 int subdetectorId_ = ((detId_>>25)&0x7);
877 if( subdetectorId_<3 || subdetectorId_>6 ){
879 <<
"[SiStripBaseCondObjDQM::bookSummaryMEs] WRONG INPUT : no such subdetector type : "
880 << subdetectorId_ <<
" no folder set!"
892 hSummary_title = hSummary_name ;
912 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
915 char sameLayerDetIds_Name[1024];
916 sprintf(sameLayerDetIds_Name,
"%u",sameLayerDetIds_[
i]);
932 int subdetectorId_ = ((detId_>>25)&0x7);
935 std::stringstream layerName;
937 if( subdetectorId_ == 3 ){
939 for(
unsigned int i = 1;
i < 5;
i++ ){
941 layerName <<
"TIB__layer__" <<
i;
948 else if( subdetectorId_ == 4 ){
950 if( tTopo->
tidSide( detId_ ) == 1 ) {
952 for(
unsigned int i = 1;
i < 4;
i++ ){
954 layerName <<
"TID__side__1__wheel__" <<
i;
961 else if( tTopo->
tidSide( detId_ ) == 2 ) {
963 for(
unsigned int i = 1;
i < 4;
i++ ) {
965 layerName <<
"TID__side__2__wheel__" <<
i;
975 else if( subdetectorId_ == 5 ){
977 for(
unsigned int i = 1;
i < 7;
i++ ) {
979 layerName <<
"TOB__layer__" <<
i;
986 else if( subdetectorId_ == 6 ){
988 if( tTopo->
tecSide( detId_ ) == 1) {
990 for(
unsigned int i = 1;
i < 10;
i++ ) {
992 layerName <<
"TEC__side__1__wheel__" <<
i;
999 else if( tTopo->
tecSide( detId_ ) == 2 ) {
1001 for(
unsigned int i = 1;
i < 10;
i++ ) {
1003 layerName <<
"TEC__side__2__wheel__" <<
i;
1011 return std::make_pair( layerName.str(), layerId_ );
1021 int subdetectorId_ = ((detId_>>25)&0x7);
1022 int layerStringId_=0;
1024 std::stringstream layerStringName;
1026 if( subdetectorId_==3 ){
1028 for(
unsigned int i=1;
i < 27 ;
i++){
1030 layerStringName <<
"TIB_L1_Int_Str_" <<
i;
1031 layerStringId_ = 30110+
i;
1036 for(
unsigned int i=1;
i < 31 ;
i++){
1038 layerStringName <<
"TIB_L1_Ext_Str_" <<
i;
1039 layerStringId_ = 301200+
i;
1044 for(
unsigned int i=1;
i < 35 ;
i++){
1046 layerStringName <<
"TIB_L2_Int_Str_" <<
i;
1047 layerStringId_ = 302100+
i;
1052 for(
unsigned int i=1;
i < 39 ;
i++){
1054 layerStringName <<
"TIB_L2_Ext_Str_" <<
i;
1055 layerStringId_ = 302200+
i;
1060 for(
unsigned int i=1;
i < 45 ;
i++){
1062 layerStringName <<
"TIB_L3_Int_Str_" <<
i;
1063 layerStringId_ = 303100+
i;
1068 for(
unsigned int i=1;
i < 47 ;
i++){
1070 layerStringName <<
"TIB_L3_Ext_Str_" <<
i;
1071 layerStringId_ = 303200+
i;
1076 for(
unsigned int i=1;
i < 53 ;
i++){
1078 layerStringName <<
"TIB_L4_Int_Str_" <<
i;
1079 layerStringId_ = 304100+
i;
1084 for(
unsigned int i=1;
i < 57 ;
i++){
1086 layerStringName <<
"TIB_L4_Ext_Str_" <<
i;
1087 layerStringId_ = 304200+
i;
1094 else if( subdetectorId_==5 ){
1096 for(
unsigned int i=1;
i < 43 ;
i++){
1098 layerStringName <<
"TOB_L1_Rod_" <<
i;
1099 layerStringId_ = 50100+
i;
1103 else if(tTopo->
tobLayer(detId_)==2){
1104 for(
unsigned int i=1;
i < 49 ;
i++){
1106 layerStringName <<
"TOB_L2_Rod_" <<
i;
1107 layerStringId_ = 50200+
i;
1111 else if(tTopo->
tobLayer(detId_)==3){
1112 for(
unsigned int i=1;
i < 55 ;
i++){
1114 layerStringName <<
"TOB_L3_Rod_" <<
i;
1115 layerStringId_ = 50300+
i;
1119 else if(tTopo->
tobLayer(detId_)==4){
1120 for(
unsigned int i=1;
i < 61 ;
i++){
1122 layerStringName <<
"TOB_L4_Rod_" <<
i;
1123 layerStringId_ = 50400+
i;
1127 else if(tTopo->
tobLayer(detId_)==5){
1128 for(
unsigned int i=1;
i < 67 ;
i++){
1130 layerStringName <<
"TOB_L5_Rod_" <<
i;
1131 layerStringId_ = 50500+
i;
1135 else if(tTopo->
tobLayer(detId_)==6){
1136 for(
unsigned int i=1;
i < 75 ;
i++){
1138 layerStringName <<
"TOB_L6_Rod_" <<
i;
1139 layerStringId_ = 50600+
i;
1145 return std::make_pair( layerStringName.str(), layerStringId_ );
1155 std::vector<uint32_t> sameLayerDetIds;
1156 sameLayerDetIds.clear();
1160 uint32_t subselDetId_ = ((selDetId>>25)&0x7);
1162 if(subselDetId_==3){
1165 else if(subselDetId_==4){
1168 else if(subselDetId_==5){
1171 else if(subselDetId_==6){
1175 return sameLayerDetIds;
1197 size_t imin=0,imax=0;
1221 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap maxValue from " << maxValue <<
" to " << imax;
1226 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"Resetting TkMap minValue from " << minValue <<
" to " << imin;
1231 tkMap->
save(
false, minValue, maxValue, TkMapname.c_str(),4500,2400);
1239 edm::LogInfo(
"SiStripBaseCondObjDQM") <<
"SiStripBaseCondObjDQM::end" << std::endl;
1252 for(std::vector<uint32_t>::const_iterator detIter_=selectedDetIds.begin();
1253 detIter_!=selectedDetIds.end();++detIter_){
1266 for(std::vector<uint32_t>::const_iterator detIter_ = selectedDetIds.begin();
1267 detIter_!= selectedDetIds.end();detIter_++){
1271 for (std::map<uint32_t, ModMEs>::iterator iter=
SummaryMEsMap_.begin();
1275 selME = iter->second;
1286 c1.Print(name.c_str());
1296 c1.Print(name.c_str());
1307 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
bool isSelected(const DetId &detid) const
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
const T & max(const T &a, const T &b)
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)