ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
Functions
plot_dilep_angles.cxx File Reference
#include "ra4/plot_dilep_angles.hpp"
#include <cmath>
#include "TError.h"
#include "TVector2.h"
#include "core/plot_maker.hpp"
#include "core/plot_opt.hpp"
#include "core/palette.hpp"
#include "core/hist1d.hpp"
#include "core/event_scan.hpp"

Go to the source code of this file.

Functions

int main ()
 
bool IsGoodMuon (const Baby &b, size_t imu)
 
bool IsGoodElectron (const Baby &b, size_t iel)
 
bool IsGoodTrack (const Baby &b, size_t itk)
 
bool IsGoodJet (const Baby &b, size_t ijet)
 
void GetAngles (const Baby &b, double &phi1, double &eta1, double &phi2, double &eta2)
 
NamedFunc::ScalarType MinDeltaPhiLepMet (const Baby &b)
 
NamedFunc::ScalarType MaxDeltaPhiLepMet (const Baby &b)
 
NamedFunc::ScalarType MinDeltaPhiLepJet (const Baby &b)
 
NamedFunc::ScalarType MaxDeltaPhiLepJet (const Baby &b)
 
NamedFunc::ScalarType MinDeltaPhiMetJet (const Baby &b)
 
NamedFunc::ScalarType MaxDeltaPhiMetJet (const Baby &b)
 
NamedFunc::ScalarType MinDeltaRLepJet (const Baby &b)
 
NamedFunc::ScalarType MaxDeltaRLepJet (const Baby &b)
 

Function Documentation

void GetAngles ( const Baby b,
double &  phi1,
double &  eta1,
double &  phi2,
double &  eta2 
)
bool IsGoodElectron ( const Baby b,
size_t  iel 
)

Definition at line 133 of file plot_dilep_angles.cxx.

References Baby::els_miniso(), Baby::els_pt(), Baby::els_sceta(), and Baby::els_sigid().

Referenced by GetAngles().

bool IsGoodJet ( const Baby b,
size_t  ijet 
)
bool IsGoodMuon ( const Baby b,
size_t  imu 
)

Definition at line 124 of file plot_dilep_angles.cxx.

References Baby::mus_eta(), Baby::mus_miniso(), Baby::mus_pt(), and Baby::mus_sigid().

Referenced by GetAngles().

bool IsGoodTrack ( const Baby b,
size_t  itk 
)
int main ( )
NamedFunc::ScalarType MaxDeltaPhiLepJet ( const Baby b)

Definition at line 335 of file plot_dilep_angles.cxx.

References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().

Referenced by main().

NamedFunc::ScalarType MaxDeltaPhiLepMet ( const Baby b)

Definition at line 297 of file plot_dilep_angles.cxx.

References GetAngles(), and Baby::met_phi().

Referenced by main().

NamedFunc::ScalarType MaxDeltaPhiMetJet ( const Baby b)

Definition at line 370 of file plot_dilep_angles.cxx.

References IsGoodJet(), Baby::jets_phi(), Baby::jets_pt(), and Baby::met_phi().

Referenced by main().

NamedFunc::ScalarType MaxDeltaRLepJet ( const Baby b)

Definition at line 405 of file plot_dilep_angles.cxx.

References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().

Referenced by main().

NamedFunc::ScalarType MinDeltaPhiLepJet ( const Baby b)

Definition at line 312 of file plot_dilep_angles.cxx.

References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().

Referenced by main().

NamedFunc::ScalarType MinDeltaPhiLepMet ( const Baby b)

Definition at line 282 of file plot_dilep_angles.cxx.

References GetAngles(), and Baby::met_phi().

Referenced by main().

NamedFunc::ScalarType MinDeltaPhiMetJet ( const Baby b)

Definition at line 358 of file plot_dilep_angles.cxx.

References IsGoodJet(), Baby::jets_phi(), Baby::jets_pt(), and Baby::met_phi().

Referenced by main().

NamedFunc::ScalarType MinDeltaRLepJet ( const Baby b)

Definition at line 382 of file plot_dilep_angles.cxx.

References GetAngles(), IsGoodJet(), Baby::jets_phi(), and Baby::jets_pt().

Referenced by main().