27 tracksCollection_in_EventTree(
true),
71 LogDebug(
"SiStripMonitorTrack") <<
"[SiStripMonitorTrack::beginRun] There are "<<
tkgeom_->detUnits().size() <<
" detectors instantiated in the geometry" << std::endl;
86 book(ibooker , tTopo);
99 LogDebug(
"SiStripMonitorTrack") <<
"[SiStripMonitorTrack::analyse] " <<
"Run " << e.
id().
run() <<
" Event " << e.
id().
event() << std::endl;
106 for (std::map<std::string, SubDetMEs>::iterator iSubDet =
SubDetMEsMap.begin();
108 iSubDet->second.totNClustersOnTrack = 0;
109 iSubDet->second.totNClustersOffTrack = 0;
120 std::map<std::string, MonitorElement*>::iterator iME;
121 std::map<std::string, LayerMEs>::iterator iLayerME;
166 std::vector<uint32_t> vdetId_;
168 const char* tec =
"TEC";
169 const char* tid =
"TID";
174 for (std::vector<uint32_t>::const_iterator detid_iter=vdetId_.begin(),detid_end=vdetId_.end();detid_iter!=detid_end;++detid_iter){
175 uint32_t detid = *detid_iter;
178 edm::LogError(
"SiStripMonitorTrack")<<
"[" <<__PRETTY_FUNCTION__ <<
"] invalid detid " << detid<< std::endl;
186 std::pair<std::string,int32_t> det_layer_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
false);
195 std::map<std::string, LayerMEs>::iterator iLayerME =
LayerMEsMap.find(layer_id);
197 folder_organizer.
setLayerFolder(detid, tTopo, det_layer_pair.second,
false);
201 const char* subdet = det_layer_pair.first.c_str();
202 if ( std::strstr(subdet, tec) !=
NULL || std::strstr(subdet, tid) !=
NULL ) {
204 std::map<std::string, RingMEs>::iterator iRingME =
RingMEsMap.find(ring_id);
206 std::pair<std::string,int32_t> det_ring_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
true);
207 folder_organizer.
setLayerFolder(detid, tTopo, det_ring_pair.second,
true);
223 for (std::vector<uint32_t>::const_iterator detid_iter=vdetId_.begin(),detid_end=vdetId_.end();detid_iter!=detid_end;++detid_iter){
224 uint32_t detid = *detid_iter;
227 edm::LogError(
"SiStripMonitorTrack")<<
"[" <<__PRETTY_FUNCTION__ <<
"] invalid detid " << detid<< std::endl;
235 std::pair<std::string,int32_t> det_layer_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
false);
244 std::map<std::string, LayerMEs>::iterator iLayerME =
LayerMEsMap.find(layer_id);
246 folder_organizer.
setLayerFolder(detid, tTopo, det_layer_pair.second,
false);
250 const char* subdet = det_layer_pair.first.c_str();
251 if ( std::strstr(subdet, tec) !=
NULL || std::strstr(subdet, tid) !=
NULL ) {
253 std::map<std::string, RingMEs>::iterator iRingME =
RingMEsMap.find(ring_id);
255 std::pair<std::string,int32_t> det_ring_pair = folder_organizer.
GetSubDetAndLayer(detid,tTopo,
true);
256 folder_organizer.
setLayerFolder(detid, tTopo, det_ring_pair.second,
true);
277 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(hid);
303 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);
324 if (
id.
find(
"TEC") == std::string::npos &&
id.find(
"TID") == std::string::npos ) {
325 me =
bookME1D(ibooker , histoParameters.c_str(), histoName.c_str());
329 me =
bookME1D(ibooker , histoParameters.c_str(), histoName.c_str());
363 hname = hidmanager.
createHistoLayer(
"Summary_ClusterStoNCorr",name,layer_id,
"OnTrack");
364 hpar =
"TH1ClusterStoNCorr";
368 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargeCorr",name,layer_id,
"OnTrack");
369 hpar =
"TH1ClusterChargeCorr";
373 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,layer_id,
"OnTrack");
374 hpar =
"TH1ClusterCharge";
377 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,layer_id,
"OffTrack");
378 hpar =
"TH1ClusterCharge";
382 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,layer_id,
"OnTrack");
383 hpar =
"TH1ClusterNoise";
386 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,layer_id,
"OffTrack");
387 hpar =
"TH1ClusterNoise";
391 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,layer_id,
"OnTrack");
392 hpar =
"TH1ClusterWidth";
395 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,layer_id,
"OffTrack");
396 hpar =
"TH1ClusterWidth";
401 if (layer_id.find(
"TEC") != std::string::npos) total_nr_strips = 3 * 2 * 128;
403 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,layer_id,
"OnTrack");
406 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,layer_id,
"OffTrack");
410 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,layer_id,
"");
411 hpar =
"TH1ClusterChargePerCM";
414 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OnTrack");
415 hpar =
"TH1ClusterChargePerCM";
418 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OffTrack");
419 hpar =
"TH1ClusterChargePerCM";
449 hname = hidmanager.
createHistoLayer(
"Summary_ClusterStoNCorr",name,ring_id,
"OnTrack");
450 hpar =
"TH1ClusterStoNCorr";
454 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargeCorr",name,ring_id,
"OnTrack");
455 hpar =
"TH1ClusterChargeCorr";
459 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OnTrack");
460 hpar =
"TH1ClusterCharge";
463 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OffTrack");
464 hpar =
"TH1ClusterCharge";
468 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OnTrack");
469 hpar =
"TH1ClusterNoise";
472 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OffTrack");
473 hpar =
"TH1ClusterNoise";
477 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OnTrack");
478 hpar =
"TH1ClusterWidth";
481 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OffTrack");
482 hpar =
"TH1ClusterWidth";
486 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,ring_id,
"");
487 hpar =
"TH1ClusterChargePerCM";
490 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OnTrack");
491 hpar =
"TH1ClusterChargePerCM";
494 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OffTrack");
495 hpar =
"TH1ClusterChargePerCM";
509 subdet_tag =
"__" +
name;
529 completeName =
"Summary_TotalNumberOfClusters_OnTrack" +
subdet_tag;
530 axisName =
"Number of on-track clusters in " +
name;
536 completeName =
"Summary_TotalNumberOfClusters_OffTrack" +
subdet_tag;
537 axisName =
"Number of off-track clusters in " +
name;
543 completeName =
"Summary_ClusterStoNCorr_OnTrack" +
subdet_tag;
547 completeName =
"Summary_ClusterCharge_OnTrack" +
subdet_tag;
551 completeName =
"Summary_ClusterCharge_OffTrack" +
subdet_tag;
555 completeName =
"Summary_ClusterStoN_OffTrack" +
subdet_tag;
559 completeName =
"Summary_ClusterChargePerCMfromTrack" +
subdet_tag;
563 completeName =
"Summary_ClusterChargePerCMfromOrigin_OnTrack" +
subdet_tag;
567 completeName =
"Summary_ClusterChargePerCMfromOrigin_OffTrack" +
subdet_tag;
572 completeName =
"Trend_TotalNumberOfClusters_OnTrack" +
subdet_tag;
574 completeName =
"Trend_TotalNumberOfClusters_OffTrack" +
subdet_tag;
587 return ibooker.
book1D(HistoName,HistoName,
598 return ibooker.
book2D(HistoName,HistoName,
612 return ibooker.
book3D(HistoName,HistoName,
651 me->setAxisTitle(
"Lumisection",1);
657 const std::vector<TrajectoryMeasurement> & measurements = traj->measurements();
658 for(std::vector<TrajectoryMeasurement>::const_iterator traj_mes_iterator= measurements.begin(), traj_mes_end=measurements.end();
659 traj_mes_iterator!=traj_mes_end;++traj_mes_iterator){
667 uint32_t thedetid=ttrh->rawId();
668 if ( thedetid > 369120277-1 ) {
669 if ( (ttrh->getType()==1) )
671 if ( (ttrh->getType()==2) )
673 if ( (ttrh->getType()==0) )
678 if (!ttrh->isValid())
continue;
688 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
695 statedirection=monodet->
toLocal(gtrkdirup);
698 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es);
701 statedirection=stereodet->
toLocal(gtrkdirup);
704 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es);
707 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
716 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
718 statedirection=det->
toLocal(gtrkdirup);
719 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
722 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
725 statedirection=det->
toLocal(gtrkdirup);
726 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
730 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es);
733 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es);
736 <<
" LocalMomentum: "<<statedirection
737 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
753 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
761 statedirection=monodet->
toLocal(gtrkdirup);
763 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es);
767 statedirection=stereodet->
toLocal(gtrkdirup);
769 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es);
772 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
782 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
784 statedirection=det->
toLocal(gtrkdirup);
785 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
788 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
791 statedirection=det->
toLocal(gtrkdirup);
792 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es);
795 statedirection=localMomentum;
796 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es);
798 statedirection=localMomentum;
799 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es);
802 <<
" LocalMomentum: "<<statedirection
803 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
812 using namespace reco;
817 if( TItkAssociatorCollection.isValid()){
820 edm::LogError(
"SiStripMonitorTrack")<<
"Association not found ... try w/ track collection"<<std::endl;
828 if (trackCollectionHandle.
isValid()){
843 numTracks = trackCollectionHandle->size();
845 for (reco::TrackCollection::const_iterator track = trackCollection.begin(), etrack = trackCollection.end();
846 track!=etrack; ++track) {
855 uint32_t thedetid=(*hit)->rawId();
856 if ( thedetid > 369120277-1 ) {
857 if ( ((*hit)->getType()==1) )
859 if ( ((*hit)->getType()==2) )
861 if ( ((*hit)->getType()==0) )
866 if (!(*hit)->isValid())
continue;
867 DetId detID = (*hit)->geographicalId();
879 hitStudy(es,projhit,matchedhit,hit2D,hit1D,localMomentum);
918 numTracks = TItkAssociatorCollection->size();
926 <<
"Track number "<< ++i << std::endl;
944 if(!tkrecHit->isValid()){
945 LogTrace(
"SiStripMonitorTrack") <<
"\t\t Invalid Hit " << std::endl;
949 const uint32_t& detid = tkrecHit->geographicalId().rawId();
952 <<
"\n\t\tRecHit on det "<<detid
953 <<
"\n\t\tRecHit in LP "<<tkrecHit->localPosition()
954 <<
"\n\t\tRecHit in GP "<<
tkgeom_->idToDet(tkrecHit->geographicalId())->surface().toGlobal(tkrecHit->localPosition())
955 <<
"\n\t\tRecHit trackLocal vector "<<LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<std::endl;
964 if ( tkrecHit !=
NULL ){
976 edm::LogError(
"SiStripMonitorTrack") <<
"NULL hit" << std::endl;
991 if (siStripClusterHandle.
isValid()){
994 DSViter!=DSVEnd; ++DSViter) {
996 uint32_t detid=DSViter->id();
999 LogDebug(
"SiStripMonitorTrack") <<
"on detid "<< detid <<
" N Cluster= " << DSViter->size();
1012 edm::LogError(
"SiStripMonitorTrack")<<
"ClusterCollection is not valid!!" << std::endl;
1030 std::map<std::string, LayerMEs>::iterator iLayer =
LayerMEsMap.find(layer_id);
1032 me.
iLayer = &(iLayer->second);
1035 std::map<std::string, RingMEs>::iterator iRing =
RingMEsMap.find(ring_id);
1037 me.
iRing = &(iRing->second);
1040 std::map<std::string, SubDetMEs>::iterator iSubdet =
SubDetMEsMap.find(sdet_tag);
1042 me.
iSubdet = &(iSubdet->second);
1053 if (cluster==
NULL)
return false;
1063 LogDebug(
"SiStripMonitorTrack")<<
"\n\tLV " << LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<
" " << LV.
mag() << std::endl;
1065 cosRZ= fabs(LV.
z())/LV.
mag();
1066 LogDebug(
"SiStripMonitorTrack")<<
"\n\t cosRZ " << cosRZ << std::endl;
1086 uint32_t adet=cluster->
detId();
1090 uint32_t adet=cluster->
detId();
1097 if (MEs.
iLayer !=
nullptr) {
1109 if (MEs.
iRing !=
nullptr) {
1128 uint32_t adet=cluster->
detId();
1132 LogDebug(
"SiStripMonitorTrack") <<
"Module " << detid <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1139 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(name);
1141 if(noise > 0.0)
fillME(iModME->second.ClusterStoNCorr ,StoN*cosRZ);
1142 if(noise == 0.0)
LogDebug(
"SiStripMonitorTrack") <<
"Module " << name <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1143 fillME(iModME->second.ClusterCharge,charge);
1145 fillME(iModME->second.ClusterChargeCorr,charge*cosRZ);
1147 fillME(iModME->second.ClusterWidth ,width);
1148 fillME(iModME->second.ClusterPos ,position);
1150 fillME(iModME->second.ClusterChargePerCMfromTrack, dQdx_fromTrack);
1151 fillME(iModME->second.ClusterChargePerCMfromOrigin, dQdx_fromOrigin);
1155 int PGVposCounter = cluster->
maxIndex();
1157 fillME(iModME->second.ClusterPGV,
i,0.);
1159 fillME(iModME->second.ClusterPGV, PGVposCounter++,(*it)/PGVmax);
1162 fillME(iModME->second.ClusterPGV,
i,0.);
1171 uint32_t adet=cluster->
detId();
1174 LogDebug(
"SiStripMonitorTrack") <<
"Module firing " << detid <<
" in Event " <<
eventNb << std::endl;
1179 if (MEs.
iLayer !=
nullptr) {
1187 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
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
MonitorElement * ClusterChargePerCMfromOriginOffTrack
auto stripCharges() const -> decltype(cluster() ->amplitudes())
MonitorElement * ClusterPGV
MonitorElement * nClustersTrendOffTrack
void setDetectorFolder(uint32_t rawdetid, const TrackerTopology *tTopo)
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
TkHistoMap * tkhisto_NumMissingHits
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")
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
TkHistoMap * tkhisto_NumberInactiveHits
void setLayerFolder(uint32_t rawdetid, const TrackerTopology *tTopo, int32_t layer=0, bool ring_flag=0)
void setCurrentFolder(const std::string &fullpath)
TkHistoMap * tkhisto_ClChPerCMfromOrigin
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
TkHistoMap * tkhisto_ClChPerCMfromTrack
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
bool clchCMoriginTkHmap_On_
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)
Detector det() const
get the detector field from this detid
MonitorElement * book3D(Args &&...args)
MonitorElement * ClusterWidthOffTrack
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * nClustersOffTrack
void bookRingMEs(DQMStore::IBooker &, const uint32_t, std::string &)
MonitorElement * ClusterChargePerCMfromOriginOnTrack
void add(uint32_t &detid, float value)
TkHistoMap * tkhisto_NumberValidHits
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
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
std::map< std::string, LayerMEs > LayerMEsMap
MonitorElement * ClusterChargePerCMfromOriginOffTrack
MonitorElement * ClusterNoiseOnTrack