CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
reco::PreshowerClusterShape Class Reference

#include <PreshowerClusterShape.h>

Public Member Functions

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

Private Attributes

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

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.

18 { };
PreshowerClusterShape::~PreshowerClusterShape ( )
virtual

Definition at line 8 of file PreshowerClusterShape.cc.

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

constructor from strip energies

Definition at line 11 of file PreshowerClusterShape.cc.

References plane(), plane_, and stripEnergies_.

13 {
14  stripEnergies_ = stripEnergies;
15  plane_ = plane;
16 }
int plane() const
Preshower plane.
std::vector< float > stripEnergies_
used strip energies
PreshowerClusterShape::PreshowerClusterShape ( const PreshowerClusterShape b)

Copy contructor.

Definition at line 18 of file PreshowerClusterShape.cc.

References plane_, sc_ref_, and stripEnergies_.

19 {
21  plane_ = b.plane_;
22  sc_ref_=b.sc_ref_;
23 }
std::vector< float > stripEnergies_
used strip energies
SuperClusterRef sc_ref_
Associated super cluster;.

Member Function Documentation

virtual std::vector<float> reco::PreshowerClusterShape::getStripEnergies ( ) const
inlinevirtual

Energies of component strips.

Definition at line 36 of file PreshowerClusterShape.h.

References stripEnergies_.

36 { return stripEnergies_; }
std::vector< float > stripEnergies_
used strip energies
int reco::PreshowerClusterShape::plane ( ) const
inline

Preshower plane.

Definition at line 30 of file PreshowerClusterShape.h.

References plane_.

Referenced by PreshowerClusterShape().

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

Definition at line 38 of file PreshowerClusterShape.h.

References alignCSCRings::r, and sc_ref_.

Referenced by PreshowerClusterShapeProducer::produce().

38 { sc_ref_ = r; }
SuperClusterRef sc_ref_
Associated super cluster;.
SuperClusterRef reco::PreshowerClusterShape::superCluster ( ) const
inline

Associated SuperCluster;.

Definition at line 33 of file PreshowerClusterShape.h.

References sc_ref_.

33 {return sc_ref_;}
SuperClusterRef sc_ref_
Associated super cluster;.

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