28 std::map<uint32_t,float>::const_iterator LAMapIter_;
31 for( LAMapIter_ = LAMap_.begin();
32 LAMapIter_!= LAMap_.end(); LAMapIter_++){
53 for(
unsigned int i=0;
i<selectedDetIds.size();
i++){
54 int subDetId_ = ((selectedDetIds[
i]>>25)&0x7);
55 if( subDetId_<3 ||subDetId_>6 ){
57 <<
"[SiStripLorentzAngle::fillSummaryMEs] WRONG INPUT : no such subdetector type : "
58 << subDetId_ <<
" and detId " << selectedDetIds[
i] <<
" therefore no filling!"
64 else { fillNext=
true;}
69 else { fillNext=
true;}
86 c1.Print(name.c_str());
95 c2.Print(name2.c_str());
106 c1.Print(name.c_str());
115 c1.Print(name.c_str());
137 int subDetId_ = ((selDetId_>>25)&0x7);
139 if( subDetId_<3 || subDetId_>6 ){
141 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : "
142 << subDetId_ <<
" no folder set!"
147 uint32_t selSubDetId_ = ((selDetId_>>25)&0x7);
150 std::vector<uint32_t> sameLayerDetIds_;
151 sameLayerDetIds_.clear();
160 selME_ =selMEsMapIter_->second;
165 sameLayerDetIds_.clear();
175 else if(selSubDetId_==4){
178 else if(selSubDetId_==5){
181 else if(selSubDetId_==6){
187 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
206 if( subDetId_<3 || subDetId_>6 ){
208 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : "
209 << subDetId_ <<
" no folder set!"
216 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
228 selME_ =selMEsMapIter_->second;
237 sameLayerDetIds_.clear();
241 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
262 if( subDetId_<3 || subDetId_>6 ){
264 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : "
265 << subDetId_ <<
" no folder set!"
272 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
T getParameter(std::string const &) const
SiStripLorentzAngleDQM(const edm::EventSetup &eSetup, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
unsigned int tibLayer(const DetId &id) const
unsigned int tibString(const DetId &id) const
edm::ESHandle< SiStripLorentzAngle > lorentzangleHandle_
bool SummaryOnLayerLevel_On_
bool SummaryOnStringLevel_On_
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo)
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
virtual ~SiStripLorentzAngleDQM()
std::map< uint32_t, ModMEs > SummaryMEsMap_
bool tibIsExternalString(const DetId &id) const
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
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::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
MonitorElement * SummaryOfProfileDistr
void getActiveDetIds(const edm::EventSetup &eSetup)
T const * product() 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
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
std::vector< uint32_t > activeDetIds
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es)
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
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
bool tibIsInternalString(const DetId &id) const
void getConditionObject(const edm::EventSetup &eSetup)
SiStripHistoId hidmanager
unsigned int tobLayer(const DetId &id) const