26 tracksCollection_in_EventTree(
true),
70 LogDebug(
"SiStripMonitorTrack") <<
"[SiStripMonitorTrack::beginRun] There are "<<
tkgeom_->detUnits().size() <<
" detectors instantiated in the geometry" << std::endl;
85 book(ibooker , tTopo);
98 LogDebug(
"SiStripMonitorTrack") <<
"[SiStripMonitorTrack::analyse] " <<
"Run " << e.
id().
run() <<
" Event " << e.
id().
event() << std::endl;
105 for (std::map<std::string, SubDetMEs>::iterator iSubDet =
SubDetMEsMap.begin();
107 iSubDet->second.totNClustersOnTrack = 0;
108 iSubDet->second.totNClustersOffTrack = 0;
119 std::map<std::string, MonitorElement*>::iterator iME;
120 std::map<std::string, LayerMEs>::iterator iLayerME;
122 for (std::map<std::string, SubDetMEs>::iterator iSubDet =
SubDetMEsMap.begin();
150 std::vector<uint32_t> vdetId_;
153 for (std::vector<uint32_t>::const_iterator detid_iter=vdetId_.begin();detid_iter!=vdetId_.end();detid_iter++){
154 uint32_t
detid = *detid_iter;
157 edm::LogError(
"SiStripMonitorTrack")<<
"[" <<__PRETTY_FUNCTION__ <<
"] invalid detid " << detid<< std::endl;
165 std::pair<std::string,int32_t> det_layer_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
false);
175 std::map<std::string, LayerMEs>::iterator iLayerME =
LayerMEsMap.find(layer_id);
177 folder_organizer.
setLayerFolder(detid, tTopo, det_layer_pair.second,
false);
182 if ( subdet.find(
"TEC") != std::string::npos || subdet.find(
"TID") != std::string::npos ) {
183 std::pair<std::string,int32_t> det_ring_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
true);
185 std::map<std::string, RingMEs>::iterator iRingME =
RingMEsMap.find(ring_id);
187 folder_organizer.
setLayerFolder(detid, tTopo, det_ring_pair.second,
true);
212 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(hid);
238 theModMEs.
ClusterPos=ibooker.
book1D(hidmanager.
createHistoId(
"ClusterPosition_OnTrack",name,
id).c_str(),hidmanager.
createHistoId(
"ClusterPosition_OnTrack",name,
id).c_str(),total_nr_strips,0.5,total_nr_strips+0.5);
259 if (
id.
find(
"TEC") == std::string::npos &&
id.find(
"TID") == std::string::npos ) {
260 me =
bookME1D(ibooker , histoParameters.c_str(), histoName.c_str());
264 me =
bookME1D(ibooker , histoParameters.c_str(), histoName.c_str());
298 hname = hidmanager.
createHistoLayer(
"Summary_ClusterStoNCorr",name,layer_id,
"OnTrack");
299 hpar =
"TH1ClusterStoNCorr";
303 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargeCorr",name,layer_id,
"OnTrack");
304 hpar =
"TH1ClusterChargeCorr";
308 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,layer_id,
"OnTrack");
309 hpar =
"TH1ClusterCharge";
312 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,layer_id,
"OffTrack");
313 hpar =
"TH1ClusterCharge";
317 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,layer_id,
"OnTrack");
318 hpar =
"TH1ClusterNoise";
321 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,layer_id,
"OffTrack");
322 hpar =
"TH1ClusterNoise";
326 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,layer_id,
"OnTrack");
327 hpar =
"TH1ClusterWidth";
330 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,layer_id,
"OffTrack");
331 hpar =
"TH1ClusterWidth";
336 if (layer_id.find(
"TEC") != std::string::npos) total_nr_strips = 3 * 2 * 128;
338 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,layer_id,
"OnTrack");
341 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,layer_id,
"OffTrack");
345 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,layer_id,
"");
346 hpar =
"TH1ClusterChargePerCM";
349 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OnTrack");
350 hpar =
"TH1ClusterChargePerCM";
353 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OffTrack");
354 hpar =
"TH1ClusterChargePerCM";
384 hname = hidmanager.
createHistoLayer(
"Summary_ClusterStoNCorr",name,ring_id,
"OnTrack");
385 hpar =
"TH1ClusterStoNCorr";
389 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargeCorr",name,ring_id,
"OnTrack");
390 hpar =
"TH1ClusterChargeCorr";
394 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OnTrack");
395 hpar =
"TH1ClusterCharge";
398 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OffTrack");
399 hpar =
"TH1ClusterCharge";
403 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OnTrack");
404 hpar =
"TH1ClusterNoise";
407 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OffTrack");
408 hpar =
"TH1ClusterNoise";
412 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OnTrack");
413 hpar =
"TH1ClusterWidth";
416 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OffTrack");
417 hpar =
"TH1ClusterWidth";
421 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,ring_id,
"");
422 hpar =
"TH1ClusterChargePerCM";
425 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OnTrack");
426 hpar =
"TH1ClusterChargePerCM";
429 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OffTrack");
430 hpar =
"TH1ClusterChargePerCM";
444 subdet_tag =
"__" +
name;
463 completeName =
"Summary_TotalNumberOfClusters_OnTrack" +
subdet_tag;
468 completeName =
"Summary_TotalNumberOfClusters_OffTrack" +
subdet_tag;
473 completeName =
"Summary_ClusterStoNCorr_OnTrack" +
subdet_tag;
477 completeName =
"Summary_ClusterCharge_OnTrack" +
subdet_tag;
481 completeName =
"Summary_ClusterCharge_OffTrack" +
subdet_tag;
485 completeName =
"Summary_ClusterStoN_OffTrack" +
subdet_tag;
489 completeName =
"Summary_ClusterChargePerCMfromTrack" +
subdet_tag;
493 completeName =
"Summary_ClusterChargePerCMfromOrigin_OnTrack" +
subdet_tag;
497 completeName =
"Summary_ClusterChargePerCMfromOrigin_OffTrack" +
subdet_tag;
502 completeName =
"Trend_TotalNumberOfClusters_OnTrack" +
subdet_tag;
504 completeName =
"Trend_TotalNumberOfClusters_OffTrack" +
subdet_tag;
517 return ibooker.
book1D(HistoName,HistoName,
528 return ibooker.
book2D(HistoName,HistoName,
542 return ibooker.
book3D(HistoName,HistoName,
581 me->setAxisTitle(
"Lumisection",1);
589 const std::vector<TrajectoryMeasurement> & measurements = traj->measurements();
590 std::vector<TrajectoryMeasurement>::const_iterator traj_mes_iterator;
591 for(std::vector<TrajectoryMeasurement>::const_iterator traj_mes_iterator= measurements.begin(), traj_mes_end=measurements.end();
592 traj_mes_iterator!=traj_mes_end;traj_mes_iterator++){
599 if (!ttrh->isValid())
continue;
609 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
616 statedirection=monodet->
toLocal(gtrkdirup);
619 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es);
622 statedirection=stereodet->
toLocal(gtrkdirup);
625 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es);
628 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
637 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
639 statedirection=det->
toLocal(gtrkdirup);
640 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
643 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
646 statedirection=det->
toLocal(gtrkdirup);
647 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
651 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es);
654 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es);
657 <<
" LocalMomentum: "<<statedirection
658 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
674 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
682 statedirection=monodet->
toLocal(gtrkdirup);
684 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es);
688 statedirection=stereodet->
toLocal(gtrkdirup);
690 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es);
693 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
703 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
705 statedirection=det->
toLocal(gtrkdirup);
706 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
709 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
712 statedirection=det->
toLocal(gtrkdirup);
713 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
716 statedirection=localMomentum;
717 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es);
719 statedirection=localMomentum;
720 if(statedirection.
mag() != 0) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es);
723 <<
" LocalMomentum: "<<statedirection
724 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
733 using namespace reco;
738 if( TItkAssociatorCollection.isValid()){
741 edm::LogError(
"SiStripMonitorTrack")<<
"Association not found ... try w/ track collection"<<std::endl;
749 if (!trackCollectionHandle.
isValid()){
766 for (reco::TrackCollection::const_iterator track = trackCollection.begin(), etrack = trackCollection.end();
767 track!=etrack; ++track) {
774 if (!(*hit)->isValid())
continue;
775 DetId detID = (*hit)->geographicalId();
787 hitStudy(es,projhit,matchedhit,hit2D,hit1D,localMomentum);
835 <<
"Track number "<< i+1 << std::endl;
854 if(!tkrecHit->isValid()){
855 LogTrace(
"SiStripMonitorTrack") <<
"\t\t Invalid Hit " << std::endl;
859 const uint32_t&
detid = tkrecHit->geographicalId().rawId();
862 <<
"\n\t\tRecHit on det "<<tkrecHit->geographicalId().rawId()
863 <<
"\n\t\tRecHit in LP "<<tkrecHit->localPosition()
864 <<
"\n\t\tRecHit in GP "<<
tkgeom_->idToDet(tkrecHit->geographicalId())->surface().toGlobal(tkrecHit->localPosition())
865 <<
"\n\t\tRecHit trackLocal vector "<<LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<std::endl;
874 if ( tkrecHit !=
NULL ){
886 edm::LogError(
"SiStripMonitorTrack") <<
"NULL hit" << std::endl;
901 if (!siStripClusterHandle.
isValid()){
902 edm::LogError(
"SiStripMonitorTrack")<<
"ClusterCollection is not valid!!" << std::endl;
909 DSViter!=siStripClusterHandle->end();
912 uint32_t
detid=DSViter->id();
915 LogDebug(
"SiStripMonitorTrack") <<
"on detid "<< detid <<
" N Cluster= " << DSViter->size();
945 std::map<std::string, LayerMEs>::iterator iLayer =
LayerMEsMap.find(layer_id);
947 me.
iLayer = &(iLayer->second);
950 std::map<std::string, RingMEs>::iterator iRing =
RingMEsMap.find(ring_id);
952 me.
iRing = &(iRing->second);
955 std::map<std::string, SubDetMEs>::iterator iSubdet =
SubDetMEsMap.find(sdet_tag);
957 me.
iSubdet = &(iSubdet->second);
967 if (cluster==
NULL)
return false;
982 LogDebug(
"SiStripMonitorTrack")<<
"\n\tLV " << LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<
" " << LV.
mag() << std::endl;
984 cosRZ= fabs(LV.
z())/LV.
mag();
985 LogDebug(
"SiStripMonitorTrack")<<
"\n\t cosRZ " << cosRZ << std::endl;
990 fillMEs(cluster,detid,cosRZ,flag,LV,MEs);
994 uint32_t adet=cluster->
detId();
1000 LogDebug(
"SiStripMonitorTrack") <<
"Module " << detid <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1004 if(cluster->
charge() > 250){
1005 LogDebug(
"SiStripMonitorTrack") <<
"Module firing " << detid <<
" in Event " <<
eventNb << std::endl;
1024 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(name);
1028 uint16_t charge = cluster->
charge();
1042 if(noise > 0.0)
fillME(iModME->second.ClusterStoNCorr ,StoN*cos);
1043 if(noise == 0.0)
LogDebug(
"SiStripMonitorTrack") <<
"Module " << name <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1044 fillME(iModME->second.ClusterCharge,charge);
1046 fillME(iModME->second.ClusterChargeCorr,charge*cos);
1048 fillME(iModME->second.ClusterWidth ,width);
1049 fillME(iModME->second.ClusterPos ,position);
1051 fillME(iModME->second.ClusterChargePerCMfromTrack, dQdx_fromTrack);
1052 fillME(iModME->second.ClusterChargePerCMfromOrigin, dQdx_fromOrigin);
1056 int PGVposCounter = cluster->
maxIndex();
1058 fillME(iModME->second.ClusterPGV,
i,0.);
1060 fillME(iModME->second.ClusterPGV, PGVposCounter++,(*it)/PGVmax);
1063 fillME(iModME->second.ClusterPGV,
i,0.);
1074 uint16_t charge = cluster->
charge();
1088 if (MEs.
iLayer !=
nullptr) {
1109 if (MEs.
iRing !=
nullptr) {
MonitorElement * ClusterStoNCorr
uint8_t maxCharge() const
MonitorElement * ClusterNoiseOnTrack
T getParameter(std::string const &) const
EventNumber_t event() const
struct SubDetMEs * iSubdet
Det2MEs findMEs(const TrackerTopology *tTopo, const uint32_t detid)
MonitorElement * ClusterChargePerCMfromTrack
void fillMEs(SiStripClusterInfo *, const uint32_t detid, float, enum ClusterFlags, const LocalVector LV, const Det2MEs &MEs)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
TkHistoMap * tkhisto_NumOffTrack
SiStripMonitorTrack(const edm::ParameterSet &)
void setSiStripFolderName(std::string name)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
void trackStudy(const edm::Event &ev, const edm::EventSetup &es)
void trackStudyFromTrack(edm::Handle< reco::TrackCollection > trackCollectionHandle, const edm::EventSetup &es)
edm::EDGetTokenT< reco::TrackCollection > trackToken_
void trackStudyFromTrajectory(edm::Handle< TrajTrackAssociationCollection > TItkAssociatorCollection, const edm::EventSetup &es)
const GeomDetUnit * monoDet() const
void fillME(MonitorElement *ME, float value1)
std::pair< const std::string, const char * > getSubDetFolderAndTag(const uint32_t &detid, const TrackerTopology *tTopo)
SiStripDCSStatus * dcsStatus_
friend struct const_iterator
MonitorElement * nClustersTrendOnTrack
MonitorElement * bookProfile(Args &&...args)
MonitorElement * ClusterPosOffTrack
void hitStudy(const edm::EventSetup &es, const ProjectedSiStripRecHit2D *projhit, const SiStripMatchedRecHit2D *matchedhit, const SiStripRecHit2D *hit2D, const SiStripRecHit1D *hit1D, LocalVector localMomentum)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
float noiseRescaledByGain() const
void book(DQMStore::IBooker &, const TrackerTopology *tTopo)
MonitorElement * ClusterStoNCorrOnTrack
void AllClusters(const edm::Event &ev, const edm::EventSetup &es)
MonitorElement * ClusterStoNOffTrack
MonitorElement * ClusterChargeOnTrack
std::map< std::string, RingMEs > RingMEsMap
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
std::string topFolderName_
Global3DPoint GlobalPoint
std::vector< Track > TrackCollection
collection of Tracks
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
std::pair< std::string, int32_t > GetSubDetAndLayer(const uint32_t &detid, const TrackerTopology *tTopo, bool ring_flag=0)
MonitorElement * bookME1D(DQMStore::IBooker &, const char *, const char *)
MonitorElement * ClusterChargePerCMfromTrack
MonitorElement * ClusterChargeCorrOnTrack
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
data_type const * const_iterator
std::string TrackProducer_
key_type key() const
Accessor for product key.
edm::ESHandle< SiStripDetCabling > SiStripDetCabling_
void bookLayerMEs(DQMStore::IBooker &, const uint32_t, std::string &)
MonitorElement * ClusterChargeCorr
uint16_t maxIndex() const
void trajectoryStudy(const edm::Ref< std::vector< Trajectory > > traj, const edm::EventSetup &es)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
MonitorElement * ClusterChargeOffTrack
MonitorElement * ClusterStoNCorrOnTrack
static bool pixelBarrelHitFilter(uint16_t pattern)
MonitorElement * ClusterChargePerCMfromOriginOffTrack
auto stripCharges() const -> decltype(cluster() ->amplitudes())
MonitorElement * ClusterPGV
MonitorElement * nClustersTrendOffTrack
void setDetectorFolder(uint32_t rawdetid, const TrackerTopology *tTopo)
static bool validHitFilter(uint16_t pattern)
uint32_t rawId() const
get the raw id
LocalVector localMomentum() const
edm::ESHandle< TrackerGeometry > tkgeom_
MonitorElement * ClusterCharge
bool getStatus(edm::Event const &e, edm::EventSetup const &eSetup)
edmNew::DetSet< SiStripCluster >::const_iterator ClusIter
math::XYZTLorentzVectorD LV
float signalOverNoise() const
vector< ParameterSet > Parameters
edm::EventNumber_t eventNb
uint16_t hitPattern[ARRAY_LENGTH]
TrackingRecHit::ConstRecHitPointer ConstRecHitPointer
std::unordered_set< const SiStripCluster * > vPSiStripCluster
std::map< std::string, SubDetMEs > SubDetMEsMap
MonitorElement * ClusterChargeOffTrack
MonitorElement * nClustersOnTrack
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
void fill(uint32_t &detid, float value)
bool accept(const edm::Event &event, const edm::EventSetup &setup)
To be called from analyze/filter() methods.
const std::string subdet_tag("SubDet")
Cos< T >::type cos(const T &t)
MonitorElement * ClusterStoNCorrOnTrack
MonitorElement * bookME2D(DQMStore::IBooker &, const char *, const char *)
MonitorElement * ClusterNoiseOffTrack
MonitorElement * book1D(Args &&...args)
void tag(MonitorElement *, unsigned int)
MonitorElement * ClusterWidthOnTrack
void bookSubDetMEs(DQMStore::IBooker &, std::string &name)
MonitorElement * bookME3D(DQMStore::IBooker &, const char *, const char *)
MonitorElement * ClusterChargePerCMfromOrigin
MonitorElement * ClusterChargePerCMfromOriginOffTrack
SiStripFolderOrganizer folderOrganizer_
std::string getSubdetid(uint32_t id, const TrackerTopology *tTopo, bool flag_ring)
MonitorElement * ClusterChargePerCMfromTrack
MonitorElement * ClusterChargeOnTrack
MonitorElement * ClusterNoiseOffTrack
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
SiStripRecHit2D originalHit() const
edm::EDGetTokenT< TrajTrackAssociationCollection > trackTrajToken_
void bookModMEs(DQMStore::IBooker &, const uint32_t)
MonitorElement * ClusterWidth
MonitorElement * ClusterChargeOnTrack
void setLayerFolder(uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=0)
void setCurrentFolder(const std::string &fullpath)
SiStripRecHit2D stereoHit() const
MonitorElement * book2D(Args &&...args)
MonitorElement * ClusterWidthOffTrack
std::string createHistoId(std::string description, std::string id_type, uint32_t component_id)
MonitorElement * ClusterPosOnTrack
MonitorElement * ClusterChargePerCMfromTrack
T const * product() const
void dqmBeginRun(const edm::Run &run, const edm::EventSetup &es)
MonitorElement * ClusterChargeOffTrack
std::map< std::string, ModMEs > ModMEsMap
MonitorElement * bookMETrend(DQMStore::IBooker &, const char *)
MonitorElement * ClusterPos
MonitorElement * ClusterChargeCorrOnTrack
TkHistoMap * tkhisto_NumOnTrack
SiStripRecHit2D monoHit() const
GenericTriggerEventFlag * genTriggerEventFlag_
void RecHitInfo(const T *tkrecHit, LocalVector LV, const edm::EventSetup &)
MonitorElement * ClusterChargePerCMfromOriginOnTrack
MonitorElement * handleBookMEs(DQMStore::IBooker &, std::string &, std::string &, std::string &, std::string &)
static int position[264][3]
MonitorElement * ClusterWidthOnTrack
MonitorElement * bookMEProfile(DQMStore::IBooker &, const char *, const char *)
TkHistoMap * tkhisto_StoNCorrOnTrack
DetId geographicalId() const
void initRun(const edm::Run &run, const edm::EventSetup &setup)
To be called from beginRun() methods.
MonitorElement * ClusterChargePerCMfromOriginOnTrack
bool clusterInfos(SiStripClusterInfo *cluster, const uint32_t detid, enum ClusterFlags flags, LocalVector LV, const Det2MEs &MEs)
std::string createHistoLayer(std::string description, std::string id_type, std::string path, std::string flag)
uint16_t getHitPattern(HitCategory category, int position) const
void fillModMEs(SiStripClusterInfo *cluster, std::string name, float cos, const uint32_t detid, const LocalVector LV)
Detector det() const
get the detector field from this detid
MonitorElement * book3D(Args &&...args)
MonitorElement * ClusterWidthOffTrack
MonitorElement * nClustersOffTrack
void bookRingMEs(DQMStore::IBooker &, const uint32_t, std::string &)
MonitorElement * ClusterChargePerCMfromOriginOnTrack
void add(uint32_t &detid, float value)
bool applyClusterQuality_
edm::InputTag Cluster_src_
const GeomDetUnit * stereoDet() const
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection
int numberOfHits(HitCategory category) const
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
std::map< std::string, LayerMEs > LayerMEsMap
MonitorElement * ClusterChargePerCMfromOriginOffTrack
MonitorElement * ClusterNoiseOnTrack