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