CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::PFBlockElementBrem Class Reference

Track Element. More...

#include <PFBlockElementBrem.h>

Inheritance diagram for reco::PFBlockElementBrem:
reco::PFBlockElement

List of all members.

Public Member Functions

PFBlockElementclone () 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::XYZPointFpositionAtECALEntrance () const
double SigmaDeltaP () const
const PFRecTracktrackPF () 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_

Detailed Description

Track Element.

this class contains a reference to a PFRecTrack

Definition at line 17 of file PFBlockElementBrem.h.


Constructor & Destructor Documentation

reco::PFBlockElementBrem::PFBlockElementBrem ( ) [inline]

Definition at line 20 of file PFBlockElementBrem.h.

Referenced by clone().

{} 
PFBlockElementBrem::PFBlockElementBrem ( const GsfPFRecTrackRef gsfref,
const double  DeltaP,
const double  SigmaDeltaP,
const unsigned int  indTrajPoint 
)

Member Function Documentation

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]

Definition at line 43 of file PFBlockElementBrem.h.

References deltaP_.

{return deltaP_;}
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]
Returns:
reference to the corresponding Track

Definition at line 35 of file PFBlockElementBrem.h.

References GsftrackRef_.

                                        {
      return GsftrackRef_;
    }
GsfPFRecTrackRef reco::PFBlockElementBrem::GsftrackRefPF ( ) const [inline]
unsigned int reco::PFBlockElementBrem::indTrajPoint ( ) const [inline]
const math::XYZPointF& reco::PFBlockElementBrem::positionAtECALEntrance ( ) const [inline]
Returns:
position at ECAL entrance

Definition at line 48 of file PFBlockElementBrem.h.

References positionAtECALEntrance_.

Referenced by PFElectronAlgo::SetCandidates(), and PFElectronAlgo::SetLinks().

double reco::PFBlockElementBrem::SigmaDeltaP ( ) const [inline]

Definition at line 44 of file PFBlockElementBrem.h.

References sigmadeltaP_.

{return sigmadeltaP_;}
const PFRecTrack& reco::PFBlockElementBrem::trackPF ( ) const [inline]

Definition at line 39 of file PFBlockElementBrem.h.

References GsftrackRefPF(), and indPoint_.

      { return ((*GsftrackRefPF()).PFRecBrem()[(indPoint_-2)]);}     

Member Data Documentation

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().

Definition at line 62 of file PFBlockElementBrem.h.

Referenced by HistoData::Dump(), and SigmaDeltaP().