29 std::map<uint32_t,float>::const_iterator LAMapIter_;
32 for( LAMapIter_ = LAMap_.begin();
33 LAMapIter_!= LAMap_.end(); LAMapIter_++){
54 for(
unsigned int i=0;
i<selectedDetIds.size();
i++){
55 int subDetId_ = ((selectedDetIds[
i]>>25)&0x7);
56 if( subDetId_<3 ||subDetId_>6 ){
58 <<
"[SiStripLorentzAngle::fillSummaryMEs] WRONG INPUT : no such subdetector type : " 59 << subDetId_ <<
" and detId " << selectedDetIds[
i] <<
" therefore no filling!" 65 else { fillNext=
true;}
70 else { fillNext=
true;}
87 c1.Print(name.c_str());
96 c2.Print(name2.c_str());
107 c1.Print(name.c_str());
116 c1.Print(name.c_str());
138 int subDetId_ = ((selDetId_>>25)&0x7);
140 if( subDetId_<3 || subDetId_>6 ){
142 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 143 << subDetId_ <<
" no folder set!" 148 uint32_t selSubDetId_ = ((selDetId_>>25)&0x7);
151 std::vector<uint32_t> sameLayerDetIds_;
152 sameLayerDetIds_.clear();
161 selME_ =selMEsMapIter_->second;
166 sameLayerDetIds_.clear();
176 else if(selSubDetId_==4){
179 else if(selSubDetId_==5){
182 else if(selSubDetId_==6){
188 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
207 if( subDetId_<3 || subDetId_>6 ){
209 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 210 << subDetId_ <<
" no folder set!" 217 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
229 selME_ =selMEsMapIter_->second;
238 sameLayerDetIds_.clear();
242 for(
unsigned int i=0;
i< sameLayerDetIds_.size();
i++){
263 if( subDetId_<3 || subDetId_>6 ){
265 <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such subdetector type : " 266 << subDetId_ <<
" no folder set!" 273 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
void fillSummaryMEs(const std::vector< uint32_t > &selectedDetIds, const edm::EventSetup &es) override
edm::ESHandle< SiStripLorentzAngle > lorentzangleHandle_
bool SummaryOnLayerLevel_On_
bool SummaryOnStringLevel_On_
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
const std::map< unsigned int, float > & getLorentzAngles() const
std::map< uint32_t, ModMEs > SummaryMEsMap_
bool tibIsExternalString(const DetId &id) const
float getLorentzAngle(const uint32_t &) 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 getActiveDetIds(const edm::EventSetup &eSetup) override
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 fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
~SiStripLorentzAngleDQM() override
void getConditionObject(const edm::EventSetup &eSetup) override
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 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
T const * product() const
SiStripHistoId hidmanager
unsigned int tobLayer(const DetId &id) const