1 #ifndef PFProducer_PFCandConnector_H_ 2 #define PFProducer_PFCandConnector_H_ 43 edm::LogWarning(
"PFCandConnector") <<
"dptRel_PrimaryTrack doesn't exist. Setting a default safe value 0" 51 edm::LogWarning(
"PFCandConnector") <<
"dptRel_MergedTrack doesn't exist. Setting a default safe value 0" 59 edm::LogWarning(
"PFCandConnector") <<
"ptErrorSecondary doesn't exist. Setting a default safe value 0" 67 edm::LogWarning(
"PFCandConnector") <<
"nuclear calib factors doesn't exist the factor would not be applyed"
bool isPrimaryNucl(const reco::PFCandidate &pf) const
static const reco::PFCandidate::Flags fT_FROM_DISP_
static const reco::PFCandidate::Flags fT_TO_DISP_
void analyseNuclearWPrim(reco::PFCandidateCollection &, std::vector< bool > &, unsigned int) const
Analyse nuclear interactions where a primary or merged track is present.
std::vector< double > fExp_
void analyseNuclearWSec(reco::PFCandidateCollection &, std::vector< bool > &, unsigned int) const
Analyse nuclear interactions where a secondary track is present.
Based on a class from : V. Roberfroid, February 2008.
std::vector< double > fNorm_
static const double pion_mass2
Useful constants.
std::vector< double > fConst_
static void fillPSetDescription(edm::ParameterSetDescription &iDesc)
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
double dptRel_PrimaryTrack_
bool bCalibPrimary_
Calibration parameters for the reconstructed nuclear interactions.
reco::PFCandidateCollection connect(reco::PFCandidateCollection &pfCand) const
Particle reconstructed by the particle flow algorithm.
bool bCorrect_
Parameters.
void setParameters(const edm::ParameterSet &iCfgCandConnector)
bool isSecondaryNucl(const reco::PFCandidate &pf) const
Log< level::Warning, false > LogWarning
double dptRel_MergedTrack_
double rescaleFactor(const double pt, const double cFrac) const
Return a calibration factor for a reconstructed nuclear interaction.