Functions
SRLorentzVectorAddons.h File Reference

Go to the source code of this file.

Functions

float T () const
 
float X () const
 
float Y () const
 
float Z () const
 
float Mag () const
 
float Beta () const
 
float Gamma () const
 
TVector3 Vect () const
 

Function Documentation

float Beta ( ) const

Definition at line 11 of file SRLorentzVectorAddons.h.

References E, and Mag().

Referenced by Gamma(), and caf::Proxy< caf::SRLorentzVector >::Gamma().

11 {return Mag()/E;}
Float_t E
Definition: plot.C:20
float Mag() const
float Gamma ( ) const

Definition at line 12 of file SRLorentzVectorAddons.h.

References Beta(), and std::sqrt().

Referenced by BuildMetricsTree_OnMon(), GammaFunction(), GetHist(), integrand(), genie::KNOHadronization::KNO(), and kno_func().

12 {return 1/sqrt(1-Beta()*Beta());}
T sqrt(T number)
Definition: d0nt_math.hpp:156
float Beta() const
float Mag ( ) const

Definition at line 10 of file SRLorentzVectorAddons.h.

References std::sqrt().

Referenced by genie::HNIntranuke2018::AbsorbHN(), remid::ReMIdTrain::analyze(), sn::SNSlicerAna::analyze(), vf::TrackEva::analyze(), zcl::FmmTrackerAna::analyze(), zcl::FmmTrackerValidation::analyze(), remid::ReMIdDedxFD::analyze(), calib::CalibAna::analyze(), slid::LIDTraining::analyze(), Beta(), caf::Proxy< caf::SRLorentzVector >::Beta(), slid::ParticleIDAlg::CalcAsymIneria(), genie::flux::GDk2NuFlux::CalcEffPOTsPerNu(), genie::flux::GNuMIFlux::CalcEffPOTsPerNu(), slid::ParticleIDAlg::CalcTrkHitPath(), trk::KalmanTrackMerge::CanJoinTracks(), sn::SNMichelAnalyzer::ClusterAroundTrackEnds(), murem::TrackCleanUpAlg::DeDxInPlane(), genie::geometry::PathSegment::DoCrossCheck(), genie::utils::EnergyDeltaFunctionSolutionQEL(), trk::CosmicTrackAna::FilldEdxHistogram(), skim::CosmicBeamComparison::FillNumuHistograms(), nuesand::FillNueSandbox::FillTruthVars(), calib::MuonTrackHits::filter(), calib::MuondEdxAna::filter(), calib::StopperThreshold::FindTrajectoryPoints(), jmshower::RecoJMShower::Gap(), INukeNucleonCorr::getCorrection(), slid::ParticleIDAlg::GetGapVertexToShowerStart(), jmshower::NueSelLID::GetPointDoca(), jmshower::RecoJMShower::GetPointDoca(), ndreco::NDRecoFxs::getProngDedx(), ndreco::NDRecoFxs::getProngProximity(), ndreco::NDRecoFxs::getTrackDedx(), ndreco::NDRecoFxs::getTrackProximity(), ndreco::NDRecoFxs::getTrackScatt(), jmshower::RecoJMShower::GetTrkHitPath(), trk::CosmicTrackSelection::GoodSteps(), calib::PCHitsList::GoodSteps(), remid::RecoMuon::IsTrackContained(), trk::KalmanTrackMerge::JoinTracks(), gibuu::GiBUURegen::Kinematics(), numue::NumuEAlg::NDTrackLength(), ana::GetPionID::operator()(), ana::GetPionTrack::operator()(), ana::GetBestPionID::operator()(), ana::GetBestPionTrack::operator()(), trk::CosmicTrackUtilities::PathLengthInCell(), calib::PathLengthInCell(), slid::ParticleIDAlg::PointDoca(), slid::Recluster::produce(), calib::FiberCalibration::produce(), lem::MakeLibrary::produce(), calib::TimingCalibration::produce(), xsrec::MakeXSecCCPi0Inc::produce(), remid::RecoMuon::produce(), trk::CosmicTrackUtilities::RangeMomentum(), jmshower::RecoJMShower::RecoShowers(), trk::KalmanTrackMerge::ShiftInterpolationPoints(), murem::TrackCleanUpAlg::SortByDistFromTrack(), genie::utils::intranuke::ThreeBodyKinematics(), genie::utils::intranuke2018::ThreeBodyKinematics(), rb::Track::TotalLength(), numue::NumuEAna::TotalLengthInDetector(), cheat::RecoCheckAna::TotalLengthInDetector(), trk::KalmanTrackAna::TotalLengthInDetector(), vf::TrackEva::Tracklength(), trk::CosmicTrackUtilities::TrackResiduals(), trk::CosmicTrackUtilities::TrueLengthEndPoints(), genie::utils::intranuke::TwoBodyKinematics(), genie::utils::intranuke2018::TwoBodyKinematics(), caf::Proxy< caf::SRVector3D >::Unit(), zcl::FmmTrackerValidation::vfit(), zcl::FmmTrackerAna::vfit(), and genie::flux::GDk2NuFluxXMLHelper::~GDk2NuFluxXMLHelper().

10 {return sqrt(px*px + py*py + pz*pz);}
T sqrt(T number)
Definition: d0nt_math.hpp:156
float T ( ) const

Definition at line 6 of file SRLorentzVectorAddons.h.

References E.

6 {return E;}
Float_t E
Definition: plot.C:20
TVector3 Vect ( ) const
float X ( ) const

Definition at line 7 of file SRLorentzVectorAddons.h.

7 {return px;}
float Y ( ) const

Definition at line 8 of file SRLorentzVectorAddons.h.

8 {return py;}
float Z ( ) const

Definition at line 9 of file SRLorentzVectorAddons.h.

9 {return pz;}