22 theDepositLabel(par.getUntrackedParameter<
string>(
"DepositLabel")),
23 theDiff_r(par.getParameter<double>(
"Diff_r")),
24 theDiff_z(par.getParameter<double>(
"Diff_z")),
25 theDR_Max(par.getParameter<double>(
"DR_Max")),
26 theDR_Veto(par.getParameter<double>(
"DR_Veto")),
27 theBeamlineOption(par.getParameter<
string>(
"BeamlineOption")),
28 theBeamSpotToken(iC.mayConsume<
BeamSpot>(par.getParameter<
edm::
InputTag>(
"BeamSpotLabel"))),
29 theNHits_Min(par.getParameter<unsigned
int>(
"NHits_Min")),
30 theChi2Ndof_Max(par.getParameter<double>(
"Chi2Ndof_Max")),
31 theChi2Prob_Min(par.getParameter<double>(
"Chi2Prob_Min")),
32 thePt_Min(par.getParameter<double>(
"Pt_Min")),
33 thePropagateTracksToRadius(par.getParameter<
bool>(
"PropagateTracksToRadius")),
34 theReferenceRadius(par.getParameter<double>(
"ReferenceRadius")),
35 theVetoLeadingTrack(par.getParameter<
bool>(
"VetoLeadingTrack")),
36 thePtVeto_Min(par.getParameter<double>(
"PtVeto_Min")),
37 theDR_VetoPt(par.getParameter<double>(
"DR_VetoPt"))
61 double tkDxy = tk.
dxy();
62 double s2D = fabs(tk.
dxy()) < psRadius ?
sqrt(psRadius * psRadius - tkDxy * tkDxy) : 0;
86 LogTrace(
metname) <<
"***** TRACK COLLECTION SIZE: " << tracksH->size();
88 double vtx_z =
muon.vz();
101 LogTrace(
metname) <<
"Extracted beam point at " << beamPoint << std::endl;
117 LogTrace(
metname) <<
"all tracks: " << tracksH->size() <<
" selected: " << sel_tracks.size();
121 TrackSelector::result_type::const_iterator tkI = sel_tracks.begin();
122 for (; tkI != sel_tracks.end(); ++tkI) {
127 double tkDr = (muonDir - dirTrk).
deltaR;
128 double tkPt = tk->
pt();
136 LogTrace(
metname) <<
" Set track veto the leading track with pt " <<
maxPt <<
" in direction (eta,phi) "
137 << maxPtDir.
eta() <<
", " << maxPtDir.
phi();