23 validator(iConfig, consumesCollector())
38 if (
ApplyVertexCut_ && (!vertices.isValid() || vertices->size() == 0))
return;
40 std::vector<TrackerValidationVariables::AVTrackStruct> vtracks;
49 for (
auto& track : vtracks) {
50 for (
auto& it : track.hits) {
51 auto id =
DetId(it.rawDetId);
52 auto isPixel =
id.subdetId() == 1 ||
id.subdetId() == 2;
T getParameter(std::string const &) const
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...