#include <LHCInfoCombined.h>
Public Member Functions | |
float | crossingAngle () const |
bool | isCrossingAngleInvalid () |
LHCInfoCombined ()=default | |
LHCInfoCombined (const LHCInfo &lhcInfo) | |
LHCInfoCombined (const LHCInfoPerLS &infoPerLS, const LHCInfoPerFill &infoPerFill) | |
LHCInfoCombined (const edm::EventSetup &iSetup, const edm::ESGetToken< LHCInfoPerLS, LHCInfoPerLSRcd > &tokenInfoPerLS, const edm::ESGetToken< LHCInfoPerFill, LHCInfoPerFillRcd > &tokenInfoPerFill, const edm::ESGetToken< LHCInfo, LHCInfoRcd > &tokenInfo, bool useNewLHCInfo) | |
void | print (std::ostream &os) const |
void | setFromLHCInfo (const LHCInfo &lhcInfo) |
void | setFromPerFill (const LHCInfoPerFill &infoPerFill) |
void | setFromPerLS (const LHCInfoPerLS &infoPerLS) |
Static Public Member Functions | |
template<class RecordT , class ListT > | |
static LHCInfoCombined | createLHCInfoCombined (const edm::eventsetup::DependentRecordImplementation< RecordT, ListT > &iRecord, const edm::ESGetToken< LHCInfoPerLS, LHCInfoPerLSRcd > &tokenInfoPerLS, const edm::ESGetToken< LHCInfoPerFill, LHCInfoPerFillRcd > &tokenInfoPerFill, const edm::ESGetToken< LHCInfo, LHCInfoRcd > &tokenInfo, bool useNewLHCInfo) |
Public Attributes | |
float | betaStarX |
float | betaStarY |
float | crossingAngleX |
float | crossingAngleY |
float | energy |
unsigned short | fillNumber |
Static Public Attributes | |
static constexpr float | crossingAngleInvalid = -1. |
Definition at line 21 of file LHCInfoCombined.h.
|
default |
LHCInfoCombined::LHCInfoCombined | ( | const LHCInfo & | lhcInfo | ) |
Definition at line 4 of file LHCInfoCombined.cc.
References setFromLHCInfo().
LHCInfoCombined::LHCInfoCombined | ( | const LHCInfoPerLS & | infoPerLS, |
const LHCInfoPerFill & | infoPerFill | ||
) |
Definition at line 6 of file LHCInfoCombined.cc.
References setFromPerFill(), and setFromPerLS().
LHCInfoCombined::LHCInfoCombined | ( | const edm::EventSetup & | iSetup, |
const edm::ESGetToken< LHCInfoPerLS, LHCInfoPerLSRcd > & | tokenInfoPerLS, | ||
const edm::ESGetToken< LHCInfoPerFill, LHCInfoPerFillRcd > & | tokenInfoPerFill, | ||
const edm::ESGetToken< LHCInfo, LHCInfoRcd > & | tokenInfo, | ||
bool | useNewLHCInfo | ||
) |
Definition at line 11 of file LHCInfoCombined.cc.
References edm::EventSetup::getHandle(), setFromLHCInfo(), setFromPerFill(), setFromPerLS(), and HLT_2024v13_cff::useNewLHCInfo.
|
static |
Definition at line 63 of file LHCInfoCombined.h.
References edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::get(), setFromLHCInfo(), setFromPerFill(), setFromPerLS(), and HLT_2024v13_cff::useNewLHCInfo.
Referenced by CTPPSInterpolatedOpticalFunctionsESSource::produce(), and CTPPSBeamParametersFromLHCInfoESSource::produce().
float LHCInfoCombined::crossingAngle | ( | ) | const |
Definition at line 46 of file LHCInfoCombined.cc.
References crossingAngleInvalid, crossingAngleX, and crossingAngleY.
Referenced by CTPPSLHCInfoPlotter::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorData::analyze(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), isCrossingAngleInvalid(), and CTPPSProtonProducer::produce().
bool LHCInfoCombined::isCrossingAngleInvalid | ( | ) |
Definition at line 58 of file LHCInfoCombined.cc.
References crossingAngle(), crossingAngleInvalid, and MillePedeFileConverter_cfg::e.
void LHCInfoCombined::print | ( | std::ostream & | os | ) | const |
Definition at line 63 of file LHCInfoCombined.cc.
References betaStarX, betaStarY, crossingAngleX, crossingAngleY, and energy.
Referenced by operator<<().
void LHCInfoCombined::setFromLHCInfo | ( | const LHCInfo & | lhcInfo | ) |
Definition at line 27 of file LHCInfoCombined.cc.
References LHCInfo::betaStar(), betaStarX, betaStarY, LHCInfo::crossingAngle(), crossingAngleX, crossingAngleY, energy, LHCInfo::energy(), fillNumber, and LHCInfo::fillNumber().
Referenced by createLHCInfoCombined(), and LHCInfoCombined().
void LHCInfoCombined::setFromPerFill | ( | const LHCInfoPerFill & | infoPerFill | ) |
Definition at line 41 of file LHCInfoCombined.cc.
References energy, LHCInfoPerFill::energy(), fillNumber, and LHCInfoPerFill::fillNumber().
Referenced by createLHCInfoCombined(), and LHCInfoCombined().
void LHCInfoCombined::setFromPerLS | ( | const LHCInfoPerLS & | infoPerLS | ) |
Definition at line 35 of file LHCInfoCombined.cc.
References LHCInfoPerLS::betaStarX(), betaStarX, LHCInfoPerLS::betaStarY(), betaStarY, LHCInfoPerLS::crossingAngleX(), crossingAngleX, LHCInfoPerLS::crossingAngleY(), and crossingAngleY.
Referenced by createLHCInfoCombined(), and LHCInfoCombined().
float LHCInfoCombined::betaStarX |
Definition at line 52 of file LHCInfoCombined.h.
Referenced by CTPPSLHCInfoPlotter::analyze(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), print(), setFromLHCInfo(), and setFromPerLS().
float LHCInfoCombined::betaStarY |
Definition at line 53 of file LHCInfoCombined.h.
Referenced by print(), setFromLHCInfo(), and setFromPerLS().
|
static |
Definition at line 47 of file LHCInfoCombined.h.
Referenced by crossingAngle(), isCrossingAngleInvalid(), and CTPPSInterpolatedOpticalFunctionsESSource::produce().
float LHCInfoCombined::crossingAngleX |
Definition at line 50 of file LHCInfoCombined.h.
Referenced by crossingAngle(), print(), setFromLHCInfo(), and setFromPerLS().
float LHCInfoCombined::crossingAngleY |
Definition at line 51 of file LHCInfoCombined.h.
Referenced by crossingAngle(), print(), setFromLHCInfo(), and setFromPerLS().
float LHCInfoCombined::energy |
Definition at line 54 of file LHCInfoCombined.h.
Referenced by CTPPSLHCInfoPlotter::analyze(), CTPPSHepMCDistributionPlotter::analyze(), CTPPSProtonReconstructionSimulationValidator::analyze(), CTPPSProtonReconstructionEfficiencyEstimatorMC::analyze(), HLTPPSJetComparisonFilter::filter(), LHCInfoProducer::globalBeginLuminosityBlockProduce(), print(), CTPPSProtonProducer::produce(), Jet.Jet::rawEnergy(), setFromLHCInfo(), and setFromPerFill().
unsigned short LHCInfoCombined::fillNumber |
Definition at line 55 of file LHCInfoCombined.h.
Referenced by CTPPSLHCInfoPlotter::analyze(), setFromLHCInfo(), and setFromPerFill().