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){
668 uint32_t thedetid=ttrh->rawId();
670 if ( (ttrh->getType()==1) )
672 if ( (ttrh->getType()==2) )
674 if ( (ttrh->getType()==0) )
679 if (!ttrh->isValid())
continue;
689 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
696 statedirection=monodet->
toLocal(gtrkdirup);
699 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es,track_ok);
702 statedirection=stereodet->
toLocal(gtrkdirup);
705 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es,track_ok);
708 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
717 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
719 statedirection=det->
toLocal(gtrkdirup);
720 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
723 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
726 statedirection=det->
toLocal(gtrkdirup);
727 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
731 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es,track_ok);
734 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es,track_ok);
737 <<
" LocalMomentum: "<<statedirection
738 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
755 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
763 statedirection=monodet->
toLocal(gtrkdirup);
765 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es,track_ok);
769 statedirection=stereodet->
toLocal(gtrkdirup);
771 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es,track_ok);
774 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
784 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
786 statedirection=det->
toLocal(gtrkdirup);
787 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
790 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
793 statedirection=det->
toLocal(gtrkdirup);
794 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
797 statedirection=localMomentum;
798 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es,track_ok);
800 statedirection=localMomentum;
801 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es,track_ok);
804 <<
" LocalMomentum: "<<statedirection
805 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
814 using namespace reco;
819 if( TItkAssociatorCollection.isValid()){
822 edm::LogError(
"SiStripMonitorTrack")<<
"Association not found ... try w/ track collection"<<std::endl;
830 if (trackCollectionHandle.
isValid()){
842 if (track.
pt() < 0.8)
return false;
843 if (track.
p() < 2.0)
return false;
857 for (reco::TrackCollection::const_iterator track = trackCollection.begin(), etrack = trackCollection.end();
858 track!=etrack; ++track) {
867 uint32_t thedetid=(*hit)->rawId();
869 if ( ((*hit)->getType()==1) )
871 if ( ((*hit)->getType()==2) )
873 if ( ((*hit)->getType()==0) )
878 if (!(*hit)->isValid())
continue;
879 DetId detID = (*hit)->geographicalId();
891 hitStudy(es,projhit,matchedhit,hit2D,hit1D,localMomentum,track_ok);
930 numTracks = TItkAssociatorCollection->size();
938 <<
"Track number "<< ++i << std::endl;
957 if(!tkrecHit->isValid()){
958 LogTrace(
"SiStripMonitorTrack") <<
"\t\t Invalid Hit " << std::endl;
962 const uint32_t& detid = tkrecHit->geographicalId().rawId();
965 <<
"\n\t\tRecHit on det "<<detid
966 <<
"\n\t\tRecHit in LP "<<tkrecHit->localPosition()
967 <<
"\n\t\tRecHit in GP "<<
tkgeom_->idToDet(tkrecHit->geographicalId())->surface().toGlobal(tkrecHit->localPosition())
968 <<
"\n\t\tRecHit trackLocal vector "<<LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<std::endl;
977 if ( tkrecHit !=
NULL ){
989 edm::LogError(
"SiStripMonitorTrack") <<
"NULL hit" << std::endl;
1004 if (siStripClusterHandle.
isValid()){
1007 DSViter!=DSVEnd; ++DSViter) {
1009 uint32_t detid=DSViter->id();
1012 LogDebug(
"SiStripMonitorTrack") <<
"on detid "<< detid <<
" N Cluster= " << DSViter->size();
1025 edm::LogError(
"SiStripMonitorTrack")<<
"ClusterCollection is not valid!!" << std::endl;
1043 std::map<std::string, LayerMEs>::iterator iLayer =
LayerMEsMap.find(layer_id);
1045 me.
iLayer = &(iLayer->second);
1048 std::map<std::string, RingMEs>::iterator iRing =
RingMEsMap.find(ring_id);
1050 me.
iRing = &(iRing->second);
1053 std::map<std::string, SubDetMEs>::iterator iSubdet =
SubDetMEsMap.find(sdet_tag);
1055 me.
iSubdet = &(iSubdet->second);
1066 if (cluster==
NULL)
return false;
1076 LogDebug(
"SiStripMonitorTrack")<<
"\n\tLV " << LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<
" " << LV.
mag() << std::endl;
1078 cosRZ= fabs(LV.
z())/LV.
mag();
1079 LogDebug(
"SiStripMonitorTrack")<<
"\n\t cosRZ " << cosRZ << std::endl;
1099 uint32_t adet=cluster->
detId();
1103 uint32_t adet=cluster->
detId();
1110 if (MEs.
iLayer !=
nullptr) {
1122 if (MEs.
iRing !=
nullptr) {
1141 uint32_t adet=cluster->
detId();
1145 LogDebug(
"SiStripMonitorTrack") <<
"Module " << detid <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1152 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(name);
1154 if(noise > 0.0)
fillME(iModME->second.ClusterStoNCorr ,StoN*cosRZ);
1155 if(noise == 0.0)
LogDebug(
"SiStripMonitorTrack") <<
"Module " << name <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1156 fillME(iModME->second.ClusterCharge,charge);
1158 fillME(iModME->second.ClusterChargeCorr,charge*cosRZ);
1160 fillME(iModME->second.ClusterWidth ,width);
1161 fillME(iModME->second.ClusterPos ,position);
1163 if(track_ok)
fillME(iModME->second.ClusterChargePerCMfromTrack, dQdx_fromTrack);
1164 if(track_ok)
fillME(iModME->second.ClusterChargePerCMfromOrigin, dQdx_fromOrigin);
1168 int PGVposCounter = cluster->
maxIndex();
1170 fillME(iModME->second.ClusterPGV,
i,0.);
1172 fillME(iModME->second.ClusterPGV, PGVposCounter++,(*it)/PGVmax);
1175 fillME(iModME->second.ClusterPGV,
i,0.);
1184 uint32_t adet=cluster->
detId();
1187 LogDebug(
"SiStripMonitorTrack") <<
"Module firing " << detid <<
" in Event " <<
eventNb << std::endl;
1192 if (MEs.
iLayer !=
nullptr) {
1200 if (MEs.
iRing !=
nullptr) {
MonitorElement * ClusterStoNCorr
uint8_t maxCharge() const
MonitorElement * ClusterNoiseOnTrack
double p() const
momentum vector magnitude
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
double normalizedChi2() const
chi-squared divided by n.d.o.f. (or chi-squared * 1e6 if n.d.o.f. is zero)
MonitorElement * bookProfile(Args &&...args)
MonitorElement * ClusterPosOffTrack
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_
bool trackFilter(const reco::Track &track)
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 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.
double pt() const
track transverse momentum
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
Detector identifier class for the strip tracker.
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)
void hitStudy(const edm::EventSetup &es, const ProjectedSiStripRecHit2D *projhit, const SiStripMatchedRecHit2D *matchedhit, const SiStripRecHit2D *hit2D, const SiStripRecHit1D *hit1D, LocalVector localMomentum, const bool track_ok)
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
MonitorElement * ClusterWidthOffTrack
std::string createHistoId(std::string description, std::string id_type, uint32_t component_id)
MonitorElement * ClusterPosOnTrack
MonitorElement * ClusterChargePerCMfromTrack
T const * product() const
bool clusterInfos(SiStripClusterInfo *cluster, const uint32_t detid, enum ClusterFlags flags, bool track_ok, LocalVector LV, const Det2MEs &MEs)
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
int numberOfValidTrackerHits() const
TkHistoMap * tkhisto_NumOnTrack
SiStripRecHit2D monoHit() const
GenericTriggerEventFlag * genTriggerEventFlag_
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
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 trajectoryStudy(const edm::Ref< std::vector< Trajectory > > traj, const edm::EventSetup &es, bool track_ok)
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
void RecHitInfo(const T *tkrecHit, LocalVector LV, const edm::EventSetup &, bool ok)
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusterToken_
std::map< std::string, LayerMEs > LayerMEsMap
MonitorElement * ClusterChargePerCMfromOriginOffTrack
MonitorElement * ClusterNoiseOnTrack