CMS 3D CMS Logo

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 17 of file PreshowerClusterShape.h.

References plane(), and ~PreshowerClusterShape().

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

Definition at line 8 of file PreshowerClusterShape.cc.

Referenced by PreshowerClusterShape().

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

constructor from strip energies

Definition at line 10 of file PreshowerClusterShape.cc.

References plane(), plane_, and stripEnergies_.

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

Copy contructor.

Definition at line 15 of file PreshowerClusterShape.cc.

References plane_, sc_ref_, and stripEnergies_.

15  {
17  plane_ = b.plane_;
18  sc_ref_ = b.sc_ref_;
19 }
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 34 of file PreshowerClusterShape.h.

References stripEnergies_.

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

Preshower plane.

Definition at line 28 of file PreshowerClusterShape.h.

References plane_.

Referenced by PreshowerClusterShape().

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

Definition at line 36 of file PreshowerClusterShape.h.

References alignCSCRings::r, and sc_ref_.

Referenced by PreshowerClusterShapeProducer::produce().

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

Associated SuperCluster;.

Definition at line 31 of file PreshowerClusterShape.h.

References sc_ref_.

Referenced by Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), and Electron.Electron::mvaIDTight().

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

Member Data Documentation

int reco::PreshowerClusterShape::plane_
private

Definition at line 39 of file PreshowerClusterShape.h.

Referenced by plane(), and PreshowerClusterShape().

SuperClusterRef reco::PreshowerClusterShape::sc_ref_
private

Associated super cluster;.

Definition at line 42 of file PreshowerClusterShape.h.

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

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

used strip energies

Definition at line 45 of file PreshowerClusterShape.h.

Referenced by getStripEnergies(), and PreshowerClusterShape().