CMS 3D CMS Logo

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes

reco::ElectronSeed Class Reference

#include <ElectronSeed.h>

Inheritance diagram for reco::ElectronSeed:
TrajectorySeed

List of all members.

Public Types

typedef edm::RefToBase
< CaloCluster
CaloClusterRef
typedef edm::Ref< TrackCollectionCtfTrackRef
typedef edm::OwnVector
< TrackingRecHit
RecHitContainer

Public Member Functions

CaloClusterRef caloCluster () const
ElectronSeedclone () const
CtfTrackRef ctfTrack () const
 Accessors.
float dPhi1 () const
float dPhi1Pos () const
float dPhi2 () const
float dPhi2Pos () const
float dRz1 () const
float dRz1Pos () const
float dRz2 () const
float dRz2Pos () const
 ElectronSeed (const TrajectorySeed &)
 ElectronSeed ()
 Construction of base attributes.
 ElectronSeed (PTrajectoryStateOnDet &pts, RecHitContainer &rh, PropagationDirection &dir)
TrackCharge getCharge () const
 Utility.
unsigned char hitsMask () const
float hoe1 () const
float hoe2 () const
bool isEcalDriven () const
bool isTrackerDriven () const
void setCaloCluster (const CaloClusterRef &, unsigned char hitsMask=0, int subDet2=0, int subDet1=0, float hoe1=std::numeric_limits< float >::infinity(), float hoe2=std::numeric_limits< float >::infinity())
void setCtfTrack (const CtfTrackRef &)
 Set additional info.
void setNegAttributes (float dRz2=std::numeric_limits< float >::infinity(), float dPhi2=std::numeric_limits< float >::infinity(), float dRz1=std::numeric_limits< float >::infinity(), float dPhi1=std::numeric_limits< float >::infinity())
void setPosAttributes (float dRz2=std::numeric_limits< float >::infinity(), float dPhi2=std::numeric_limits< float >::infinity(), float dRz1=std::numeric_limits< float >::infinity(), float dPhi1=std::numeric_limits< float >::infinity())
int subDet1 () const
int subDet2 () const
virtual ~ElectronSeed ()

Static Public Member Functions

static std::string const & name ()

Private Attributes

CaloClusterRef caloCluster_
CtfTrackRef ctfTrack_
float dPhi1_
float dPhi1Pos_
float dPhi2_
float dPhi2Pos_
float dRz1_
float dRz1Pos_
float dRz2_
float dRz2Pos_
float hcalDepth1OverEcal_
float hcalDepth2OverEcal_
unsigned char hitsMask_
bool isEcalDriven_
bool isTrackerDriven_
int subDet1_
int subDet2_

Detailed Description

ElectronSeed is a seed for gsf tracking, constructed from either a supercluster or a ctf track.

Author:
D.Chamont, U.Berthon, C.Charlot, LLR Palaiseau

Definition at line 28 of file ElectronSeed.h.


Member Typedef Documentation

Definition at line 33 of file ElectronSeed.h.

Definition at line 34 of file ElectronSeed.h.

Definition at line 32 of file ElectronSeed.h.


Constructor & Destructor Documentation

ElectronSeed::ElectronSeed ( )
ElectronSeed::ElectronSeed ( const TrajectorySeed seed)
ElectronSeed::ElectronSeed ( PTrajectoryStateOnDet pts,
RecHitContainer rh,
PropagationDirection dir 
)
ElectronSeed::~ElectronSeed ( ) [virtual]

Definition at line 103 of file ElectronSeed.cc.

 {}

Member Function Documentation

CaloClusterRef reco::ElectronSeed::caloCluster ( ) const [inline]

Definition at line 70 of file ElectronSeed.h.

References caloCluster_.

Referenced by ElectronSeedGenerator::addSeed().

{ return caloCluster_ ; }
ElectronSeed* reco::ElectronSeed::clone ( void  ) const [inline, virtual]

Reimplemented from TrajectorySeed.

Definition at line 46 of file ElectronSeed.h.

References ElectronSeed().

{ return new ElectronSeed(*this) ; }
CtfTrackRef reco::ElectronSeed::ctfTrack ( ) const [inline]

Accessors.

Definition at line 69 of file ElectronSeed.h.

References ctfTrack_.

{ return ctfTrack_ ; }
float reco::ElectronSeed::dPhi1 ( ) const [inline]

Definition at line 79 of file ElectronSeed.h.

References dPhi1_.

{ return dPhi1_ ; }
float reco::ElectronSeed::dPhi1Pos ( ) const [inline]

Definition at line 81 of file ElectronSeed.h.

References dPhi1Pos_.

{ return dPhi1Pos_ ; }
float reco::ElectronSeed::dPhi2 ( ) const [inline]

Definition at line 74 of file ElectronSeed.h.

References dPhi2_.

Referenced by ElectronSeedGenerator::addSeed(), and display_seed().

{ return dPhi2_ ; }
float reco::ElectronSeed::dPhi2Pos ( ) const [inline]

Definition at line 76 of file ElectronSeed.h.

References dPhi2Pos_.

Referenced by ElectronSeedGenerator::addSeed().

{ return dPhi2Pos_ ; }
float reco::ElectronSeed::dRz1 ( ) const [inline]

Definition at line 78 of file ElectronSeed.h.

References dRz1_.

{ return dRz1_ ; }
float reco::ElectronSeed::dRz1Pos ( ) const [inline]

Definition at line 80 of file ElectronSeed.h.

References dRz1Pos_.

{ return dRz1Pos_ ; }
float reco::ElectronSeed::dRz2 ( ) const [inline]

Definition at line 73 of file ElectronSeed.h.

References dRz2_.

Referenced by ElectronSeedGenerator::addSeed(), and display_seed().

{ return dRz2_ ; }
float reco::ElectronSeed::dRz2Pos ( ) const [inline]

Definition at line 75 of file ElectronSeed.h.

References dRz2Pos_.

Referenced by ElectronSeedGenerator::addSeed().

{ return dRz2Pos_ ; }
TrackCharge reco::ElectronSeed::getCharge ( ) const [inline]
unsigned char reco::ElectronSeed::hitsMask ( ) const [inline]

Definition at line 71 of file ElectronSeed.h.

References hitsMask_.

Referenced by ElectronSeedGenerator::addSeed().

{ return hitsMask_ ; }
float reco::ElectronSeed::hoe1 ( ) const [inline]

Definition at line 82 of file ElectronSeed.h.

References hcalDepth1OverEcal_.

{ return hcalDepth1OverEcal_ ; }
float reco::ElectronSeed::hoe2 ( ) const [inline]

Definition at line 83 of file ElectronSeed.h.

References hcalDepth2OverEcal_.

{ return hcalDepth2OverEcal_ ; }
bool reco::ElectronSeed::isEcalDriven ( ) const [inline]

Definition at line 88 of file ElectronSeed.h.

References isEcalDriven_.

{ return isEcalDriven_ ; }
bool reco::ElectronSeed::isTrackerDriven ( ) const [inline]

Definition at line 89 of file ElectronSeed.h.

References isTrackerDriven_.

{ return isTrackerDriven_ ; }
static std::string const& reco::ElectronSeed::name ( ) [inline, static]

Definition at line 36 of file ElectronSeed.h.

     {
      static std::string const name_("ElectronSeed") ;
      return name_;
     }
void ElectronSeed::setCaloCluster ( const CaloClusterRef scl,
unsigned char  hitsMask = 0,
int  subDet2 = 0,
int  subDet1 = 0,
float  hoe1 = std::numeric_limits<float>::infinity(),
float  hoe2 = std::numeric_limits<float>::infinity() 
)
void ElectronSeed::setCtfTrack ( const CtfTrackRef ctfTrack)

Set additional info.

Definition at line 64 of file ElectronSeed.cc.

References funct::true.

Referenced by GoodSeedProducer::produce(), and ElectronSeedMerger::produce().

void ElectronSeed::setNegAttributes ( float  dRz2 = std::numeric_limits<float>::infinity(),
float  dPhi2 = std::numeric_limits<float>::infinity(),
float  dRz1 = std::numeric_limits<float>::infinity(),
float  dPhi1 = std::numeric_limits<float>::infinity() 
)

Definition at line 86 of file ElectronSeed.cc.

Referenced by ElectronSeedGenerator::addSeed().

 {
  dRz2_ = dRz2 ;
  dPhi2_ = dPhi2 ;
  dRz1_ = dRz1 ;
  dPhi1_ = dPhi1 ;
 }
void ElectronSeed::setPosAttributes ( float  dRz2 = std::numeric_limits<float>::infinity(),
float  dPhi2 = std::numeric_limits<float>::infinity(),
float  dRz1 = std::numeric_limits<float>::infinity(),
float  dPhi1 = std::numeric_limits<float>::infinity() 
)

Definition at line 95 of file ElectronSeed.cc.

Referenced by ElectronSeedGenerator::addSeed().

int reco::ElectronSeed::subDet1 ( ) const [inline]

Definition at line 77 of file ElectronSeed.h.

References subDet1_.

{ return subDet1_ ; }
int reco::ElectronSeed::subDet2 ( ) const [inline]

Definition at line 72 of file ElectronSeed.h.

References subDet2_.

Referenced by display_seed().

{ return subDet2_ ; }

Member Data Documentation

Definition at line 94 of file ElectronSeed.h.

Referenced by caloCluster().

Definition at line 93 of file ElectronSeed.h.

Referenced by ctfTrack().

float reco::ElectronSeed::dPhi1_ [private]

Definition at line 103 of file ElectronSeed.h.

Referenced by dPhi1().

Definition at line 105 of file ElectronSeed.h.

Referenced by dPhi1Pos().

float reco::ElectronSeed::dPhi2_ [private]

Definition at line 98 of file ElectronSeed.h.

Referenced by dPhi2().

Definition at line 100 of file ElectronSeed.h.

Referenced by dPhi2Pos().

float reco::ElectronSeed::dRz1_ [private]

Definition at line 102 of file ElectronSeed.h.

Referenced by dRz1().

Definition at line 104 of file ElectronSeed.h.

Referenced by dRz1Pos().

float reco::ElectronSeed::dRz2_ [private]

Definition at line 97 of file ElectronSeed.h.

Referenced by dRz2().

Definition at line 99 of file ElectronSeed.h.

Referenced by dRz2Pos().

Definition at line 106 of file ElectronSeed.h.

Referenced by hoe1().

Definition at line 107 of file ElectronSeed.h.

Referenced by hoe2().

unsigned char reco::ElectronSeed::hitsMask_ [private]

Definition at line 95 of file ElectronSeed.h.

Referenced by hitsMask().

Definition at line 108 of file ElectronSeed.h.

Referenced by isEcalDriven().

Definition at line 109 of file ElectronSeed.h.

Referenced by isTrackerDriven().

Definition at line 101 of file ElectronSeed.h.

Referenced by subDet1().

Definition at line 96 of file ElectronSeed.h.

Referenced by subDet2().