67 modOn( pSet.getUntrackedParameter<bool>(
"modOn",
true) ),
68 reducedSet( pSet.getUntrackedParameter<bool>(
"reducedSet",
true) ),
69 ladOn( pSet.getUntrackedParameter<bool>(
"ladOn",
false) ),
70 layOn( pSet.getUntrackedParameter<bool>(
"layOn",
false) ),
71 phiOn( pSet.getUntrackedParameter<bool>(
"phiOn",
false) ),
72 ringOn( pSet.getUntrackedParameter<bool>(
"ringOn",
false) ),
73 bladeOn( pSet.getUntrackedParameter<bool>(
"bladeOn",
false) ),
74 diskOn( pSet.getUntrackedParameter<bool>(
"diskOn",
false) ),
75 isUpgrade( pSet.getUntrackedParameter<bool>(
"isUpgrade",
false) ),
94 LogInfo(
"PixelDQM") <<
"SiPixelTrackResidualSource constructor" << endl;
109 LogInfo(
"PixelDQM") <<
"SiPixelTrackResidualSource destructor" << endl;
111 std::map<uint32_t,SiPixelTrackResidualModule*>::iterator struct_iter;
113 delete struct_iter->second;
114 struct_iter->second = 0;
120 LogInfo(
"PixelDQM") <<
"SiPixelTrackResidualSource beginRun()" << endl;
124 if (
debug_)
LogVerbatim(
"PixelDQM") <<
"TrackerGeometry "<< &(*TG) <<
" size is "<< TG->dets().size() << endl;
130 for (TrackerGeometry::DetContainer::const_iterator pxb = TG->detsPXB().begin();
131 pxb!=TG->detsPXB().end(); pxb++) {
132 if (dynamic_cast<PixelGeomDetUnit const *>((*pxb))!=0) {
140 for (TrackerGeometry::DetContainer::const_iterator pxf = TG->detsPXF().begin();
141 pxf!=TG->detsPXF().end(); pxf++) {
142 if (dynamic_cast<PixelGeomDetUnit const *>((*pxf))!=0) {
157 std::stringstream nameX, titleX, nameY, titleY;
162 nameX.str(
std::string()); nameX <<
"siPixelTrackResidualsX_SummedLayer_" <<
i;
163 titleX.str(
std::string()); titleX <<
"Layer"<< i <<
"Hit-to-Track Residual in r-phi";
166 nameY.str(
std::string()); nameY <<
"siPixelTrackResidualsY_SummedLayer_" <<
i;
167 titleY.str(
std::string()); titleY <<
"Layer"<< i <<
"Hit-to-Track Residual in Z";
173 for (std::map<uint32_t, SiPixelTrackResidualModule*>::iterator pxd =
theSiPixelStructure.begin();
178 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource Folder Creation Failed! ";
185 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource ladder Folder Creation Failed! ";
189 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource layer Folder Creation Failed! ";
193 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource phi Folder Creation Failed! ";
197 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource Blade Folder Creation Failed! ";
201 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource Disk Folder Creation Failed! ";
205 else throw cms::Exception(
"LogicError") <<
"SiPixelTrackResidualSource Ring Folder Creation Failed! ";
246 std::stringstream ss1, ss2;
256 ss2.str(
std::string()); ss2 <<
"Charge (on track, layer" <<
i <<
")";
263 ss2.str(
std::string()); ss2 <<
"Charge (on track, diskp" <<
i <<
")";
270 ss2.str(
std::string()); ss2 <<
"Charge (on track, diskm" <<
i <<
")";
285 ss2.str(
std::string()); ss2 <<
"Charge (off track, layer" <<
i <<
")";
292 ss2.str(
std::string()); ss2 <<
"Charge (off track, diskp" <<
i <<
")";
299 ss2.str(
std::string()); ss2 <<
"Charge (off track, diskm" <<
i <<
")";
316 ss2.str(
std::string()); ss2 <<
"Size (on track, layer" <<
i <<
")";
323 ss2.str(
std::string()); ss2 <<
"Size (on track, diskp" <<
i <<
")";
330 ss2.str(
std::string()); ss2 <<
"Size (on track, diskm" <<
i <<
")";
343 ss2.str(
std::string()); ss2 <<
"SizeX (on track, layer" <<
i <<
")";
350 ss2.str(
std::string()); ss2 <<
"SizeX (on track, diskp" <<
i <<
")";
357 ss2.str(
std::string()); ss2 <<
"SizeX (on track, diskm" <<
i <<
")";
370 ss2.str(
std::string()); ss2 <<
"SizeY (on track, layer" <<
i <<
")";
377 ss2.str(
std::string()); ss2 <<
"SizeY (on track, diskp" <<
i <<
")";
384 ss2.str(
std::string()); ss2 <<
"SizeY (on track, diskm" <<
i <<
")";
399 ss2.str(
std::string()); ss2 <<
"Size (off track, layer" <<
i <<
")";
406 ss2.str(
std::string()); ss2 <<
"Size (off track, diskp" <<
i <<
")";
413 ss2.str(
std::string()); ss2 <<
"Size (off track, diskm" <<
i <<
")";
426 ss2.str(
std::string()); ss2 <<
"SizeX (off track, layer" <<
i <<
")";
433 ss2.str(
std::string()); ss2 <<
"SizeX (off track, diskp" <<
i <<
")";
440 ss2.str(
std::string()); ss2 <<
"SizeX (off track, diskm" <<
i <<
")";
453 ss2.str(
std::string()); ss2 <<
"SizeY (off track, layer" <<
i <<
")";
460 ss2.str(
std::string()); ss2 <<
"SizeY (off track, diskp" <<
i <<
")";
467 ss2.str(
std::string()); ss2 <<
"SizeY (off track, diskm" <<
i <<
")";
479 ss2.str(
std::string()); ss2 <<
"Clusters Layer" <<
i <<
" (on track)";
484 int ybins = -1;
float ymin = 0.;
float ymax = 0.;
485 if (i==1) { ybins = 23; ymin = -11.5; ymax = 11.5; }
486 if (i==2) { ybins = 33; ymin = -17.5; ymax = 17.5; }
487 if (i==3) { ybins = 45; ymin = -24.5; ymax = 24.5; }
489 ss2.str(
std::string()); ss2 <<
"Clusters Layer" << i <<
"_LadvsMod (on track)";
499 ss2.str(
std::string()); ss2 <<
"Clusters +Z Disk" <<
i <<
" (on track)";
507 ss2.str(
std::string()); ss2 <<
"Clusters -Z Disk" <<
i <<
" (on track)";
521 ss2.str(
std::string()); ss2 <<
"Number of Clusters (on track, layer" <<
i <<
")";
528 ss2.str(
std::string()); ss2 <<
"Number of Clusters (on track, diskp" <<
i <<
")";
535 ss2.str(
std::string()); ss2 <<
"Number of Clusters (on track, diskm" <<
i <<
")";
546 ss2.str(
std::string()); ss2 <<
"Clusters Layer" <<
i <<
" (off track)";
555 ss2.str(
std::string()); ss2 <<
"Clusters +Z Disk" <<
i <<
" (off track)";
563 ss2.str(
std::string()); ss2 <<
"Clusters -Z Disk" <<
i <<
" (off track)";
577 ss2.str(
std::string()); ss2 <<
"Number of Clusters (off track, layer" <<
i <<
")";
584 ss2.str(
std::string()); ss2 <<
"Number of Clusters (off track, diskp" <<
i <<
")";
591 ss2.str(
std::string()); ss2 <<
"Number of Clusters (off track, diskm" <<
i <<
")";
599 meHitProbability = iBooker.
book1D(
"FractionLowProb",
"Fraction of hits with low probability;FractionLowProb;#HitsOnTrack",100,0.,1.);
605 for (
int s=0;
s<3;
s++) {
606 sprintf(hisID,
"residual_x_subdet_%i",
s);
609 sprintf(hisID,
"residual_y_subdet_%i",
s);
652 if( !vertices.
isValid() )
return;
657 double bestNdof = 0.0;
658 double maxSumPt = 0.0;
660 for(reco::VertexCollection::const_iterator iVertex = vertices->begin();
661 iVertex != vertices->end(); ++iVertex ) {
662 if( iVertex->ndof() > bestNdof ) {
663 bestNdof = iVertex->
ndof();
664 vtxN =
math::XYZPoint( iVertex->x(), iVertex->y(), iVertex->z() );
666 if( iVertex->p4().pt() > maxSumPt ) {
667 maxSumPt = iVertex->p4().pt();
668 vtxP =
math::XYZPoint( iVertex->x(), iVertex->y(), iVertex->z() );
674 if( maxSumPt < 1.0 ) vtxP = vtxN;
695 if( !TracksForRes.
isValid() )
return;
702 cout <<
"Unable to find TrackerDigiGeometry. Return\n";
710 for( reco::TrackCollection::const_iterator iTrack = TracksForRes->begin();
711 iTrack != TracksForRes->end(); ++iTrack ) {
718 double pt = iTrack->pt();
719 if( pt < 0.75 )
continue;
720 if(
abs( iTrack->dxy(vtxP) ) > 5*iTrack->dxyError() )
continue;
722 double charge = iTrack->charge();
729 if( iTrack->extra().isNonnull() &&iTrack->extra().isAvailable() ){
745 vector<TransientTrackingRecHit::RecHitPointer> GoodPixBarrelHits;
748 irecHit != iTrack->recHitsEnd(); ++irecHit){
750 if( (*irecHit)->isValid() ){
751 DetId detId = (*irecHit)->geographicalId();
753 if( detId.
det() != 1 ){
755 cout <<
"rec hit ID = " << detId.
det() <<
" not in tracker!?!?\n";
767 double gX = trecHit->globalPosition().x();
768 double gY = trecHit->globalPosition().y();
769 double gZ = trecHit->globalPosition().z();
782 GoodPixBarrelHits.push_back((trecHit));
791 GoodPixBarrelHits.push_back((trecHit));
800 GoodPixBarrelHits.push_back((trecHit));
811 if( n1+n2+n3 == 3 && n1*n2*n3 > 0) {
812 for(
unsigned int i = 0;
i < GoodPixBarrelHits.size();
i++){
814 if( GoodPixBarrelHits[
i]->isValid() ){
815 DetId detId = GoodPixBarrelHits[
i]->geographicalId().
rawId();
819 double dca2 = 0.0, dz2=0.0;
821 if(charge<0.) ptsig = -
pt;
832 triplets(x2,y2,z2,x1,y1,z1,x3,y3,z3,ptsig,dca2,dz2, kap);
840 triplets(x1,y1,z1,x2,y2,z2,x3,y3,z3,ptsig,dca2,dz2, kap);
849 triplets(x1,y1,z1,x3,y3,z3,x2,y2,z2,ptsig,dca2,dz2, kap);
856 std::map<uint32_t, SiPixelTrackResidualModule*>::iterator pxd =
theSiPixelStructure.find(detId);
877 const std::vector<Trajectory> trajColl = *(trajCollectionHandle.
product());
884 const std::vector<reco::Track> trackColl = *(trackCollectionHandle.
product());
899 std::cout <<
"Trajectories\t : " << trajColl.size() << std::endl;
900 std::cout <<
"recoTracks \t : " << trackColl.size() << std::endl;
901 std::cout <<
"Map entries \t : " << ttac.
size() << std::endl;
904 std::set<SiPixelCluster> clusterSet;
906 int tracks=0, pixeltracks=0, bpixtracks=0, fpixtracks=0;
907 int trackclusters=0, barreltrackclusters=0, endcaptrackclusters=0;
908 int otherclusters=0, barrelotherclusters=0, endcapotherclusters=0;
917 bool isBpixtrack =
false, isFpixtrack =
false, crossesPixVol=
false;
921 double d0 = (*trackref).d0(), dz = (*trackref).dz();
923 if(
abs(d0)<15 &&
abs(dz)<50) crossesPixVol =
true;
925 std::vector<TrajectoryMeasurement> tmeasColl =traj_iterator->measurements();
926 std::vector<TrajectoryMeasurement>::const_iterator tmeasIt;
928 for(tmeasIt = tmeasColl.begin();tmeasIt!=tmeasColl.end();tmeasIt++){
929 if(! tmeasIt->updatedState().isValid())
continue;
931 if(! testhit->isValid() || testhit->geographicalId().det() !=
DetId::Tracker)
continue;
932 uint testSubDetID = (testhit->geographicalId().subdetId());
944 if(isBpixtrack || isFpixtrack){
949 std::vector<TrajectoryMeasurement> tmeasColl = traj_iterator->measurements();
950 for(std::vector<TrajectoryMeasurement>::const_iterator tmeasIt = tmeasColl.begin(); tmeasIt!=tmeasColl.end(); tmeasIt++){
951 if(! tmeasIt->updatedState().isValid())
continue;
955 if(! hit->isValid() || hit->geographicalId().det() !=
DetId::Tracker ) {
960 const DetId & hit_detId = hit->geographicalId();
962 uint IntSubDetID = (hit_detId.
subdetId());
964 if(IntSubDetID == 0 )
continue;
969 if ((persistentHit != 0) && (
typeid(*persistentHit) ==
typeid(
SiPixelRecHit))) {
973 float hit_prob = -1.;
993 if(theGeomDet == 0) {
1001 std::map<uint32_t, SiPixelTrackResidualModule*>::iterator pxd =
theSiPixelStructure.find((*hit).geographicalId().rawId());
1008 float clust_alpha = atan2(localDir.
z(), localDir.
x());
1009 float clust_beta = atan2(localDir.
z(), localDir.
y());
1010 double corrCharge = clust->charge() *
sqrt( 1.0 / ( 1.0/
pow(
tan(clust_alpha), 2 ) +
1011 1.0/
pow(
tan(clust_beta ), 2 ) +
1015 if (pxd!=
theSiPixelStructure.end()) (*pxd).second->fill((*clust),
true, corrCharge,
reducedSet,
modOn,
ladOn,
layOn,
phiOn,
bladeOn,
diskOn,
ringOn);
1024 clusterSet.insert(*clust);
1028 float xcenter = clust->x();
1029 float ycenter = clust->y();
1039 barreltrackclusters++;
1047 float phi = clustgp.
phi();
1048 float z = clustgp.
z();
1055 int ladderSigned=ladder;
1058 int shell = int(sh);
1060 if(shell==1 || shell==2) { moduleSigned = -
module; }
1062 if(shell==1 || shell==3) { ladderSigned = -ladder; }
1066 if (DBlayer ==
i + 1) {
1077 endcaptrackclusters++;
1085 float x = clustgp.
x();
1086 float y = clustgp.
y();
1087 float z = clustgp.
z();
1091 if (DBdisk ==
i + 1) {
1103 if (DBdisk ==
i + 1) {
1134 for(TrackerGeometry::DetContainer::const_iterator it = TG->dets().begin(); it != TG->dets().end(); it++){
1136 DetId detId = (*it)->geographicalId();
1137 if(detId>=302055684 && detId<=352477708){
1138 int nofclOnTrack = 0, nofclOffTrack=0;
1141 if( isearch != clustColl.
end() ) {
1143 for(di=isearch->
begin(); di!=isearch->
end(); di++){
1144 unsigned int temp = clusterSet.size();
1145 clusterSet.insert(*di);
1147 if(clusterSet.size()>
temp) {
1152 std::map<uint32_t, SiPixelTrackResidualModule*>::iterator pxd =
theSiPixelStructure.find((*it)->geographicalId().rawId());
1154 if (pxd!=
theSiPixelStructure.end()) (*pxd).second->fill((*di),
false, -1.,
reducedSet,
modOn,
ladOn,
layOn,
phiOn,
bladeOn,
diskOn,
ringOn);
1169 if(theGeomDet == 0) {
1176 float xcenter = di->x();
1177 float ycenter = di->y();
1186 if(
DetId(detId).subdetId() == 1) {
1191 barrelotherclusters++;
1193 float phi = clustgp.
phi();
1198 if (DBlayer ==
i + 1) {
1213 endcapotherclusters++;
1215 float x = clustgp.
x();
1216 float y = clustgp.
y();
1221 if (DBdisk ==
i + 1) {
1233 if (DBdisk ==
i + 1) {
1253 if(theGeomDet == 0) {
1259 float xcenter = di->x();
1260 float ycenter = di->y();
1271 std::map<uint32_t, SiPixelTrackResidualModule*>::iterator pxd =
theSiPixelStructure.find((*it)->geographicalId().rawId());
1276 if(
DetId(detId).subdetId() == 1){
1282 if (DBlayer ==
i + 1) {
1289 if(
DetId(detId).subdetId() == 2) {
1297 if (DBdisk ==
i + 1) {
1306 if (DBdisk ==
i + 1) {
1329 double ptsig,
double & dca2,
double & dz2,
double kap) {
1332 using namespace std;
1339 double r1 =
sqrt( x1*x1 + y1*y1 );
1340 double r3 =
sqrt( x3*x3 + y3*y3 );
1342 if( r3-
r1 < 2.0 )
cout <<
"warn r1 = " <<
r1 <<
", r3 = " << r3 << endl;
1347 double L=
sqrt((x3-x1)*(x3-x1)+(y3-y1)*(y3-y1));
1355 if( kap > 0 ) lam = -lam;
1360 double x0 = 0.5*( x1 + x3 ) + lam/
L * ( -y1 + y3 );
1361 double y0 = 0.5*( y1 + y3 ) + lam/
L * ( x1 - x3 );
1365 double num = ( y3 - y0 ) * ( x1 - x0 ) - ( x3 - x0 ) * ( y1 - y0 );
1366 double den = ( x1 - x0 ) * ( x3 - x0 ) + ( y1 - y0 ) * ( y3 - y0 );
1367 double tandip = kap * ( z3 - z1 ) / atan(
num / den );
1372 double dphi = atan( ( ( x1 - x0 ) * y0 - ( y1 - y0 ) * x0 )
1373 / ( ( x1 - x0 ) * x0 + ( y1 - y0 ) * y0 ) );
1376 double uz0 = z1 + tandip * dphi *
rho;
1384 if(kap>0) dca2=
rho-
sqrt((x0-x2)*(x0-x2)+(y0-y2)*(y0-y2));
1385 else dca2=
rho+
sqrt((-x0+x2)*(-x0+x2)+(-y0+y2)*(-y0+y2));
1396 xx = x2+(dca2*((x0-x2))/
sqrt((x0-x2)*(x0-x2)+(y0-y2)*(y0-y2)));
1397 yy = y2+(dca2*((y0-y2))/
sqrt((x0-x2)*(x0-x2)+(y0-y2)*(y0-y2)));
1400 xx = x2-(dca2*((x0-x2))/
sqrt((x0-x2)*(x0-x2)+(y0-y2)*(y0-y2)));
1401 yy = y2-(dca2*((y0-y2))/
sqrt((x0-x2)*(x0-x2)+(y0-y2)*(y0-y2)));
1406 double dphi2 = atan( ( ( xx - x0 ) * y0 - ( yy - y0 ) * x0 )
1407 / ( ( xx - x0 ) * x0 + ( yy - y0 ) * y0 ) );
1410 double uz2= uz0 - dphi2*tandip*
rho;
MonitorElement * meClSizeYNotOnTrack_fpix
MonitorElement * meClSizeNotOnTrack_fpix
MonitorElement * meClSizeXNotOnTrack_all
MonitorElement * meSubdetResidualX[3]
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
MonitorElement * meClSizeXOnTrack_bpix
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * meClSizeOnTrack_all
bool hasFilledProb() const
MonitorElement * meClSizeOnTrack_bpix
MonitorElement * meClChargeOnTrack_all
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator end(bool update=false) const
std::vector< MonitorElement * > meClChargeOnTrack_layers
MonitorElement * meNClustersNotOnTrack_all
bool isNonnull() const
Checks for non-null.
float clusterProbability(unsigned int flags=0) const
std::vector< MonitorElement * > meClSizeYNotOnTrack_diskps
edm::EDGetTokenT< std::vector< Trajectory > > tracksrcToken_
virtual LocalPoint localPosition(const MeasurementPoint &) const =0
MonitorElement * meNofTracks_
const LocalTrajectoryParameters & localParameters() const
int moduleName() const
module id (index in z)
friend struct const_iterator
MonitorElement * meClSizeYOnTrack_fpix
const_iterator end() const
last iterator over the map (read only)
std::string topFolderName_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * meClChargeNotOnTrack_fpix
std::vector< MonitorElement * > meClSizeXNotOnTrack_diskms
virtual void dqmBeginRun(const edm::Run &r, edm::EventSetup const &iSetup)
#define DEFINE_FWK_MODULE(type)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > meClSizeXOnTrack_layers
std::vector< MonitorElement * > meNClustersNotOnTrack_diskps
Geom::Phi< T > phi() const
MonitorElement * meHitProbability
std::vector< MonitorElement * > meClSizeYOnTrack_diskms
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
std::vector< MonitorElement * > meClSizeNotOnTrack_diskms
std::vector< MonitorElement * > meClPosLayersOnTrack
MonitorElement * meClSizeYNotOnTrack_bpix
std::vector< MonitorElement * > meClPosDisksmzOnTrack
MonitorElement * meClChargeNotOnTrack_all
std::vector< MonitorElement * > meClSizeOnTrack_layers
MonitorElement * meNofClustersOnTrack_
std::vector< MonitorElement * > meClPosDiskspzOnTrack
data_type const * const_iterator
std::vector< MonitorElement * > meClChargeNotOnTrack_diskps
key_type key() const
Accessor for product key.
MonitorElement * meSubdetResidualY[3]
std::vector< MonitorElement * > meClChargeOnTrack_diskms
MonitorElement * meClSizeYOnTrack_bpix
std::vector< MonitorElement * > meClPosDiskspzNotOnTrack
const Plane & surface() const
The nominal surface of the GeomDet.
SiPixelTrackResidualSource(const edm::ParameterSet &)
std::vector< MonitorElement * > meClPosLayersNotOnTrack
MonitorElement * meNClustersOnTrack_all
std::vector< MonitorElement * > meResidualXSummedLay
MonitorElement * meNofTracksInPixVol_
TrajectoryStateOnSurface innermostMeasurementState() const
MonitorElement * meClSizeYOnTrack_all
uint32_t rawId() const
get the raw id
std::vector< MonitorElement * > meClSizeXNotOnTrack_layers
Measurement2DPoint MeasurementPoint
Measurement points are two-dimensional by default.
MonitorElement * meClSizeNotOnTrack_bpix
std::vector< MonitorElement * > meClChargeOnTrack_diskps
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
MonitorElement * meClChargeOnTrack_fpix
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
std::vector< MonitorElement * > meResidualYSummedLay
bool setModuleFolder(const uint32_t &rawdetid=0, int type=0, bool isUpgrade=false)
Set folder name for a module or plaquette.
std::vector< MonitorElement * > meClSizeYNotOnTrack_diskms
void triplets(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double ptsig, double &dc, double &dz, double kap)
MonitorElement * meClSizeXOnTrack_all
MonitorElement * book1D(Args &&...args)
Tan< T >::type tan(const T &t)
Abs< T >::type abs(const T &t)
MonitorElement * meNClustersOnTrack_fpix
LocalVector momentum() const
Momentum vector in the local frame.
std::vector< MonitorElement * > meClPosDisksmzNotOnTrack
edm::EDGetTokenT< std::vector< reco::Track > > trackToken_
std::vector< MonitorElement * > meClSizeYOnTrack_layers
std::vector< MonitorElement * > meNClustersOnTrack_diskps
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > clustersrcToken_
std::shared_ptr< TrackingRecHit const > RecHitPointer
MonitorElement * meNClustersNotOnTrack_fpix
std::vector< MonitorElement * > meClSizeNotOnTrack_diskps
std::vector< MonitorElement * > meClSizeXOnTrack_diskps
unsigned int pxbLayer(const DetId &id) const
std::vector< MonitorElement * > meClSizeYNotOnTrack_layers
MonitorElement * meNClustersOnTrack_bpix
std::vector< MonitorElement * > meClSizeYOnTrack_diskps
FreeTrajectoryState initialFreeState() const
~SiPixelTrackResidualSource()
virtual TrackingRecHit const * hit() const
int ladderName() const
ladder id (index in phi)
std::vector< MonitorElement * > meClPosLayersLadVsModOnTrack
void setCurrentFolder(const std::string &fullpath)
std::map< uint32_t, SiPixelTrackResidualModule * > theSiPixelStructure
size_type size() const
map size
T const * product() const
MonitorElement * book2D(Args &&...args)
MonitorElement * meClSizeXNotOnTrack_bpix
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< MonitorElement * > meClChargeNotOnTrack_diskms
std::vector< MonitorElement * > meClSizeOnTrack_diskps
MonitorElement * meClSizeXNotOnTrack_fpix
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
int layerName() const
layer id
T const * product() const
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
double transverseCurvature() const
std::vector< MonitorElement * > meNClustersOnTrack_diskms
const_iterator find(id_type i, bool update=false) const
MonitorElement * meClChargeNotOnTrack_bpix
Pixel cluster – collection of neighboring pixels above threshold.
MonitorElement * meClSizeXOnTrack_fpix
MonitorElement * meClSizeNotOnTrack_all
edm::InputTag clustersrc_
std::vector< MonitorElement * > meNClustersNotOnTrack_diskms
std::vector< MonitorElement * > meClSizeXNotOnTrack_diskps
int diskName() const
disk id
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
std::vector< MonitorElement * > meClChargeNotOnTrack_layers
MonitorElement * meNClustersNotOnTrack_bpix
const_iterator begin() const
first iterator over the map (read only)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< MonitorElement * > meNClustersOnTrack_layers
volatile std::atomic< bool > shutdown_flag false
std::vector< MonitorElement * > meClSizeNotOnTrack_layers
MonitorElement * meClChargeOnTrack_bpix
MonitorElement * meClSizeOnTrack_fpix
std::vector< MonitorElement * > meNClustersNotOnTrack_layers
Detector det() const
get the detector field from this detid
std::vector< MonitorElement * > meClSizeOnTrack_diskms
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meNofClustersNotOnTrack_
MonitorElement * meClSizeYNotOnTrack_all
edm::EDGetTokenT< TrajTrackAssociationCollection > trackAssociationToken_
int layerName() const
layer id
Power< A, B >::type pow(const A &a, const B &b)
std::vector< MonitorElement * > meClSizeXOnTrack_diskms
const_iterator begin(bool update=false) const
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection
virtual const TrackerGeomDet * idToDet(DetId) const