#include <PFBlockElementBrem.h>
Public Member Functions | |
PFBlockElement * | clone () const |
necessary to have the edm::OwnVector<PFBlockElement> working | |
double | DeltaP () const |
void | Dump (std::ostream &out=std::cout, const char *tab=" ") const |
print the object inside the element | |
reco::GsfTrackRef | GsftrackRef () const |
GsfPFRecTrackRef | GsftrackRefPF () const |
unsigned int | indTrajPoint () const |
PFBlockElementBrem (const GsfPFRecTrackRef &gsfref, const double DeltaP, const double SigmaDeltaP, const unsigned int indTrajPoint) | |
PFBlockElementBrem () | |
const math::XYZPointF & | positionAtECALEntrance () const |
double | SigmaDeltaP () const |
const PFRecTrack & | trackPF () const |
Private Attributes | |
double | deltaP_ |
reco::GsfTrackRef | GsftrackRef_ |
reference to the corresponding track | |
GsfPFRecTrackRef | GsftrackRefPF_ |
reference to the corresponding track (transient) | |
unsigned int | indPoint_ |
math::XYZPointF | positionAtECALEntrance_ |
double | sigmadeltaP_ |
Track Element.
this class contains a reference to a PFRecTrack
Definition at line 17 of file PFBlockElementBrem.h.
reco::PFBlockElementBrem::PFBlockElementBrem | ( | ) | [inline] |
PFBlockElementBrem::PFBlockElementBrem | ( | const GsfPFRecTrackRef & | gsfref, |
const double | DeltaP, | ||
const double | SigmaDeltaP, | ||
const unsigned int | indTrajPoint | ||
) |
Definition at line 13 of file PFBlockElementBrem.cc.
References reco::PFTrajectoryPoint::ECALEntrance, GsftrackRefPF(), indPoint_, reco::PFTrajectoryPoint::isValid(), reco::PFTrajectoryPoint::position(), and positionAtECALEntrance_.
: PFBlockElement( BREM ), GsftrackRefPF_( gsfref ), GsftrackRef_( gsfref->gsfTrackRef() ), deltaP_(DeltaP), sigmadeltaP_(SigmaDeltaP), indPoint_(indTrajPoint){ const reco::PFTrajectoryPoint& atECAL = ((*GsftrackRefPF()).PFRecBrem()[(indPoint_-2)]).extrapolatedPoint( reco::PFTrajectoryPoint::ECALEntrance ); if( atECAL.isValid() ) positionAtECALEntrance_.SetCoordinates( atECAL.position().x(), atECAL.position().y(), atECAL.position().z() ); }
PFBlockElement* reco::PFBlockElementBrem::clone | ( | ) | const [inline, virtual] |
necessary to have the edm::OwnVector<PFBlockElement> working
Implements reco::PFBlockElement.
Definition at line 25 of file PFBlockElementBrem.h.
References PFBlockElementBrem().
{ return new PFBlockElementBrem(*this); }
double reco::PFBlockElementBrem::DeltaP | ( | ) | const [inline] |
void reco::PFBlockElementBrem::Dump | ( | std::ostream & | out = std::cout , |
const char * | tab = " " |
||
) | const [virtual] |
print the object inside the element
Reimplemented from reco::PFBlockElement.
reco::GsfTrackRef reco::PFBlockElementBrem::GsftrackRef | ( | ) | const [inline] |
Definition at line 35 of file PFBlockElementBrem.h.
References GsftrackRef_.
{ return GsftrackRef_; }
GsfPFRecTrackRef reco::PFBlockElementBrem::GsftrackRefPF | ( | ) | const [inline] |
Definition at line 30 of file PFBlockElementBrem.h.
References GsftrackRefPF_.
Referenced by PFBlockAlgo::link(), DisplayManager::loadGPFBlocks(), PFBlockElementBrem(), DisplayManager::retrieveBadBrems(), and trackPF().
{ return GsftrackRefPF_; }
unsigned int reco::PFBlockElementBrem::indTrajPoint | ( | ) | const [inline] |
Definition at line 45 of file PFBlockElementBrem.h.
References indPoint_.
Referenced by DisplayManager::loadGPFBlocks(), DisplayManager::retrieveBadBrems(), PFElectronAlgo::SetIDOutputs(), and PFElectronAlgo::SetLinks().
{return indPoint_;}
const math::XYZPointF& reco::PFBlockElementBrem::positionAtECALEntrance | ( | ) | const [inline] |
Definition at line 48 of file PFBlockElementBrem.h.
References positionAtECALEntrance_.
Referenced by PFElectronAlgo::SetCandidates(), and PFElectronAlgo::SetLinks().
{ return positionAtECALEntrance_; }
double reco::PFBlockElementBrem::SigmaDeltaP | ( | ) | const [inline] |
const PFRecTrack& reco::PFBlockElementBrem::trackPF | ( | ) | const [inline] |
Definition at line 39 of file PFBlockElementBrem.h.
References GsftrackRefPF(), and indPoint_.
{ return ((*GsftrackRefPF()).PFRecBrem()[(indPoint_-2)]);}
double reco::PFBlockElementBrem::deltaP_ [private] |
Definition at line 61 of file PFBlockElementBrem.h.
Referenced by DeltaP(), and HistoData::Dump().
reference to the corresponding track
Definition at line 59 of file PFBlockElementBrem.h.
Referenced by GsftrackRef().
reference to the corresponding track (transient)
Definition at line 56 of file PFBlockElementBrem.h.
Referenced by HistoData::Dump(), and GsftrackRefPF().
unsigned int reco::PFBlockElementBrem::indPoint_ [private] |
Definition at line 63 of file PFBlockElementBrem.h.
Referenced by HistoData::Dump(), indTrajPoint(), PFBlockElementBrem(), and trackPF().
Definition at line 64 of file PFBlockElementBrem.h.
Referenced by PFBlockElementBrem(), and positionAtECALEntrance().
double reco::PFBlockElementBrem::sigmadeltaP_ [private] |
Definition at line 62 of file PFBlockElementBrem.h.
Referenced by HistoData::Dump(), and SigmaDeltaP().