Classes | |
class | Base_Constrainer |
Base class for constrained fitter. More... | |
class | Base_Constrainer_Args |
Hold on to parameters for the Base_Constrainer class. More... | |
class | Chisq_Constrainer |
Minimize a subject to a set of constraints. Based on the SQUAW algorithm. More... | |
class | Chisq_Constrainer_Args |
Hold on to parameters for the Chisq_Constrainer class. More... | |
class | Constrained_Top |
Do a constrained kinematic fitting for a event. More... | |
class | Constrained_Top_Args |
Hold on to parameters for the Constrained_Top class. More... | |
class | Constrained_Z |
Do a constrained kinematic fitting for a event. More... | |
class | Constrained_Z_Args |
Hold on to parameters for the Constrained_Z class. More... | |
class | Constraint |
Represent a mass constraint equation. Mass constraints come in two varieties, either saying that the sum of a set of labels should equal a constant: More... | |
class | Constraint_Calculator |
Abstract base class for evaluating constraints. Users derive from this class and implement the eval() method. More... | |
class | Constraint_Intermed |
Abstract base classes for describing one side of a mass constraint. More... | |
class | Constraint_Intermed_Constant |
Concrete class for one side of mass constraint equation of the type: . More... | |
class | Constraint_Intermed_Labels |
Concrete class for one side of mass constraint equation of the type: . More... | |
class | Defaults |
Define an interface for getting parameter settings. More... | |
class | Defaults_Text |
A lightweight implementation of the Defaults interface that uses simple ASCII text files. More... | |
class | Defaults_Textrep |
The internal representation for a Defaults_Text object. More... | |
class | EtaDepResElement |
Represent a resolution and an range in which the resolution is valid. More... | |
class | EtaDepResolution |
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution as a function of . It does not assume symmetry between and . The interpretation of as physics or detector is left to users's implementation. More... | |
class | FE_Obj |
Represent a single object in a Fourvec_Event, this is just a dumb data container. Each object in a Fourvec_Event has the following attributes: More... | |
class | Fit_Result |
Hold the result of one kinematic fit. More... | |
class | Fit_Result_Vec |
Holds pointers to a set of Fit_Result objects, resulting from different jet permutation with some consistent selection. The results are ordered by increasing values. A maximum length for the list of Fit_Result objects may be specified; when new results, those with the largest value fall off the end. More... | |
class | Fit_Results |
Holds set(s) of results from more than one kinematic fits. More... | |
class | Fourvec_Constrainer |
Do a kinematic fit for a set of four-momenta, given a set of mass constraints. More... | |
class | Fourvec_Constrainer_Args |
Hold on to parameters for the Fourvec_Constrainer class. More... | |
class | Fourvec_Constraint_Calculator |
Concrete realization of the Constraint_Calculator class. Evaluate constraints at the point described by x and y (well-measured and poorly-measured variables, respectively). The results should be stored in F. Bx and By should be set to the gradients of F with respect to x and y, respectively. More... | |
class | Fourvec_Event |
Represent an event for kinematic fitting as a collection of four-momenta. Each object is represented as an instance of FE_Obj. There may be an object for a neutrino. If that is the case, it is always at the end of the object list. It is not included in the count returned by nobjs(). But is is included in nobjs_all(). More... | |
class | Gentop_Args |
Hold on to parameters for the toy event generator. More... | |
class | JetTranslatorBase |
Template class of function object to translate jet physics object to HitFit's Lepjets_Event_Jet object. Users need to write an implementation of a template specialization of this class for their jet physics object class. Then users combine this header file and their implementation for their analysis code. With this approach, it is possible to use HitFit for different jet physics object class in different experiments. More... | |
class | Lepjets_Event |
Represent a simple event consisting of lepton(s) and jet(s). An instance of this class holds a list of leptons (as represented by the Lepjets_Event_Lep class) and jets (as represented by Lepjets_Event_Jet class). Also recorded are: More... | |
class | Lepjets_Event_Jet |
A class to represent a jet in an instance of Lepjets_Event class. The class is derived from the Lepjets_Event_Lep class. In addition to the information stored in Lepjets_Event_Lep class, this class holds the following information: More... | |
class | Lepjets_Event_Lep |
Represent a lepton in an instance of Lepjets_Event class. This class hold the following information: More... | |
class | LeptonTranslatorBase |
Template class of function object to translate lepton physics object to HitFit's Lepjets_Event_Lep object. Users need to write an implementation of a template specialization of this class for their lepton physics object class. Then users combine this header file and their implementation for their analysis code. With this approach, it is possible to use HitFit for different lepton physics object class in different experiments. More... | |
class | METTranslatorBase |
Template class of function object to translate missing transverse energy physics object to HitFit's Fourvec object. Users need to write an implementation of a template specialization of this class for their missing transverse energy physics object class, Then users combine this header file and their implementation for their analysis code. With this approach, it is possible to use HitFit for different missing transverse energy physics object class indifferent experiments. More... | |
class | Objpair |
Represent a pair of objects in Pair_Table. More... | |
class | Pair_Table |
A lookup table to speed up constraint evaluation using Fourvec_Constrainer. More... | |
class | Resolution |
Calculate and represent resolution for a physical quantity. More... | |
class | Row_Vector |
Row-vector class. CLHEP doesn't have a row-vector class, so HitFit uses its own. This is only a simple wrapper around Matrix that tries to constrain the shape to a row vector. It will raise an assertion if you try to assign to it something that isn't a row vector. More... | |
class | RunHitFit |
Template class of experiment-independent interface to HitFit. This class is intended to be used inside the programming environment of a specific experiment, where each type of physics objects has its own class/type. For using HitFit with generic four-vector classes, user can't use this class and have to use the Top_Fit class directly. The reason is: this class is designed assuming electron and muon are represented by different object type, a situation which is guaranteed to happen in any experiments. The class contains some static integer constants to limit the maximum amount of jets in an event before fitting. See the description of those constants for details. The numbers of permutations for and as a function of the number of jets in the event for a few values of are. More... | |
class | Top_Decaykin |
A class to hold functions to calculate kinematic quantities of interest in events. This class has no state, only static member functions. More... | |
class | Top_Fit |
Handle and fit jet permutations of an event. This is the primary interface between user's Lepjets_Event and HitFit kinematic fitting algorithm. More... | |
class | Top_Fit_Args |
Hold on to parameters for the Top_Fit class. More... | |
class | Vector_Resolution |
Calculate and represent resolution for a vector of , pseudorapidity , and azimuthal angle . An instance of this class holds three Resolution objects, one each for , , and . In addition, we have a flag to indicate if the momentum resolution is in or . This flag is set by appending [/et] at the end of the string. More... | |
Typedefs | |
typedef CLHEP::HepVector | Column_Vector |
typedef CLHEP::HepDiagMatrix | Diagonal_Matrix |
typedef CLHEP::HepLorentzVector | Fourvec |
Typedef for a HepLorentzVector. More... | |
typedef CLHEP::HepMatrix | Matrix |
typedef CLHEP::Hep3Vector | Threevec |
Typedef for a Hep3Vector. More... | |
Enumerations | |
enum | Jet_Labels { isr_label = 0, lepb_label = 11, hadb_label = 12, hadw1_label = 13, hadw2_label = 14, higgs_label = 15, unknown_label = 20 } |
enum | Kt_Offsets { x_offs = 0, y_offs = 1 } |
enum | Lepton_Labels { lepton_label = 1, electron_label = 2, muon_label = 3 } |
enum | Lists { all_list = 0, noperm_list = 1, semicorrect_list = 2, limited_isr_list = 3, topfour_list = 4, btag_list = 5, htag_list = 6, n_lists = 7 } |
enum | Offsets { p_offs = 0, phi_offs = 1, eta_offs = 2 } |
enum | Unmeasured_Variables { nu_z = 1 } |
Functions | |
void | adjust_e_for_mass (Fourvec &v, double mass) |
Adjust the energy component of four-vector v (leaving the three-vector part unchanged) so that the four-vector has mass as specified in the argument. More... | |
void | adjust_p_for_mass (Fourvec &v, double mass) |
Adjust the three-vector part of v, leaving the energy unchanged,. More... | |
void | clear (CLHEP::HepGenMatrix &m) |
Helper function: Reset all elements of a matrix to 0. More... | |
double | delta_r (const Fourvec &a, const Fourvec &b) |
Find the distance between two four-vectors in the two-dimensional space . More... | |
double | deteta (const Fourvec &v, double zvert) |
NOT USED ANYMORE: Get the detector (D0-specific), requires z-vertex. More... | |
double | eta_to_theta (double eta) |
Convert pseudorapidity to polar angle. More... | |
Lepjets_Event | gentop (const Gentop_Args &args, CLHEP::HepRandomEngine &engine) |
Generate a event. More... | |
Lepjets_Event | gentth (const Gentop_Args &args, CLHEP::HepRandomEngine &engine) |
Generate a event. More... | |
char | jetTypeChar (int type) |
Helper function: Translate jet type code from integer to char. The following notation is used for each type of jet: More... | |
std::string | jetTypeString (int type) |
Helper function: Translate jet type code from integer to char. The following notation is used for each type of jet: More... | |
template<class T > | |
std::string | jetTypeString (std::vector< T > jet_types) |
Helper function: Translate jet type code from a list of numbers to a string. More... | |
unique_ptr< Constraint_Intermed > | make_constraint_intermed (string s) |
std::unique_ptr< Constraint_Intermed > | make_constraint_intermed (std::string s) |
bool | operator< (const EtaDepResElement &a, const EtaDepResElement &b) |
Comparison operator, compare two EtaDepResElement instances based on their respective valid ranges. More... | |
bool | operator< (const Fit_Result &a, const Fit_Result &b) |
Sort fit results based on their . More... | |
std::ostream & | operator<< (std::ostream &s, const Objpair &o) |
Output stream operator, print the content of this Objpair to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Fit_Results &res) |
Output stream operator, print the content of this Fit_Results to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const EtaDepResElement &e) |
std::ostream & | operator<< (std::ostream &s, const Pair_Table &p) |
Output stream operator, print the content of this Pair_Table to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Constraint &c) |
Output stream operator, print the content of this Constraint to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Fit_Result_Vec &resvec) |
Output stream operator, print the content of this Fit_Result_Vec to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const FE_Obj &o) |
Output stream operator, print the content of this FE_Obj object to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Lepjets_Event_Lep &l) |
Output stream operator, print the content of this Lepjets_Event_Lep to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Base_Constrainer &f) |
Output stream operator, print the content of this Base_Constrainer to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Fit_Result &res) |
Output stream operator, print the content of this Fit_Result to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Lepjets_Event_Jet &l) |
Output stream operator, print the content of this Lepjets_Event_Jet to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Resolution &r) |
Output stream operator, print the content of this Resolution to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Fourvec_Event &fe) |
Output stream operator, print the content of this Fourvec_Event object to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Fourvec_Constrainer &c) |
Output stream operator, print the content of this Fourvec_Constrainer to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Constrained_Z &cz) |
Output stream operator, print the content of this Constrained_Z to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Constrained_Top &ct) |
Output stream operator, print the content of this Constrained_Top object to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const hitfit::Constraint_Intermed &ci) |
Output stream operator, print the content of this Constraint_Intermed to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Vector_Resolution &r) |
Output stream operator, print the content of this Vector_Resolution object to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Lepjets_Event &ev) |
Output stream operator, print the content of this Lepjets_Event to an output stream. More... | |
std::ostream & | operator<< (std::ostream &s, const Defaults_Text &def) |
std::ostream & | operator<< (std::ostream &s, const Top_Fit &fitter) |
Output stream operator, print the content of this Top_Fit object to an output stream. More... | |
double | phidiff (double phi) |
Normalized difference in azimuthal angles to a range between . More... | |
void | roteta (Fourvec &v, double eta) |
Rotate four-vector v through a polar angle such that the four-vector pseudorapidity changes by a desired value. More... | |
void | rottheta (Fourvec &v, double theta) |
Rotate four-vector v through a polar angle. More... | |
double | scalar (const CLHEP::HepGenMatrix &m) |
Return the matrix as a scalar. Raise an assertion if the matris is not . More... | |
double | theta_to_eta (double theta) |
Convert polar angle to pseudorapidity. More... | |
Variables | |
const int | nu_label = -1 |
typedef CLHEP::HepVector hitfit::Column_Vector |
typedef CLHEP::HepDiagMatrix hitfit::Diagonal_Matrix |
typedef CLHEP::HepLorentzVector hitfit::Fourvec |
typedef CLHEP::HepMatrix hitfit::Matrix |
typedef CLHEP::Hep3Vector hitfit::Threevec |
enum hitfit::Jet_Labels |
Possible types of jet in an instance of Lepjets_Event class.
Enumerator | |
---|---|
isr_label | |
lepb_label | |
hadb_label | |
hadw1_label | |
hadw2_label | |
higgs_label | |
unknown_label |
Definition at line 54 of file Lepjets_Event_Jet.h.
enum hitfit::Kt_Offsets |
Offset indices for the components of missing transverse energy (or ) variables.
Enumerator | |
---|---|
x_offs | |
y_offs |
Definition at line 133 of file Fourvec_Constrainer.cc.
Possible types of lepton in an instance of Lepjets_Event class.
Enumerator | |
---|---|
lepton_label | |
electron_label | |
muon_label |
Definition at line 51 of file Lepjets_Event_Lep.h.
enum hitfit::Lists |
Indices for the various results lists we store in Fit_Results.
Enumerator | |
---|---|
all_list | |
noperm_list | |
semicorrect_list | |
limited_isr_list | |
topfour_list | |
btag_list | |
htag_list | |
n_lists |
Definition at line 53 of file Top_Fit.h.
enum hitfit::Offsets |
Offset indices for the component of four-momentum variables.
Enumerator | |
---|---|
p_offs | |
phi_offs | |
eta_offs |
Definition at line 127 of file Fourvec_Constrainer.cc.
If there is a neutrino, then it is at index 1 of the vector of poorly-measured variables.
Enumerator | |
---|---|
nu_z |
Definition at line 143 of file Fourvec_Constrainer.cc.
void hitfit::adjust_e_for_mass | ( | Fourvec & | v, |
double | mass | ||
) |
Adjust the energy component of four-vector v (leaving the three-vector part unchanged) so that the four-vector has mass as specified in the argument.
v | The four-vector to scale. |
mass | The desired-mass of the four-vector. |
Definition at line 119 of file fourvec.cc.
References EgHLTOffHistBins_cfi::mass, mathSSE::sqrt(), and findQualityFiles::v.
Referenced by hitfit::Top_Fit::fit_one_perm().
void hitfit::adjust_p_for_mass | ( | Fourvec & | v, |
double | mass | ||
) |
Adjust the three-vector part of v, leaving the energy unchanged,.
so that the four-vector has mass as specified in the argument.
v | The four-vector to scale. |
mass | The desired mass of the four-vector. |
Definition at line 95 of file fourvec.cc.
References EgHLTOffHistBins_cfi::mass, mathSSE::sqrt(), and findQualityFiles::v.
void hitfit::clear | ( | CLHEP::HepGenMatrix & | m | ) |
Helper function: Reset all elements of a matrix to 0.
m | The matrix to reset. |
Definition at line 151 of file matutil.cc.
References mps_fire::i, dqmiolumiharvest::j, and visualization-live-secondInstance_cfg::m.
Find the distance between two four-vectors in the two-dimensional space .
Definition at line 238 of file fourvec.cc.
References a, b, phidiff(), and mathSSE::sqrt().
Referenced by HGCalCLUEAlgoT< TILE >::calculateDistanceToHigher(), HGCalCLUEAlgoT< TILE >::calculateLocalDensity(), TrackingMaterialPlotter::fill_gradient(), DD4hep_TrackingMaterialPlotter::fill_gradient(), DD4hep_ListGroups::fillGradient(), ListGroups::fillGradient(), HGCalCLUEAlgoT< TILE >::findAndAssignClusters(), and HGCalCLUEAlgoT< TILE >::makeClusters().
double hitfit::deteta | ( | const Fourvec & | v, |
double | zvert | ||
) |
NOT USED ANYMORE: Get the detector (D0-specific), requires z-vertex.
v | The four-vector on which to operate. |
zvert | z-vertex of the event. |
Definition at line 205 of file fourvec.cc.
References theta_to_eta(), and findQualityFiles::v.
Referenced by HcalNumberingFromPS::unitID().
double hitfit::eta_to_theta | ( | double | eta | ) |
Convert pseudorapidity to polar angle.
eta | The value of pseudorapidity to convert. |
Definition at line 177 of file fourvec.cc.
References PVValHelper::eta, and JetChargeProducer_cfi::exp.
Referenced by roteta().
Lepjets_Event hitfit::gentop | ( | const Gentop_Args & | args, |
CLHEP::HepRandomEngine & | engine | ||
) |
Generate a event.
args | The parameter settings for this event. |
engine | The underlying random number generator. |
Definition at line 513 of file gentop.cc.
References writedatasetfile::args, PA_ZEESkim_cff::decay, electron_label, makeMEIFBenchmarkPlots::ev, hadb_label, hadw1_label, hadw2_label, lepb_label, muon_label, and AlCaHLTBitMon_ParallelJobs::p.
Lepjets_Event hitfit::gentth | ( | const Gentop_Args & | args, |
CLHEP::HepRandomEngine & | engine | ||
) |
Generate a event.
args | The parameter settings for this event. |
engine | The underlying random number generator. |
Definition at line 587 of file gentop.cc.
References writedatasetfile::args, PA_ZEESkim_cff::decay, electron_label, makeMEIFBenchmarkPlots::ev, hadb_label, hadw1_label, hadw2_label, higgs_label, lepb_label, and muon_label.
char hitfit::jetTypeChar | ( | int | type | ) |
Helper function: Translate jet type code from integer to char. The following notation is used for each type of jet:
type | The jet type code |
Definition at line 224 of file Lepjets_Event_Jet.cc.
References hadb_label, hadw1_label, hadw2_label, higgs_label, isr_label, dqmiolumiharvest::j, lepb_label, and unknown_label.
Referenced by jetTypeString().
std::string hitfit::jetTypeString | ( | int | type | ) |
Helper function: Translate jet type code from integer to char. The following notation is used for each type of jet:
type | The jet type code |
Definition at line 257 of file Lepjets_Event_Jet.cc.
References hadb_label, hadw1_label, hadw2_label, higgs_label, isr_label, dqmiolumiharvest::j, lepb_label, AlCaHLTBitMon_QueryRunRegistry::string, and unknown_label.
Referenced by hitfit::Lepjets_Event::jet_permutation().
std::string hitfit::jetTypeString | ( | std::vector< T > | jet_types | ) |
Helper function: Translate jet type code from a list of numbers to a string.
jet_types | The jet type codes in vector form. |
Definition at line 248 of file Lepjets_Event_Jet.h.
References dqmiolumiharvest::j, jetTypeChar(), and runTheMatrix::ret.
unique_ptr<Constraint_Intermed> hitfit::make_constraint_intermed | ( | string | s | ) |
Definition at line 284 of file Constraint_Intermed.cc.
References mps_fire::i, SummaryClient_cfi::labels, and alignCSCRings::s.
std::unique_ptr<Constraint_Intermed> hitfit::make_constraint_intermed | ( | std::string | s | ) |
Helper function to parse input string s and construct the appropriate Constraint_Intermed instance. Returns null if the input string cannot be interpreted as a mass constraint.
The string should be either a numeric constant like
80.4
or a list of integers in parenthesis like
(1 2 4)
Leading spaces are ignored, as is text in a leading <> construction.
s | The string to parse which contains information about the mass constraint. |
Referenced by hitfit::Constraint::Constraint().
bool hitfit::operator< | ( | const EtaDepResElement & | a, |
const EtaDepResElement & | b | ||
) |
Comparison operator, compare two EtaDepResElement instances based on their respective valid ranges.
a | The first instance of EtaDepResElement to be compared. |
b | The second instance of EtaDepResElement to be compared. |
Definition at line 79 of file EtaDepResElement.cc.
bool hitfit::operator< | ( | const Fit_Result & | a, |
const Fit_Result & | b | ||
) |
Sort fit results based on their .
a | The first instance of Fit_Result to compare. |
b | The second instance of Fit_Result to compare. |
Definition at line 174 of file Fit_Result.cc.
References a, funct::abs(), and b.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Objpair & | o | ||
) |
Output stream operator, print the content of this Objpair to an output stream.
s | The stream to which to write. |
o | The instance of Objpair to be printed. |
Definition at line 74 of file Objpair.cc.
References dqmdumpme::k, EcalTangentSkim_cfg::o, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Fit_Results & | res | ||
) |
Output stream operator, print the content of this Fit_Results to an output stream.
s | The output stream to which to write. |
res | The instance Fit_Results to be printed. |
Definition at line 104 of file Fit_Results.cc.
References mps_fire::i, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const EtaDepResElement & | e | ||
) |
s | The output stream to write to. |
e | The instance of EtaDepResElement to be printed. |
Definition at line 110 of file EtaDepResElement.cc.
References MillePedeFileConverter_cfg::e, and alignCSCRings::s.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const Pair_Table & | p | ||
) |
Output stream operator, print the content of this Pair_Table to an output stream.
s | The stream to which to write. |
p | The instance of Pair_Table to be printed. |
Definition at line 115 of file Pair_Table.cc.
References mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Constraint & | c | ||
) |
Output stream operator, print the content of this Constraint to an output stream.
s | The stream to which to write. |
c | The instance of Constraint to be printed. |
Definition at line 149 of file Constraint.cc.
References HltBtagPostValidation_cff::c, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Fit_Result_Vec & | resvec | ||
) |
Output stream operator, print the content of this Fit_Result_Vec to an output stream.
s | The output stream to which to write. |
resvec | The instance of Fit_Result_Vec to be printed. |
Definition at line 159 of file Fit_Result_Vec.cc.
References hitfit::Fit_Result_Vec::_v, mps_fire::i, alignCSCRings::s, and trackerHitRTTI::vector.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const FE_Obj & | o | ||
) |
Output stream operator, print the content of this FE_Obj object to an output stream.
s | The output stream to which to write. |
o | The instance of FE_Obj to be printed. |
Definition at line 80 of file Fourvec_Event.cc.
References EcalTangentSkim_cfg::o, and alignCSCRings::s.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const Lepjets_Event_Lep & | l | ||
) |
Output stream operator, print the content of this Lepjets_Event_Lep to an output stream.
s | The stream to which to write. |
l | The instance of Lepjets_Event_Lep to be printed. |
Definition at line 187 of file Lepjets_Event_Lep.cc.
References MainPageGenerator::l, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Base_Constrainer & | f | ||
) |
Output stream operator, print the content of this Base_Constrainer to an output stream.
s | The output stream to which to write. |
f | The instance of Base_Constrainer to be printed. |
Definition at line 191 of file Base_Constrainer.cc.
References f, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Fit_Result & | res | ||
) |
Output stream operator, print the content of this Fit_Result to an output stream.
s | The output stream to which to write. |
res | The instance of Fit_Result to be printed. |
Definition at line 199 of file Fit_Result.cc.
References alignCSCRings::s.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const Lepjets_Event_Jet & | l | ||
) |
Output stream operator, print the content of this Lepjets_Event_Jet to an output stream.
s | The stream to which to write. |
l | The instance of Lepjets_Event_Jet to be printed. |
Definition at line 209 of file Lepjets_Event_Jet.cc.
References MainPageGenerator::l, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Resolution & | r | ||
) |
Output stream operator, print the content of this Resolution to an output stream.
s | The stream to which to write. |
r | The instance of Resolution to be printed. |
Definition at line 212 of file Resolution.cc.
References alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Fourvec_Event & | fe | ||
) |
Output stream operator, print the content of this Fourvec_Event object to an output stream.
s | The stream to which to write. |
fe | The instance of Fourvec_Event to be printed. |
Definition at line 220 of file Fourvec_Event.cc.
References mps_fire::i, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Fourvec_Constrainer & | c | ||
) |
Output stream operator, print the content of this Fourvec_Constrainer to an output stream.
s | The output stream to which to write. |
c | The instance of Fourvec_Constrainer to be printed. |
Definition at line 220 of file Fourvec_Constrainer.cc.
References HltBtagPostValidation_cff::c, mps_fire::i, caHitNtupletGeneratorKernels::if(), and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Constrained_Z & | cz | ||
) |
Output stream operator, print the content of this Constrained_Z to an output stream.
s | The output stream to which to wrire. |
cz | The instance of Constrained_Z to be printed. |
Definition at line 236 of file Constrained_Z.cc.
References hitfit::Constrained_Z::_constrainer, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Constrained_Top & | ct | ||
) |
Output stream operator, print the content of this Constrained_Top object to an output stream.
s | The output stream to which to write. |
ct | The instance of Constrained_Top to be printed. |
Definition at line 298 of file Constrained_Top.cc.
References hitfit::Constrained_Top::_constrainer, and alignCSCRings::s.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const hitfit::Constraint_Intermed & | ci | ||
) |
Output stream operator, print the content of this Constraint_Intermed to an output stream.
s | The output stream to write. |
ci | The instance of Constraint_Intermed to be printed. |
Definition at line 268 of file Constraint_Intermed.cc.
References hitfit::Constraint_Intermed::print(), and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Vector_Resolution & | r | ||
) |
Output stream operator, print the content of this Vector_Resolution object to an output stream.
s | The stream to which to write. |
r | The instance of Vector_Resolution to be printed. |
Definition at line 346 of file Vector_Resolution.cc.
References alignCSCRings::s.
std::ostream & hitfit::operator<< | ( | std::ostream & | s, |
const Lepjets_Event & | ev | ||
) |
Output stream operator, print the content of this Lepjets_Event to an output stream.
s | The output stream to which to write. |
ev | The instance of Lepjets_Event to be printed. |
Definition at line 566 of file Lepjets_Event.cc.
References makeMEIFBenchmarkPlots::ev, and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Defaults_Text & | def | ||
) |
Output stream operator. Print out all parameters' names and their values.
s | The output stream to write. |
def | The instance to print. |
Definition at line 430 of file Defaults_Text.cc.
References spu::def(), and alignCSCRings::s.
std::ostream& hitfit::operator<< | ( | std::ostream & | s, |
const Top_Fit & | fitter | ||
) |
Output stream operator, print the content of this Top_Fit object to an output stream.
s | The output stream to which to write. |
fitter | The instance of Top_Fit to be printed. |
Definition at line 548 of file Top_Fit.cc.
References hitfit::Top_Fit::_constrainer, and alignCSCRings::s.
double hitfit::phidiff | ( | double | phi | ) |
Normalized difference in azimuthal angles to a range between .
phi | The azimuthal to be normalized. |
Definition at line 220 of file fourvec.cc.
References M_PI.
Referenced by ResolutionCreator::analyze(), delta_r(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), ForwardDiskSectorBuilderFromWedges::operator()(), PtAssignment::process(), L1MuDTMuonSorter::runCOL(), and L1MuBMMuonSorter::runCOL().
void hitfit::roteta | ( | Fourvec & | v, |
double | eta | ||
) |
Rotate four-vector v through a polar angle such that the four-vector pseudorapidity changes by a desired value.
v | The four-vector to rotate. |
eta | The desired change in the pseudorapidity. |
Definition at line 156 of file fourvec.cc.
References PVValHelper::eta, HLT_2023v12_cff::eta1, HLT_2023v12_cff::eta2, eta_to_theta(), rottheta(), theta_to_eta(), and findQualityFiles::v.
void hitfit::rottheta | ( | Fourvec & | v, |
double | theta | ||
) |
Rotate four-vector v through a polar angle.
v | The four-vector to rotate. |
theta | The rotation angle. |
Definition at line 135 of file fourvec.cc.
References HltBtagPostValidation_cff::c, funct::cos(), alignCSCRings::s, funct::sin(), theta(), and findQualityFiles::v.
Referenced by roteta().
double hitfit::scalar | ( | const CLHEP::HepGenMatrix & | m | ) |
Return the matrix as a scalar. Raise an assertion if the matris is not .
m | The matrix to convert, must be . |
Definition at line 166 of file matutil.cc.
References cms::cuda::assert(), and visualization-live-secondInstance_cfg::m.
Referenced by PhotonValidator::analyze(), hitfit::Chisq_Constrainer::fit(), and Traj2TrackHits::split().
double hitfit::theta_to_eta | ( | double | theta | ) |
Convert polar angle to pseudorapidity.
theta | The polar angle to convert. |
Definition at line 191 of file fourvec.cc.
References dqm-mbProfile::log, funct::tan(), and theta().
Referenced by deteta(), and roteta().
const int hitfit::nu_label = -1 |
A special label used for neutrino.
Definition at line 178 of file Fourvec_Event.h.
Referenced by hitfit::Fourvec_Event::add(), hitfit::Constrained_Top::Constrained_Top(), and hitfit::Fourvec_Event::set_nu_p().