18 Tk_HM_ = std::make_unique<TkHistoMap>(tkDetMapHandle.
product(),
"SiStrip/Histo_Map",
"LA_TkMap", 0.);
31 std::map<uint32_t, float>::const_iterator LAMapIter_;
34 for (LAMapIter_ = LAMap_.begin(); LAMapIter_ != LAMap_.end(); LAMapIter_++) {
52 for (
unsigned int i = 0;
i < selectedDetIds.size();
i++) {
54 if (subDetId_ < 3 || subDetId_ > 6) {
56 <<
"[SiStripLorentzAngle::fillSummaryMEs] WRONG INPUT : no such " 58 << subDetId_ <<
" and detId " << selectedDetIds[
i] <<
" therefore no filling!" << std::endl;
90 c1.Print(name.c_str());
98 c2.Print(name2.c_str());
108 c1.Print(name.c_str());
117 c1.Print(name.c_str());
136 if (subDetId_ < 3 || subDetId_ > 6) {
137 edm::LogError(
"SiStripLorentzAngleDQM") <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such " 138 "subdetector type : " 139 << subDetId_ <<
" no folder set!" << std::endl;
143 std::vector<uint32_t> sameLayerDetIds_;
144 sameLayerDetIds_.clear();
150 std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ =
155 selME_ = selMEsMapIter_->second;
160 sameLayerDetIds_.clear();
162 switch (
DetId(selDetId_).subdetId()) {
187 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
207 if (subDetId_ < 3 || subDetId_ > 6) {
208 edm::LogError(
"SiStripLorentzAngleDQM") <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no such " 209 "subdetector type : " 210 << subDetId_ <<
" no folder set!" << std::endl;
215 hSummaryOfCumul_description,
"layer",
getStringNameAndId(selDetId_, tTopo).first,
"");
217 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
224 std::map<uint32_t, ModMEs>::iterator selMEsMapIter_ =
229 selME_ = selMEsMapIter_->second;
238 sameLayerDetIds_.clear();
242 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
261 if (subDetId_ < 3 || subDetId_ > 6) {
262 edm::LogError(
"SiStripLorentzAngleDQM") <<
"[SiStripLorentzAngleDQM::fillMEsForLayer] WRONG INPUT : no " 263 "such subdetector type : " 264 << subDetId_ <<
" no folder set!" << std::endl;
271 for (
unsigned int i = 0;
i < sameLayerDetIds_.size();
i++) {
T getParameter(std::string const &) const
static constexpr auto TEC
void getTIBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tibDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t int_ext=0, uint32_t string=0)
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_
const std::map< unsigned int, float > & getLorentzAngles() const
void getTIDDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tidDetRawIds, const TrackerTopology *trackerTopology, uint32_t side=0, uint32_t wheel=0, uint32_t ring=0, uint32_t ster=0)
bool SummaryOnStringLevel_On_
void getTECDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tecDetRawIds, const TrackerTopology *trackerTopology, 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)
void getSummaryMEs(ModMEs &CondObj_ME, const uint32_t &detId_, const TrackerTopology *tTopo)
SiStripLorentzAngleDQM(const edm::EventSetup &eSetup, edm::RunNumber_t iRun, edm::ParameterSet const &hPSet, edm::ParameterSet const &fPSet)
void fillTkMap(const uint32_t &detid, const float &value)
U second(std::pair< T, U > const &p)
std::map< uint32_t, ModMEs > SummaryMEsMap_
bool tibIsExternalString(const DetId &id) const
float getLorentzAngle(const uint32_t &) const
void getActiveDetIds(const edm::EventSetup &eSetup) override
std::vector< uint32_t > GetSameLayerDetId(const std::vector< uint32_t > &activeDetIds, uint32_t selDetId, const TrackerTopology *tTopo)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::pair< std::string, uint32_t > getStringNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
static constexpr auto TOB
MonitorElement * SummaryOfProfileDistr
static constexpr auto TIB
void fillMEsForLayer(uint32_t selDetId_, const TrackerTopology *tTopo) override
virtual TProfile * getTProfile() const
~SiStripLorentzAngleDQM() override
void getConditionObject(const edm::EventSetup &eSetup) override
std::pair< std::string, uint32_t > getLayerNameAndId(const uint32_t &detId_, const TrackerTopology *tTopo)
std::vector< uint32_t > activeDetIds
void getTOBDetectors(const std::vector< uint32_t > &inputDetRawIds, std::vector< uint32_t > &tobDetRawIds, const TrackerTopology *trackerTopology, uint32_t layer=0, uint32_t bkw_frw=0, uint32_t rod=0)
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
static constexpr auto TID
T const * product() const
virtual TH1 * getTH1() const
SiStripHistoId hidmanager
std::unique_ptr< TkHistoMap > Tk_HM_
unsigned int tobLayer(const DetId &id) const