CMS 3D CMS Logo

reco::PreshowerClusterShape Class Reference

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

List of all members.

Public Member Functions

virtual std::vector< float > getStripEnergies () const
 Energies of component strips.
int plane () const
 Preshower plane.
 PreshowerClusterShape (const PreshowerClusterShape &)
 Copy contructor.
 PreshowerClusterShape (const std::vector< float > stripEnergies, const int plane)
 constructor from strip energies
 PreshowerClusterShape ()
 default constructor
void setSCRef (const SuperClusterRef &r)
SuperClusterRef superCluster () const
 Associated SuperCluster;.
virtual ~PreshowerClusterShape ()

Private Attributes

int plane_
SuperClusterRef sc_ref_
 Associated super cluster;.
std::vector< float > stripEnergies_
 used strip energies


Detailed Description

Definition at line 14 of file PreshowerClusterShape.h.


Constructor & Destructor Documentation

reco::PreshowerClusterShape::PreshowerClusterShape (  )  [inline]

default constructor

Definition at line 18 of file PreshowerClusterShape.h.

00018 { };

PreshowerClusterShape::~PreshowerClusterShape (  )  [virtual]

Definition at line 8 of file PreshowerClusterShape.cc.

00008 { }

PreshowerClusterShape::PreshowerClusterShape ( const std::vector< float >  stripEnergies,
const int  plane 
)

constructor from strip energies

Definition at line 11 of file PreshowerClusterShape.cc.

References plane_, and stripEnergies_.

00013 {
00014   stripEnergies_ = stripEnergies;
00015   plane_ = plane;
00016 }

PreshowerClusterShape::PreshowerClusterShape ( const PreshowerClusterShape b  ) 

Copy contructor.

Definition at line 18 of file PreshowerClusterShape.cc.

References plane_, sc_ref_, and stripEnergies_.

00019 {
00020   stripEnergies_ = b.stripEnergies_;
00021   plane_ = b.plane_;
00022   sc_ref_=b.sc_ref_;
00023 }


Member Function Documentation

virtual std::vector<float> reco::PreshowerClusterShape::getStripEnergies (  )  const [inline, virtual]

Energies of component strips.

Definition at line 36 of file PreshowerClusterShape.h.

References stripEnergies_.

00036 { return stripEnergies_; }

int reco::PreshowerClusterShape::plane (  )  const [inline]

Preshower plane.

Definition at line 30 of file PreshowerClusterShape.h.

References plane_.

00030 { return plane_; }

void reco::PreshowerClusterShape::setSCRef ( const SuperClusterRef r  )  [inline]

Definition at line 38 of file PreshowerClusterShape.h.

References sc_ref_.

Referenced by PreshowerClusterShapeProducer::produce().

00038 { sc_ref_ = r; }

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

Associated SuperCluster;.

Definition at line 33 of file PreshowerClusterShape.h.

References sc_ref_.

00033 {return sc_ref_;}


Member Data Documentation

int reco::PreshowerClusterShape::plane_ [private]

Definition at line 42 of file PreshowerClusterShape.h.

Referenced by plane(), and PreshowerClusterShape().

SuperClusterRef reco::PreshowerClusterShape::sc_ref_ [private]

Associated super cluster;.

Definition at line 45 of file PreshowerClusterShape.h.

Referenced by PreshowerClusterShape(), setSCRef(), and superCluster().

std::vector<float> reco::PreshowerClusterShape::stripEnergies_ [private]

used strip energies

Definition at line 48 of file PreshowerClusterShape.h.

Referenced by getStripEnergies(), and PreshowerClusterShape().


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