18 validator(iConfig, consumesCollector())
27 if (!vertices.
isValid() || vertices->size() == 0)
return;
30 std::vector<TrackerValidationVariables::AVTrackStruct> vtracks;
34 return track.
pt() > 0.75
38 for (
auto& track : vtracks) {
39 for (
auto& it : track.hits) {
40 auto id =
DetId(it.rawDetId);
41 auto isPixel =
id.subdetId() == 1 ||
id.subdetId() == 2;
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double dxyError() const
error on dxy
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &)
double pt() const
track transverse momentum
Abs< T >::type abs(const T &t)
SiPixelPhase1TrackResiduals(const edm::ParameterSet &conf)
TrackerValidationVariables validator
void fillTrackQuantities(const edm::Event &, const edm::EventSetup &, std::vector< AVTrackStruct > &v_avtrackout)
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
std::vector< HistogramManager > histo
bool isPixel(HitType hitType)
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...