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");
404 hpar =
"TH1ClusterPos";
405 if ( layer_id.find(
"TIB") != std::string::npos || layer_id.find(
"TOB") != std::string::npos || (
conf_.
getParameter<
edm::ParameterSet>(hpar.c_str())).getParameter<
bool>(view.c_str()) ) theLayerMEs.
ClusterPosOnTrack = ibooker.
book1D(hname, hname, total_nr_strips, 0.5,total_nr_strips+0.5);
407 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,layer_id,
"OffTrack");
408 hpar =
"TH1ClusterPos";
409 if ( layer_id.find(
"TIB") != std::string::npos || layer_id.find(
"TOB") != std::string::npos || (
conf_.
getParameter<
edm::ParameterSet>(hpar.c_str())).getParameter<
bool>(view.c_str()) ) theLayerMEs.
ClusterPosOffTrack = ibooker.
book1D(hname, hname, total_nr_strips, 0.5,total_nr_strips+0.5);
412 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,layer_id,
"");
413 hpar =
"TH1ClusterChargePerCM";
416 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OnTrack");
417 hpar =
"TH1ClusterChargePerCM";
420 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,layer_id,
"OffTrack");
421 hpar =
"TH1ClusterChargePerCM";
453 hname = hidmanager.
createHistoLayer(
"Summary_ClusterStoNCorr",name,ring_id,
"OnTrack");
454 hpar =
"TH1ClusterStoNCorr";
458 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargeCorr",name,ring_id,
"OnTrack");
459 hpar =
"TH1ClusterChargeCorr";
463 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OnTrack");
464 hpar =
"TH1ClusterCharge";
467 hname = hidmanager.
createHistoLayer(
"Summary_ClusterCharge",name,ring_id,
"OffTrack");
468 hpar =
"TH1ClusterCharge";
472 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OnTrack");
473 hpar =
"TH1ClusterNoise";
476 hname = hidmanager.
createHistoLayer(
"Summary_ClusterNoise",name,ring_id,
"OffTrack");
477 hpar =
"TH1ClusterNoise";
481 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OnTrack");
482 hpar =
"TH1ClusterWidth";
485 hname = hidmanager.
createHistoLayer(
"Summary_ClusterWidth",name,ring_id,
"OffTrack");
486 hpar =
"TH1ClusterWidth";
491 if (ring_id.find(
"TEC") != std::string::npos) total_nr_strips = 3 * 2 * 128;
493 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,ring_id,
"OnTrack");
494 hpar =
"TH1ClusterPos";
495 if ( ring_id.find(
"TIB") != std::string::npos || ring_id.find(
"TOB") != std::string::npos || (
conf_.
getParameter<
edm::ParameterSet>(hpar.c_str())).getParameter<
bool>(view.c_str()) ) theRingMEs.
ClusterPosOnTrack = ibooker.
book1D(hname, hname, total_nr_strips, 0.5,total_nr_strips+0.5);
497 hname = hidmanager.
createHistoLayer(
"Summary_ClusterPosition",name,ring_id,
"OffTrack");
498 hpar =
"TH1ClusterPos";
502 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromTrack",name,ring_id,
"");
503 hpar =
"TH1ClusterChargePerCM";
506 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OnTrack");
507 hpar =
"TH1ClusterChargePerCM";
510 hname = hidmanager.
createHistoLayer(
"Summary_ClusterChargePerCMfromOrigin",name,ring_id,
"OffTrack");
511 hpar =
"TH1ClusterChargePerCM";
525 subdet_tag =
"__" +
name;
545 completeName =
"Summary_TotalNumberOfClusters_OnTrack" +
subdet_tag;
546 axisName =
"Number of on-track clusters in " +
name;
552 completeName =
"Summary_TotalNumberOfClusters_OffTrack" +
subdet_tag;
553 axisName =
"Number of off-track clusters in " +
name;
559 completeName =
"Summary_ClusterStoNCorr_OnTrack" +
subdet_tag;
563 completeName =
"Summary_ClusterCharge_OnTrack" +
subdet_tag;
567 completeName =
"Summary_ClusterCharge_OffTrack" +
subdet_tag;
571 completeName =
"Summary_ClusterStoN_OffTrack" +
subdet_tag;
575 completeName =
"Summary_ClusterChargePerCMfromTrack" +
subdet_tag;
579 completeName =
"Summary_ClusterChargePerCMfromOrigin_OnTrack" +
subdet_tag;
583 completeName =
"Summary_ClusterChargePerCMfromOrigin_OffTrack" +
subdet_tag;
588 completeName =
"Trend_TotalNumberOfClusters_OnTrack" +
subdet_tag;
590 completeName =
"Trend_TotalNumberOfClusters_OffTrack" +
subdet_tag;
603 return ibooker.
book1D(HistoName,HistoName,
614 return ibooker.
book2D(HistoName,HistoName,
628 return ibooker.
book3D(HistoName,HistoName,
667 me->setAxisTitle(
"Lumisection",1);
673 const std::vector<TrajectoryMeasurement> & measurements = traj->measurements();
674 for(std::vector<TrajectoryMeasurement>::const_iterator traj_mes_iterator= measurements.begin(), traj_mes_end=measurements.end();
675 traj_mes_iterator!=traj_mes_end;++traj_mes_iterator){
684 uint32_t thedetid=ttrh->rawId();
686 if ( (ttrh->getType()==1) )
688 if ( (ttrh->getType()==2) )
690 if ( (ttrh->getType()==0) )
695 if (!ttrh->isValid())
continue;
705 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
712 statedirection=monodet->
toLocal(gtrkdirup);
715 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es,track_ok);
718 statedirection=stereodet->
toLocal(gtrkdirup);
721 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es,track_ok);
724 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
733 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
735 statedirection=det->
toLocal(gtrkdirup);
736 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
739 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
742 statedirection=det->
toLocal(gtrkdirup);
743 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
747 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es,track_ok);
750 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es,track_ok);
753 <<
" LocalMomentum: "<<statedirection
754 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
771 LogTrace(
"SiStripMonitorTrack")<<
"\nMatched recHit found"<< std::endl;
779 statedirection=monodet->
toLocal(gtrkdirup);
781 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&m,statedirection,es,track_ok);
785 statedirection=stereodet->
toLocal(gtrkdirup);
787 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&s,statedirection,es,track_ok);
790 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found"<< std::endl;
800 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found MONO"<< std::endl;
802 statedirection=det->
toLocal(gtrkdirup);
803 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
806 LogTrace(
"SiStripMonitorTrack")<<
"\nProjected recHit found STEREO"<< std::endl;
809 statedirection=det->
toLocal(gtrkdirup);
810 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(&(originalhit),statedirection,es,track_ok);
813 statedirection=localMomentum;
814 if(statedirection.
mag()) RecHitInfo<SiStripRecHit2D>(hit2D,statedirection,es,track_ok);
816 statedirection=localMomentum;
817 if(statedirection.
mag()) RecHitInfo<SiStripRecHit1D>(hit1D,statedirection,es,track_ok);
820 <<
" LocalMomentum: "<<statedirection
821 <<
"\nLocal x-z plane angle: "<<atan2(statedirection.
x(),statedirection.
z());
830 using namespace reco;
835 if( TItkAssociatorCollection.isValid()){
838 edm::LogError(
"SiStripMonitorTrack")<<
"Association not found ... try w/ track collection"<<std::endl;
846 if (trackCollectionHandle.
isValid()){
858 if (track.
pt() < 0.8)
return false;
859 if (track.
p() < 2.0)
return false;
873 for (reco::TrackCollection::const_iterator track = trackCollection.begin(), etrack = trackCollection.end();
874 track!=etrack; ++track) {
883 uint32_t thedetid=(*hit)->rawId();
885 if ( ((*hit)->getType()==1) )
887 if ( ((*hit)->getType()==2) )
889 if ( ((*hit)->getType()==0) )
894 if (!(*hit)->isValid())
continue;
895 DetId detID = (*hit)->geographicalId();
907 hitStudy(es,projhit,matchedhit,hit2D,hit1D,localMomentum,track_ok);
946 numTracks = TItkAssociatorCollection->size();
954 <<
"Track number "<< ++i << std::endl;
973 if(!tkrecHit->isValid()){
974 LogTrace(
"SiStripMonitorTrack") <<
"\t\t Invalid Hit " << std::endl;
978 const uint32_t& detid = tkrecHit->geographicalId().rawId();
981 <<
"\n\t\tRecHit on det "<<detid
982 <<
"\n\t\tRecHit in LP "<<tkrecHit->localPosition()
983 <<
"\n\t\tRecHit in GP "<<
tkgeom_->idToDet(tkrecHit->geographicalId())->surface().toGlobal(tkrecHit->localPosition())
984 <<
"\n\t\tRecHit trackLocal vector "<<LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<std::endl;
993 if ( tkrecHit !=
NULL ){
1005 edm::LogError(
"SiStripMonitorTrack") <<
"NULL hit" << std::endl;
1020 if (siStripClusterHandle.
isValid()){
1023 DSViter!=DSVEnd; ++DSViter) {
1025 uint32_t detid=DSViter->id();
1028 LogDebug(
"SiStripMonitorTrack") <<
"on detid "<< detid <<
" N Cluster= " << DSViter->size();
1041 edm::LogError(
"SiStripMonitorTrack")<<
"ClusterCollection is not valid!!" << std::endl;
1059 std::map<std::string, LayerMEs>::iterator iLayer =
LayerMEsMap.find(layer_id);
1061 me.
iLayer = &(iLayer->second);
1064 std::map<std::string, RingMEs>::iterator iRing =
RingMEsMap.find(ring_id);
1066 me.
iRing = &(iRing->second);
1069 std::map<std::string, SubDetMEs>::iterator iSubdet =
SubDetMEsMap.find(sdet_tag);
1071 me.
iSubdet = &(iSubdet->second);
1082 if (cluster==
NULL)
return false;
1092 LogDebug(
"SiStripMonitorTrack")<<
"\n\tLV " << LV.
x() <<
" " << LV.
y() <<
" " << LV.
z() <<
" " << LV.
mag() << std::endl;
1094 cosRZ= fabs(LV.
z())/LV.
mag();
1095 LogDebug(
"SiStripMonitorTrack")<<
"\n\t cosRZ " << cosRZ << std::endl;
1115 uint32_t adet=cluster->
detId();
1119 uint32_t adet=cluster->
detId();
1126 if (MEs.
iLayer !=
nullptr) {
1138 if (MEs.
iRing !=
nullptr) {
1158 uint32_t adet=cluster->
detId();
1162 LogDebug(
"SiStripMonitorTrack") <<
"Module " << detid <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1169 std::map<std::string, ModMEs>::iterator iModME =
ModMEsMap.find(name);
1171 if(noise > 0.0)
fillME(iModME->second.ClusterStoNCorr ,StoN*cosRZ);
1172 if(noise == 0.0)
LogDebug(
"SiStripMonitorTrack") <<
"Module " << name <<
" in Event " <<
eventNb <<
" noise " << noise << std::endl;
1173 fillME(iModME->second.ClusterCharge,charge);
1175 fillME(iModME->second.ClusterChargeCorr,charge*cosRZ);
1177 fillME(iModME->second.ClusterWidth ,width);
1178 fillME(iModME->second.ClusterPos ,position);
1180 if(track_ok)
fillME(iModME->second.ClusterChargePerCMfromTrack, dQdx_fromTrack);
1181 if(track_ok)
fillME(iModME->second.ClusterChargePerCMfromOrigin, dQdx_fromOrigin);
1185 int PGVposCounter = cluster->
maxIndex();
1187 fillME(iModME->second.ClusterPGV,
i,0.);
1189 fillME(iModME->second.ClusterPGV, PGVposCounter++,(*it)/PGVmax);
1192 fillME(iModME->second.ClusterPGV,
i,0.);
1201 uint32_t adet=cluster->
detId();
1204 LogDebug(
"SiStripMonitorTrack") <<
"Module firing " << detid <<
" in Event " <<
eventNb << std::endl;
1209 if (MEs.
iLayer !=
nullptr) {
1217 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
MonitorElement * ClusterPosOnTrack
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
MonitorElement * ClusterPosOffTrack
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