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

◆ PreshowerClusterShape() [1/3]

reco::PreshowerClusterShape::PreshowerClusterShape ( )
inline

default constructor

Definition at line 17 of file PreshowerClusterShape.h.

17 {};

◆ ~PreshowerClusterShape()

PreshowerClusterShape::~PreshowerClusterShape ( )
virtual

Definition at line 8 of file PreshowerClusterShape.cc.

8 {}

◆ PreshowerClusterShape() [2/3]

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 }
std::vector< float > stripEnergies_
used strip energies
int plane() const
Preshower plane.

◆ PreshowerClusterShape() [3/3]

PreshowerClusterShape::PreshowerClusterShape ( const PreshowerClusterShape b)

Copy contructor.

Definition at line 15 of file PreshowerClusterShape.cc.

References b, plane_, sc_ref_, and stripEnergies_.

15  {
16  stripEnergies_ = b.stripEnergies_;
17  plane_ = b.plane_;
18  sc_ref_ = b.sc_ref_;
19 }
std::vector< float > stripEnergies_
used strip energies
double b
Definition: hdecay.h:118
SuperClusterRef sc_ref_
Associated super cluster;.

Member Function Documentation

◆ getStripEnergies()

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

◆ plane()

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

Preshower plane.

Definition at line 28 of file PreshowerClusterShape.h.

References plane_.

Referenced by PreshowerClusterShape().

◆ setSCRef()

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;.

◆ superCluster()

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

◆ plane_

int reco::PreshowerClusterShape::plane_
private

Definition at line 39 of file PreshowerClusterShape.h.

Referenced by plane(), and PreshowerClusterShape().

◆ sc_ref_

SuperClusterRef reco::PreshowerClusterShape::sc_ref_
private

Associated super cluster;.

Definition at line 42 of file PreshowerClusterShape.h.

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

◆ stripEnergies_

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

used strip energies

Definition at line 45 of file PreshowerClusterShape.h.

Referenced by getStripEnergies(), and PreshowerClusterShape().