#include <JetVertexMain.h>
|
double | DeltaR (double eta1, double eta2, double phi1, double phi2) |
|
double | Track_Pt (double px, double py) |
|
Definition at line 13 of file JetVertexMain.h.
◆ JetVertexMain()
◆ ~JetVertexMain()
JetVertexMain::~JetVertexMain |
( |
| ) |
|
|
inline |
◆ DeltaR()
double JetVertexMain::DeltaR |
( |
double |
eta1, |
|
|
double |
eta2, |
|
|
double |
phi1, |
|
|
double |
phi2 |
|
) |
| |
|
private |
◆ Main()
Definition at line 21 of file JetVertexMain.cc.
27 double jet_et =
jet.et();
28 double jet_phi =
jet.phi();
29 double jet_eta =
jet.eta();
32 double Pt_jets_X = 0.;
33 double Pt_jets_Y = 0.;
34 double Pt_jets_X_tot = 0.;
35 double Pt_jets_Y_tot = 0.;
37 TrackCollection::const_iterator
track =
tracks->begin();
41 double Vertex_Z =
track->vz();
42 double Vertex_Z_Error =
track->dzError();
43 double track_eta =
track->eta();
44 double track_phi =
track->phi();
47 double DeltaZ = Vertex_Z - signal_vert_Z;
48 double DeltaZ_Error =
sqrt((Vertex_Z_Error * Vertex_Z_Error) + (signal_vert_z_error * signal_vert_z_error));
49 Pt_jets_X_tot +=
track->px();
50 Pt_jets_Y_tot +=
track->py();
57 Pt_jets_X +=
track->px();
58 Pt_jets_Y +=
track->py();
68 if (
Track_Pt(Pt_jets_X_tot, Pt_jets_Y_tot) != 0)
71 std::cout <<
"[Jets] JetVertexAssociation: Warning! problems for Algo = 2: possible division by zero .."
75 std::cout <<
"[Jets] JetVertexAssociation: Warning! Algo = " <<
Algo <<
" not found; using Algo = 1" << std::endl;
References gather_cfg::cout, electronAnalyzer_cfi::DeltaR, HLT_FULL_cff::DeltaZ, PDWG_TauSkim_cff::discriminator, metsig::jet, pfMETsysShiftCorrections_cfi::parameter, mathSSE::sqrt(), remoteMonitoring_LED_IterMethod_cfg::threshold, HLT_FULL_cff::track, PDWG_EXOHSCP_cff::tracks, and common_cff::Var().
Referenced by cms::JetVertexAssociation::produce().
◆ Track_Pt()
double JetVertexMain::Track_Pt |
( |
double |
px, |
|
|
double |
py |
|
) |
| |
|
private |
◆ Algo
◆ cone_size
double JetVertexMain::cone_size |
|
private |
◆ cutDeltaZ
double JetVertexMain::cutDeltaZ |
|
private |
◆ cutSigmaZ
double JetVertexMain::cutSigmaZ |
|
private |
◆ cutType
std::string JetVertexMain::cutType |
|
private |
◆ discriminator
bool JetVertexMain::discriminator |
|
private |
◆ threshold
double JetVertexMain::threshold |
|
private |
double DeltaR(double eta1, double eta2, double phi1, double phi2)
double Track_Pt(double px, double py)