Classes | |
struct | FullBeamInfo |
struct | LimitedBeamInfo |
Functions | |
void | Get_t_and_xi (const TLorentzVector *proton, double &t, double &xi, LimitedBeamInfo const &bi) |
TLorentzVector | HectorParticle2LorentzVector (H_BeamParticle hp, int) |
void | LorentzBoost (H_BeamParticle &h_p, int dir, const std::string &frame, FullBeamInfo const &bi) |
void | LorentzBoost (TLorentzVector &p_out, const std::string &frame, FullBeamInfo const &bi) |
void | LorentzBoost (HepMC::GenParticle &p_out, const std::string &frame, FullBeamInfo const &bi) |
H_BeamParticle | LorentzVector2HectorParticle (TLorentzVector p) |
Variables | |
const double | ProtonMass =CLHEP::proton_mass_c2/GeV |
const double | ProtonMassSQ =pow(ProtonMass,2) |
const double | urad = 1./1000000. |
void PPSTools::Get_t_and_xi | ( | const TLorentzVector * | proton, |
double & | t, | ||
double & | xi, | ||
LimitedBeamInfo const & | bi | ||
) |
Definition at line 65 of file PPSUtilities.cc.
References funct::cos(), randomXiThetaGunProducer_cfi::energy, PPSTools::LimitedBeamInfo::fBeamEnergy, PPSTools::LimitedBeamInfo::fBeamMomentum, Pi, ProtonMassSQ, mathSSE::sqrt(), and theta().
Referenced by CTPPSFastTrackingProducer::FastReco().
TLorentzVector PPSTools::HectorParticle2LorentzVector | ( | H_BeamParticle | hp, |
int | direction | ||
) |
Definition at line 6 of file PPSUtilities.cc.
References funct::cos(), funct::pow(), ProtonMassSQ, mathSSE::sqrt(), funct::tan(), theta(), and urad.
Referenced by LorentzVector2HectorParticle(), and HectorTransport::transportProton().
void PPSTools::LorentzBoost | ( | H_BeamParticle & | h_p, |
int | dir, | ||
const std::string & | frame, | ||
FullBeamInfo const & | bi | ||
) |
void PPSTools::LorentzBoost | ( | TLorentzVector & | p_out, |
const std::string & | frame, | ||
FullBeamInfo const & | bi | ||
) |
void PPSTools::LorentzBoost | ( | HepMC::GenParticle & | p_out, |
const std::string & | frame, | ||
FullBeamInfo const & | bi | ||
) |
H_BeamParticle PPSTools::LorentzVector2HectorParticle | ( | TLorentzVector | p | ) |
Definition at line 17 of file PPSUtilities.cc.
References funct::abs(), pfBoostedDoubleSVAK8TagInfos_cfi::beta, funct::cos(), dir, PPSTools::FullBeamInfo::fBeamEnergy, PPSTools::FullBeamInfo::fBeamMomentum, PPSTools::FullBeamInfo::fCrossingAngleBeam1, PPSTools::FullBeamInfo::fCrossingAngleBeam2, GenParticle::GenParticle, HectorParticle2LorentzVector(), LorentzBoost(), AlCaHLTBitMon_ParallelJobs::p, and funct::sin().
const double PPSTools::ProtonMass =CLHEP::proton_mass_c2/GeV |
Definition at line 32 of file PPSUtilities.h.
const double PPSTools::ProtonMassSQ =pow(ProtonMass,2) |
Definition at line 33 of file PPSUtilities.h.
Referenced by CTPPSFastTrackingProducer::CTPPSFastTrackingProducer(), CTPPSFastTrackingProducer::FastReco(), HectorTransport::HectorTransport(), and CTPPSFastTrackingProducer::SearchTrack().
const double PPSTools::urad = 1./1000000. |
Definition at line 31 of file PPSUtilities.h.