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 | Refcount |
Simple reference-counted object. 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 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 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 EtaDepResElement &e) |
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 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 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 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 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 Resolution &r) |
Output stream operator, print the content of this Resolution 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 58 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 150 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 54 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 58 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 140 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 163 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 123 of file fourvec.cc.
References ResonanceBuilder::mass, and mathSSE::sqrt().
Referenced by hitfit::Top_Fit::fit_one_perm(), and operator<<().
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 98 of file fourvec.cc.
References ResonanceBuilder::mass, and mathSSE::sqrt().
Referenced by operator<<().
void hitfit::clear | ( | CLHEP::HepGenMatrix & | m | ) |
Helper function: Reset all elements of a matrix to 0.
m | The matrix to reset. |
Definition at line 167 of file matutil.cc.
References mps_fire::i, funct::m, and create_public_lumi_plots::ncol.
Referenced by DTTFFEDReader::analyse(), IsoTrig::analyze(), DTDeadFlag::cellStatus(), DTStatusFlag::cellStatus(), DTT0::cellT0(), dqmstorepb::ROOTFilePB_Histo::Clear(), IsoTrig::clearChgIsolnTreeVectors(), npstat::BoxND< Numeric >::copyFrom(), CSCALCTDigi::CSCALCTDigi(), doBZ2Compression(), gen::PomwigHadronizer::doSharedResources(), Herwig6Hadronizer::doSharedResources(), DQMNet::dqmhash(), DTTracoTrig::DTTracoTrig(), EcalRegressionData::EcalRegressionData(), TowerBlockFormatter::EndEvent(), edm::BeamHaloProducer::endLuminosityBlock(), L1GtCastorCondition::evaluateCondition(), L1GtExternalCondition::evaluateCondition(), L1GtHfBitCountsCondition::evaluateCondition(), L1GtHfRingEtSumsCondition::evaluateCondition(), L1GtBptxCondition::evaluateCondition(), L1GtEnergySumCondition::evaluateCondition(), L1GtJetCountsCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), L1GtMuonCondition::evaluateCondition(), l1t::EnergySumCondition::evaluateCondition(), l1t::ExternalCondition::evaluateCondition(), l1t::CorrCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), FEConfigBadStripInfo::FEConfigBadStripInfo(), FEConfigBadTTInfo::FEConfigBadTTInfo(), FEConfigBadXTInfo::FEConfigBadXTInfo(), FEConfigFgrInfo::FEConfigFgrInfo(), FEConfigLinInfo::FEConfigLinInfo(), FEConfigLUTInfo::FEConfigLUTInfo(), FEConfigMainInfo::FEConfigMainInfo(), FEConfigPedInfo::FEConfigPedInfo(), FEConfigSlidingInfo::FEConfigSlidingInfo(), FEConfigSpikeInfo::FEConfigSpikeInfo(), FEConfigTimingInfo::FEConfigTimingInfo(), FEConfigWeightInfo::FEConfigWeightInfo(), EcalRegressionData::fill(), HGCalTriggerNtupleGen::fill(), reco::FlavorHistoryEvent::FlavorHistoryEvent(), GroupBX(), MultiHitGenerator::hitSets(), HitTripletGenerator::hitTriplets(), pat::PATTriggerProducer::ModuleLabelToPathAndFlags::init(), cond::Iov_t::Iov_t(), Vispa.Views.LineDecayView.LineDecayContainer::keyPressEvent(), ODBadTTInfo::ODBadTTInfo(), ODBadXTInfo::ODBadXTInfo(), ODCCSConfig::ODCCSConfig(), ODCond2ConfInfo::ODCond2ConfInfo(), ODDCCConfig::ODDCCConfig(), ODDCUConfig::ODDCUConfig(), ODEcalCycle::ODEcalCycle(), ODFEDAQConfig::ODFEDAQConfig(), ODFEDelaysInfo::ODFEDelaysInfo(), ODFEPedestalOffsetInfo::ODFEPedestalOffsetInfo(), ODFEWeightsInfo::ODFEWeightsInfo(), ODGolBiasCurrentInfo::ODGolBiasCurrentInfo(), ODJBH4Config::ODJBH4Config(), ODLaserConfig::ODLaserConfig(), ODLTCConfig::ODLTCConfig(), ODLTSConfig::ODLTSConfig(), ODScanConfig::ODScanConfig(), ODSRPConfig::ODSRPConfig(), ODTCCConfig::ODTCCConfig(), ODTCCEEConfig::ODTCCEEConfig(), ODTowersToByPassInfo::ODTowersToByPassInfo(), ODTTCciConfig::ODTTCciConfig(), ODTTCFConfig::ODTTCFConfig(), ODVfeToRejectInfo::ODVfeToRejectInfo(), MultiHitGeneratorFromPairAndLayers::pairGenerator(), FFTJetProducer::produce(), EcalFEtoDigi::readInput(), DTTracoLUTs::reset(), AlignmentParameterSelector::selectedParameters(), CaloRecHit::setFlagField(), edm::EventSetup::setKnownRecordsSupplier(), DTMtime::slMtime(), DTPerformance::slPerformance(), DTRangeT0::slRangeT0(), FBaseSimEvent::theTable(), RPCCosmicSeedrecHitFinder::unsetInput(), HcalTB02Analysis::update(), edm::ThinnedAssociationsHelper::updateFromParentProcess(), Vispa.Main.Application.Application::updateStartupScreen(), MultiVertexFitter::vertices(), CastorHitCorrection::~CastorHitCorrection(), DTTracoLUTs::~DTTracoLUTs(), HitPairGenerator::~HitPairGenerator(), HitQuadrupletGenerator::~HitQuadrupletGenerator(), LinTrackCache::~LinTrackCache(), and PhysicsTools::MVATrainerLooper::TrainerContainer::~TrainerContainer().
Find the distance between two four-vectors in the two-dimensional space .
Definition at line 249 of file fourvec.cc.
References phidiff(), and mathSSE::sqrt().
Referenced by TrackingMaterialPlotter::fill_gradient(), and ListGroups::fillGradient().
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 214 of file fourvec.cc.
References theta_to_eta().
double hitfit::eta_to_theta | ( | double | eta | ) |
Convert pseudorapidity to polar angle.
eta | The value of pseudorapidity to convert. |
Definition at line 184 of file fourvec.cc.
References 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 559 of file gentop.cc.
References hitfit::Lepjets_Event::add_jet(), hitfit::Lepjets_Event::add_lep(), SelectingProcedure_cff::decay, hitfit::Gentop_Args::ele_res_str(), electron_label, ev, hadb_label, hadw1_label, hadw2_label, hitfit::Gentop_Args::jet_res_str(), hitfit::Lepjets_Event::kt_res(), hitfit::Gentop_Args::kt_res_str(), lepb_label, hitfit::Gentop_Args::mb(), hitfit::Lepjets_Event::met(), hitfit::Gentop_Args::mt(), hitfit::Gentop_Args::muo_res_str(), hitfit::Gentop_Args::muon(), muon_label, hitfit::Gentop_Args::mw(), AlCaHLTBitMon_ParallelJobs::p, q1, q2, hitfit::Gentop_Args::sigma_mb(), hitfit::Gentop_Args::sigma_mt(), hitfit::Gentop_Args::sigma_mw(), hitfit::Gentop_Args::smear(), hitfit::Lepjets_Event::smear(), hitfit::Gentop_Args::smear_dir(), and hitfit::Gentop_Args::t_pt_mean().
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 649 of file gentop.cc.
References hitfit::Lepjets_Event::add_jet(), hitfit::Lepjets_Event::add_lep(), SelectingProcedure_cff::decay, hitfit::Gentop_Args::ele_res_str(), electron_label, ev, hadb_label, hadw1_label, hadw2_label, higgs_label, hitfit::Gentop_Args::jet_res_str(), hitfit::Lepjets_Event::kt_res(), hitfit::Gentop_Args::kt_res_str(), lepb_label, hitfit::Gentop_Args::mb(), hitfit::Lepjets_Event::met(), hitfit::Gentop_Args::mh(), hitfit::Gentop_Args::mt(), hitfit::Gentop_Args::muo_res_str(), hitfit::Gentop_Args::muon(), muon_label, hitfit::Gentop_Args::mw(), q1, q2, hitfit::Gentop_Args::sigma_mb(), hitfit::Gentop_Args::sigma_mh(), hitfit::Gentop_Args::sigma_mt(), hitfit::Gentop_Args::sigma_mw(), hitfit::Gentop_Args::smear(), hitfit::Lepjets_Event::smear(), hitfit::Gentop_Args::smear_dir(), and hitfit::Gentop_Args::t_pt_mean().
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 244 of file Lepjets_Event_Jet.cc.
References hadb_label, hadw1_label, hadw2_label, higgs_label, isr_label, lepb_label, AlCaHLTBitMon_QueryRunRegistry::string, 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 282 of file Lepjets_Event_Jet.cc.
References hadb_label, hadw1_label, hadw2_label, higgs_label, isr_label, 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 257 of file Lepjets_Event_Jet.h.
References jetTypeChar().
unique_ptr<Constraint_Intermed> hitfit::make_constraint_intermed | ( | string | s | ) |
Definition at line 320 of file Constraint_Intermed.cc.
References hitfit::Constraint_Intermed_Constant::Constraint_Intermed_Constant(), mps_fire::i, and tablePrinter::labels.
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 102 of file EtaDepResElement.cc.
References hitfit::EtaDepResElement::_EtaMax, hitfit::EtaDepResElement::_EtaMin, and hitfit::EtaDepResElement::IsOverlap().
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 195 of file Fit_Result.cc.
References hitfit::Fit_Result::_chisq, and funct::abs().
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 85 of file Objpair.cc.
References hitfit::Objpair::_for_constraint, hitfit::Objpair::_i, hitfit::Objpair::_j, gen::k, 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 117 of file Fit_Results.cc.
References hitfit::Fit_Results::_v, and mps_fire::i.
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 123 of file Pair_Table.cc.
References hitfit::Pair_Table::get_pair(), mps_fire::i, hitfit::Pair_Table::npairs(), 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 162 of file Constraint.cc.
References hitfit::Constraint::_lhs, hitfit::Constraint::_rhs, and alignCSCRings::s.
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 87 of file Fourvec_Event.cc.
References hitfit::FE_Obj::eta_error, hitfit::FE_Obj::label, hitfit::FE_Obj::mass, hitfit::FE_Obj::muon_p, hitfit::FE_Obj::p, hitfit::FE_Obj::p_error, hitfit::FE_Obj::phi_error, 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 185 of file EtaDepResElement.cc.
References hitfit::EtaDepResElement::_EtaMax, hitfit::EtaDepResElement::_EtaMin, hitfit::EtaDepResElement::GetResolution(), 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 192 of file Fit_Result_Vec.cc.
References hitfit::Fit_Result_Vec::_v, and mps_fire::i.
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 210 of file Lepjets_Event_Lep.cc.
References hitfit::Lepjets_Event_Lep::dump().
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 227 of file Lepjets_Event_Jet.cc.
References hitfit::Lepjets_Event_Jet::dump().
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 214 of file Base_Constrainer.cc.
References hitfit::Base_Constrainer::print().
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 221 of file Fit_Result.cc.
References hitfit::Fit_Result::_chisq, hitfit::Fit_Result::_ev, hitfit::Fit_Result::_mt, hitfit::Fit_Result::_pullx, hitfit::Fit_Result::_pully, hitfit::Fit_Result::_sigmt, hitfit::Fit_Result::_umwhad, hitfit::Fit_Result::_utmass, and 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 245 of file Fourvec_Event.cc.
References hitfit::Fourvec_Event::_kt, hitfit::Fourvec_Event::_kt_x_error, hitfit::Fourvec_Event::_kt_xy_covar, hitfit::Fourvec_Event::_kt_y_error, hitfit::Fourvec_Event::_objs, hitfit::Fourvec_Event::_x, and mps_fire::i.
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 253 of file Fourvec_Constrainer.cc.
References hitfit::Fourvec_Constrainer::_args, hitfit::Fourvec_Constrainer::_constraints, hitfit::Fourvec_Constrainer::_mass_constraint, adjust_e_for_mass(), adjust_p_for_mass(), runEdmFileComparison::base, EnergyCorrector::c, createBeamHaloJobs::constraints, funct::cos(), dot(), MillePedeFileConverter_cfg::e, reco::e1, reco::e2, hitfit::Fourvec_Constrainer_Args::e_com(), PVValHelper::eta, hitfit::FE_Obj::eta_error, eta_offs, ev, JetChargeProducer_cfi::exp, F(), hitfit::Objpair::for_constraint(), hitfit::Pair_Table::get_pair(), hitfit::Fourvec_Event::has_neutrino(), hitfit::Objpair::i(), mps_fire::i, reco::if(), hitfit::Objpair::j(), gen::k, hitfit::Fourvec_Event::kt(), hitfit::Fourvec_Event::kt_x_error(), hitfit::Fourvec_Event::kt_xy_covar(), hitfit::Fourvec_Event::kt_y_error(), hitfit::FE_Obj::mass, hitfit::FE_Obj::muon_p, hitfit::Fourvec_Event::nobjs(), hitfit::Pair_Table::npairs(), hitfit::Fourvec_Event::nu(), nu_z, MuonAssociatorByHits_cfi::obj, hitfit::Fourvec_Event::obj(), hitfit::FE_Obj::p, AlCaHLTBitMon_ParallelJobs::p, p1, p2, hitfit::FE_Obj::p_error, p_offs, hitfit::FE_Obj::phi_error, phi_offs, EnergyCorrector::pt, hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, alignCSCRings::s, hitfit::Fourvec_Event::set_nu_p(), hitfit::Fourvec_Event::set_obj_p(), hitfit::Fourvec_Event::set_x_p(), Validation_hcalonly_cfi::sign, funct::sin(), mathSSE::sqrt(), tmp, hitfit::Fourvec_Constrainer_Args::use_e(), findQualityFiles::v, x(), x_offs, geometryCSVtoXML::xx, DOFs::Y, and y_offs.
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 258 of file Resolution.cc.
References hitfit::Resolution::_constant_sigma, hitfit::Resolution::_inverse, hitfit::Resolution::_noise_sigma, hitfit::Resolution::_resolution_sigma, 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 261 of file Constrained_Z.cc.
References hitfit::Constrained_Z::_constrainer.
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 333 of file Constrained_Top.cc.
References hitfit::Constrained_Top::_constrainer.
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 303 of file Constraint_Intermed.cc.
References hitfit::Constraint_Intermed::print(), and alignCSCRings::s.
Referenced by hitfit::Base_Constrainer::~Base_Constrainer().
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 386 of file Vector_Resolution.cc.
References hitfit::Vector_Resolution::_eta_res, hitfit::Vector_Resolution::_p_res, hitfit::Vector_Resolution::_phi_res, hitfit::Vector_Resolution::_use_et, and 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 625 of file Lepjets_Event.cc.
References hitfit::Lepjets_Event::dump().
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 459 of file Defaults_Text.cc.
References hitfit::Defaults_Textrep::_map, hitfit::Defaults_Text::_rep, 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 592 of file Top_Fit.cc.
References hitfit::Top_Fit::_constrainer.
double hitfit::phidiff | ( | double | phi | ) |
Normalized difference in azimuthal angles to a range between .
phi | The azimuthal to be normalized. |
Definition at line 230 of file fourvec.cc.
References M_PI.
Referenced by ResolutionCreator::analyze(), delta_r(), DDTIBLayerAlgo_MTCC::execute(), MuonMesh::isClusteredWith(), MuonMesh::isDuplicateOf(), ForwardDiskSectorBuilderFromWedges::operator()(), 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 162 of file fourvec.cc.
References PVValHelper::eta, eta_to_theta(), rottheta(), and theta_to_eta().
Referenced by hitfit::Vector_Resolution::phi_sigma().
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 140 of file fourvec.cc.
References EnergyCorrector::c, funct::cos(), alignCSCRings::s, and funct::sin().
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 183 of file matutil.cc.
References funct::m.
Referenced by PhotonValidator::analyze(), PhotonAnalyzer::analyze(), hitfit::Fourvec_Constraint_Calculator::eval(), hitfit::Chisq_Constrainer::fit(), conddblib::listObject(), and Traj2TrackHits::split().
double hitfit::theta_to_eta | ( | double | theta | ) |
Convert polar angle to pseudorapidity.
theta | The polar angle to convert. |
Definition at line 199 of file fourvec.cc.
References cmsBatch::log, and funct::tan().
Referenced by deteta(), and roteta().
const int hitfit::nu_label = -1 |
A special label used for neutrino.
Definition at line 185 of file Fourvec_Event.h.
Referenced by hitfit::Fourvec_Event::add(), hitfit::Constrained_Top::Constrained_Top(), and hitfit::Fourvec_Event::set_nu_p().