Go to the documentation of this file.
41 #ifndef HITFIT_LEPJETS_EVENT_H
42 #define HITFIT_LEPJETS_EVENT_H
93 const int&
evnum()
const;
252 void smear(CLHEP::HepRandomEngine& engine,
bool smear_dir =
false);
284 int cut_leps(
double pt_cut,
double eta_cut);
296 int cut_jets(
double pt_cut,
double eta_cut);
317 std::ostream&
dump(std::ostream&
s,
bool full =
false)
const;
337 std::vector<Lepjets_Event_Lep>
_leps;
342 std::vector<Lepjets_Event_Jet>
_jets;
391 #endif // not HITFIT_LEPJETS_EVENT_H
std::vector< int > jet_types() const
Return the jet types in the event.
CLHEP::HepLorentzVector Fourvec
Typedef for a HepLorentzVector.
std::string jet_permutation() const
Return a string representing the jet permutation. The following notation is used for each type of jet...
const int & runnum() const
Return a constant reference to the run number.
void trimjets(std::vector< Lepjets_Event_Jet >::size_type n)
Remove all but the first n jets.
Lepjets_Event_Lep & lep(std::vector< Lepjets_Event_Lep >::size_type i)
Return a reference to lepton at index position i.
const int & evnum() const
Return a constant reference to the event number.
Lepjets_Event(int runnum, int evnum)
Constructor.
std::vector< Lepjets_Event_Lep > _leps
Fourvec & met()
Return a reference to the missing transverse energy.
std::vector< Lepjets_Event_Jet >::size_type njets() const
Return the number of jets in the event.
Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list o...
bool isMC() const
Return the Monte Carlo flag.
A class to represent a jet in an instance of Lepjets_Event class. The class is derived from the Lepje...
Fourvec sum(int type) const
Return the sum of all objects' four-momentum which have a particular type.
int cut_jets(double pt_cut, double eta_cut)
Remove jets which fail transverse momentum and pseudorapidity cut.
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream.
void add_jet(const Lepjets_Event_Jet &jet)
Add a new jet to the event.
int cut_leps(double pt_cut, double eta_cut)
Remove leptons which fail transverse momentum and pseudorapidity cut.
bool set_jet_types(const std::vector< int > &)
Set the jet types in the event.
std::vector< Lepjets_Event_Jet > _jets
std::ostream & dump(std::ostream &s, bool full=false) const
Print the content of this object.
void smear(CLHEP::HepRandomEngine &engine, bool smear_dir=false)
Smear the objects in the event according to their resolutions.
Lepjets_Event_Jet & jet(std::vector< Lepjets_Event_Jet >::size_type i)
Return a reference to jet at index position i.
void sort()
Sort objects in the event according to their transverse momentum .
double & dlb()
Return a reference to the value of low-bias (LB) discriminant (Irrelevant for non-D0 experiment).
double zvertex() const
Return the value of z-vertex.
double & dnn()
Return a reference to the value of neural network (NN) discriminant (Irrelevant for non-D0 experiment...
Resolution & kt_res()
Return a reference to the resolution.
Fourvec kt() const
Return the sum of all objects' four-momentum and missing transverse energy.
void setMC(bool isMC)
Set the Monte Carlo flag.
std::vector< Lepjets_Event_Lep >::size_type nleps() const
Return the number of leptons in the event.
Represent a jet in an instance of Lepjets_Event class.
Represent a lepton in an instance of Lepjets_Event class.
void add_lep(const Lepjets_Event_Lep &lep)
Add a new lepton to the event.
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information: