CMS 3D CMS Logo

reco::ElectronPixelSeed Class Reference

ElectronPixelSeed is a seed object constructed from a supercluster and 2 PixelRecHits. More...

#include <DataFormats/EgammaReco/interface/ElectronPixelSeed.h>

Inheritance diagram for reco::ElectronPixelSeed:

TrajectorySeed

List of all members.

Public Types

typedef edm::OwnVector
< TrackingRecHit
recHitContainer

Public Member Functions

ElectronPixelSeedclone () const
 ElectronPixelSeed (edm::Ref< SuperClusterCollection > &scl, const TrajectorySeed &seed)
 ElectronPixelSeed (edm::Ref< SuperClusterCollection > &seed, PTrajectoryStateOnDet &pts, recHitContainer &rh, PropagationDirection &dir)
 Constructor from two hits.
 ElectronPixelSeed (const ElectronPixelSeed &)
 ElectronPixelSeed ()
TrackCharge getCharge () const
ElectronPixelSeedoperator= (const ElectronPixelSeed &)
SuperClusterRef superCluster () const
virtual ~ElectronPixelSeed ()

Static Public Member Functions

static std::string const & name ()

Private Attributes

SuperClusterRef theSuperCluster
 Pointer to the electromagnetic super cluster.


Detailed Description

ElectronPixelSeed is a seed object constructed from a supercluster and 2 PixelRecHits.

Author:
U.Berthon, C.Charlot, LLR Palaiseau
Version:
1st Version May 30, 2006

Definition at line 26 of file ElectronPixelSeed.h.


Member Typedef Documentation

typedef edm::OwnVector<TrackingRecHit> reco::ElectronPixelSeed::recHitContainer

Reimplemented from TrajectorySeed.

Definition at line 30 of file ElectronPixelSeed.h.


Constructor & Destructor Documentation

ElectronPixelSeed::ElectronPixelSeed (  ) 

Definition at line 5 of file ElectronPixelSeed.cc.

Referenced by clone().

00006  : TrajectorySeed()
00007 {
00008 }

ElectronPixelSeed::ElectronPixelSeed ( const ElectronPixelSeed seed  ) 

Definition at line 24 of file ElectronPixelSeed.cc.

References theSuperCluster.

00025  : TrajectorySeed(seed)
00026  {
00027   theSuperCluster=seed.theSuperCluster;
00028 }

ElectronPixelSeed::~ElectronPixelSeed (  )  [virtual]

Definition at line 37 of file ElectronPixelSeed.cc.

00038  { }

ElectronPixelSeed::ElectronPixelSeed ( edm::Ref< SuperClusterCollection > &  seed,
PTrajectoryStateOnDet pts,
recHitContainer rh,
PropagationDirection dir 
)

Constructor from two hits.

Definition at line 10 of file ElectronPixelSeed.cc.

References theSuperCluster.

00011 : TrajectorySeed(pts,rh,dir)
00012 {
00013 
00014   theSuperCluster = scl;
00015 }

ElectronPixelSeed::ElectronPixelSeed ( edm::Ref< SuperClusterCollection > &  scl,
const TrajectorySeed seed 
)

Definition at line 17 of file ElectronPixelSeed.cc.

References theSuperCluster.

00018 : TrajectorySeed(seed)
00019 {
00020 
00021   theSuperCluster = scl;
00022 }


Member Function Documentation

ElectronPixelSeed* reco::ElectronPixelSeed::clone ( void   )  const [inline, virtual]

Reimplemented from TrajectorySeed.

Definition at line 55 of file ElectronPixelSeed.h.

References ElectronPixelSeed().

00055 {return new ElectronPixelSeed( * this); }

TrackCharge reco::ElectronPixelSeed::getCharge (  )  const [inline]

Definition at line 53 of file ElectronPixelSeed.h.

References LocalTrajectoryParameters::charge(), PTrajectoryStateOnDet::parameters(), and TrajectorySeed::startingState().

00053 {return startingState().parameters().charge();}

static std::string const& reco::ElectronPixelSeed::name (  )  [inline, static]

Definition at line 31 of file ElectronPixelSeed.h.

References name_.

00032     { 
00033       static std::string const name_("ElectronPixelSeed");
00034       return name_;
00035     }

ElectronPixelSeed & ElectronPixelSeed::operator= ( const ElectronPixelSeed seed  ) 

Definition at line 30 of file ElectronPixelSeed.cc.

References theSuperCluster.

00031  {
00032    TrajectorySeed::operator=(seed) ;
00033    theSuperCluster = seed.theSuperCluster ;
00034    return *this ;
00035  }

SuperClusterRef reco::ElectronPixelSeed::superCluster (  )  const [inline]

Definition at line 49 of file ElectronPixelSeed.h.

References theSuperCluster.

00049 {return theSuperCluster; }


Member Data Documentation

SuperClusterRef reco::ElectronPixelSeed::theSuperCluster [private]

Pointer to the electromagnetic super cluster.

Definition at line 60 of file ElectronPixelSeed.h.

Referenced by ElectronPixelSeed(), operator=(), and superCluster().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:51:05 2009 for CMSSW by  doxygen 1.5.4