Based on a class from : V. Roberfroid, February 2008. More...
#include <PFCandConnector.h>
Public Member Functions | |
std::auto_ptr < reco::PFCandidateCollection > | connect (std::auto_ptr< reco::PFCandidateCollection > &pfCand) |
PFCandConnector () | |
void | setDebug (bool debug) |
void | setParameters (const edm::ParameterSet &iCfgCandConnector) |
void | setParameters (bool bCorrect, bool bCalibPrimary, double dptRel_PrimaryTrack, double dptRel_MergedTrack, double ptErrorSecondary, const std::vector< double > &nuclCalibFactors) |
Private Member Functions | |
void | analyseNuclearWPrim (std::auto_ptr< reco::PFCandidateCollection > &, unsigned int) |
Analyse nuclear interactions where a primary or merged track is present. More... | |
void | analyseNuclearWSec (std::auto_ptr< reco::PFCandidateCollection > &, unsigned int) |
Analyse nuclear interactions where a secondary track is present. More... | |
bool | isPrimaryNucl (const reco::PFCandidate &pf) const |
bool | isSecondaryNucl (const reco::PFCandidate &pf) const |
double | rescaleFactor (const double pt, const double cFrac) const |
Return a calibration factor for a reconstructed nuclear interaction. More... | |
Private Attributes | |
bool | bCalibPrimary_ |
Calibration parameters for the reconstructed nuclear interactions. More... | |
bool | bCorrect_ |
std::vector< bool > | bMask_ |
A mask to define the candidates which shall not be transmitted. More... | |
bool | debug_ |
Parameters. More... | |
double | dptRel_MergedTrack_ |
double | dptRel_PrimaryTrack_ |
std::vector< double > | fConst_ |
std::vector< double > | fExp_ |
std::vector< double > | fNorm_ |
std::auto_ptr < reco::PFCandidateCollection > | pfC_ |
Collection of primary PFCandidates to be transmitted to the Event. More... | |
double | ptErrorSecondary_ |
Static Private Attributes | |
static const reco::PFCandidate::Flags | fT_FROM_DISP_ = PFCandidate::T_FROM_DISP |
static const reco::PFCandidate::Flags | fT_TO_DISP_ = PFCandidate::T_TO_DISP |
static const double | pion_mass2 = 0.0194 |
Useful constants. More... | |
Based on a class from : V. Roberfroid, February 2008.
Definition at line 16 of file PFCandConnector.h.
|
inline |
Definition at line 20 of file PFCandConnector.h.
References bCalibPrimary_, bCorrect_, debug_, dptRel_MergedTrack_, dptRel_PrimaryTrack_, fConst_, fExp_, fNorm_, pfC_, and ptErrorSecondary_.
|
private |
Analyse nuclear interactions where a primary or merged track is present.
Definition at line 157 of file PFCandConnector.cc.
|
private |
Analyse nuclear interactions where a secondary track is present.
Definition at line 335 of file PFCandConnector.cc.
std::auto_ptr< reco::PFCandidateCollection > PFCandConnector::connect | ( | std::auto_ptr< reco::PFCandidateCollection > & | pfCand | ) |
Definition at line 54 of file PFCandConnector.cc.
Referenced by Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea::__init__(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView::_createItem(), Vispa.Gui.BoxContentDialog.BoxContentDialog::addButton(), Vispa.Gui.ToolBoxContainer.ToolBoxContainer::addWidget(), Vispa.Plugins.Browser.BrowserTab.BrowserTab::setController(), and Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController::updateViewMenu().
|
private |
Definition at line 498 of file PFCandConnector.cc.
|
private |
Definition at line 482 of file PFCandConnector.cc.
|
private |
Return a calibration factor for a reconstructed nuclear interaction.
Definition at line 517 of file PFCandConnector.cc.
|
inline |
Definition at line 64 of file PFCandConnector.h.
|
inline |
Flag to apply the correction procedure for nuclear interactions
Flag to calibrate the reconstructed nuclear interactions with primary or merged tracks
Definition at line 35 of file PFCandConnector.h.
References edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
void PFCandConnector::setParameters | ( | bool | bCorrect, |
bool | bCalibPrimary, | ||
double | dptRel_PrimaryTrack, | ||
double | dptRel_MergedTrack, | ||
double | ptErrorSecondary, | ||
const std::vector< double > & | nuclCalibFactors | ||
) |
Definition at line 16 of file PFCandConnector.cc.
|
private |
Calibration parameters for the reconstructed nuclear interactions.
Definition at line 97 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
Definition at line 94 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
A mask to define the candidates which shall not be transmitted.
Definition at line 90 of file PFCandConnector.h.
|
private |
Parameters.
Definition at line 93 of file PFCandConnector.h.
Referenced by PFCandConnector(), and setDebug().
|
private |
Definition at line 104 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
Definition at line 103 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
Definition at line 98 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
Definition at line 100 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
private |
Definition at line 99 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
staticprivate |
Definition at line 110 of file PFCandConnector.h.
|
staticprivate |
Definition at line 109 of file PFCandConnector.h.
|
private |
Collection of primary PFCandidates to be transmitted to the Event.
Definition at line 88 of file PFCandConnector.h.
Referenced by PFCandConnector().
|
staticprivate |
Useful constants.
Definition at line 108 of file PFCandConnector.h.
|
private |
Definition at line 105 of file PFCandConnector.h.
Referenced by PFCandConnector().