#include <ProtonReconstructionAlgorithm.h>
Classes | |
class | ChiSquareCalculator |
class for calculation of chi^2 More... | |
struct | RPOpticsData |
optics data associated with 1 RP More... | |
Public Member Functions | |
void | init (const LHCInterpolatedOpticalFunctionsSetCollection &opticalFunctions) |
ProtonReconstructionAlgorithm (bool fit_vtx_y, bool improved_estimate, unsigned int verbosity) | |
reco::ForwardProton | reconstructFromMultiRP (const CTPPSLocalTrackLiteRefVector &tracks, const LHCInfo &lhcInfo, std::ostream &os) const |
run proton reconstruction using multiple-RP strategy More... | |
reco::ForwardProton | reconstructFromSingleRP (const CTPPSLocalTrackLiteRef &track, const LHCInfo &lhcInfo, std::ostream &os) const |
run proton reconstruction using single-RP strategy More... | |
void | release () |
~ProtonReconstructionAlgorithm ()=default | |
Static Private Member Functions | |
static void | doLinearFit (const std::vector< double > &vx, const std::vector< double > &vy, double &b, double &a) |
Private Attributes | |
std::unique_ptr< ChiSquareCalculator > | chiSquareCalculator_ |
object to calculate chi^2 More... | |
std::unique_ptr< ROOT::Fit::Fitter > | fitter_ |
fitter object More... | |
bool | fitVtxY_ |
bool | initialized_ |
std::map< unsigned int, RPOpticsData > | m_rp_optics_ |
map: RP id –> optics data More... | |
bool | useImprovedInitialEstimate_ |
unsigned int | verbosity_ |
Definition at line 26 of file ProtonReconstructionAlgorithm.h.
ProtonReconstructionAlgorithm::ProtonReconstructionAlgorithm | ( | bool | fit_vtx_y, |
bool | improved_estimate, | ||
unsigned int | verbosity | ||
) |
Definition at line 22 of file ProtonReconstructionAlgorithm.cc.
References chiSquareCalculator_, and fitter_.
|
default |
|
staticprivate |
Definition at line 84 of file ProtonReconstructionAlgorithm.cc.
References ztail::d, and mps_fire::i.
Referenced by init().
void ProtonReconstructionAlgorithm::init | ( | const LHCInterpolatedOpticalFunctionsSetCollection & | opticalFunctions | ) |
Definition at line 41 of file ProtonReconstructionAlgorithm.cc.
References ProtonReconstructionAlgorithm::RPOpticsData::ch0, ProtonReconstructionAlgorithm::RPOpticsData::ch1, doLinearFit(), LHCOpticalFunctionsSet::eLx, LHCOpticalFunctionsSet::eLy, LHCOpticalFunctionsSet::evy, LHCOpticalFunctionsSet::exd, LHCOpticalFunctionsSet::eyd, LHCOpticalFunctionsSet::getFcnValues(), LHCOpticalFunctionsSet::getXiValues(), initialized_, ProtonReconstructionAlgorithm::RPOpticsData::la0, ProtonReconstructionAlgorithm::RPOpticsData::la1, m_rp_optics_, eostools::move(), ProtonReconstructionAlgorithm::RPOpticsData::optics, AlCaHLTBitMon_ParallelJobs::p, release(), ProtonReconstructionAlgorithm::RPOpticsData::s_L_y_vs_xi, ProtonReconstructionAlgorithm::RPOpticsData::s_v_y_vs_xi, ProtonReconstructionAlgorithm::RPOpticsData::s_xi_vs_x_d, ProtonReconstructionAlgorithm::RPOpticsData::s_y_d_vs_xi, LHCInterpolatedOpticalFunctionsSet::splines(), LHCInterpolatedOpticalFunctionsSet::transport(), LHCInterpolatedOpticalFunctionsSet::Kinematics::x, ProtonReconstructionAlgorithm::RPOpticsData::x0, LHCInterpolatedOpticalFunctionsSet::Kinematics::y, and ProtonReconstructionAlgorithm::RPOpticsData::y0.
Referenced by CTPPSProtonProducer::produce().
reco::ForwardProton ProtonReconstructionAlgorithm::reconstructFromMultiRP | ( | const CTPPSLocalTrackLiteRefVector & | tracks, |
const LHCInfo & | lhcInfo, | ||
std::ostream & | os | ||
) | const |
run proton reconstruction using multiple-RP strategy
Definition at line 145 of file ProtonReconstructionAlgorithm.cc.
References a, b, HltBtagPostValidation_cff::c, ProtonReconstructionAlgorithm::RPOpticsData::ch0, ProtonReconstructionAlgorithm::RPOpticsData::ch1, chiSquareCalculator_, LHCInfo::energy(), fitter_, fitVtxY_, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, ProtonReconstructionAlgorithm::RPOpticsData::la0, ProtonReconstructionAlgorithm::RPOpticsData::la1, m_rp_optics_, AlCaHLTBitMon_ParallelJobs::p, CalibrationSummaryClient_cfi::params, mps_fire::result, mathSSE::sqrt(), HLT_2018_cff::track, PDWG_EXOHSCP_cff::tracks, useImprovedInitialEstimate_, verbosity_, bphysicsOniaDQM_cfi::vertex, hybridSuperClusters_cfi::xi, and y.
Referenced by CTPPSProtonProducer::produce().
reco::ForwardProton ProtonReconstructionAlgorithm::reconstructFromSingleRP | ( | const CTPPSLocalTrackLiteRef & | track, |
const LHCInfo & | lhcInfo, | ||
std::ostream & | os | ||
) | const |
run proton reconstruction using single-RP strategy
Definition at line 297 of file ProtonReconstructionAlgorithm.cc.
References funct::abs(), CTPPSDetId::arm(), LHCInfo::energy(), m_rp_optics_, AlCaHLTBitMon_ParallelJobs::p, funct::pow(), edm::RefVector< C, T, F >::push_back(), mathSSE::sqrt(), verbosity_, bphysicsOniaDQM_cfi::vertex, and hybridSuperClusters_cfi::xi.
Referenced by CTPPSProtonProducer::produce().
void ProtonReconstructionAlgorithm::release | ( | ) |
Definition at line 104 of file ProtonReconstructionAlgorithm.cc.
References initialized_, and m_rp_optics_.
Referenced by init(), and CTPPSProtonProducer::produce().
|
private |
object to calculate chi^2
Definition at line 80 of file ProtonReconstructionAlgorithm.h.
Referenced by ProtonReconstructionAlgorithm(), and reconstructFromMultiRP().
|
private |
fitter object
Definition at line 77 of file ProtonReconstructionAlgorithm.h.
Referenced by ProtonReconstructionAlgorithm(), and reconstructFromMultiRP().
|
private |
Definition at line 46 of file ProtonReconstructionAlgorithm.h.
Referenced by reconstructFromMultiRP().
|
private |
Definition at line 48 of file ProtonReconstructionAlgorithm.h.
|
private |
map: RP id –> optics data
Definition at line 63 of file ProtonReconstructionAlgorithm.h.
Referenced by init(), reconstructFromMultiRP(), reconstructFromSingleRP(), and release().
|
private |
Definition at line 47 of file ProtonReconstructionAlgorithm.h.
Referenced by reconstructFromMultiRP().
|
private |
Definition at line 45 of file ProtonReconstructionAlgorithm.h.
Referenced by reconstructFromMultiRP(), and reconstructFromSingleRP().