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 PreshowerClusterShape &)
 Copy contructor. More...
 
 PreshowerClusterShape (const std::vector< float > &stripEnergies, const int plane)
 constructor from strip energies 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.

10  {
11  stripEnergies_ = stripEnergies;
12  plane_ = plane;
13 }

References plane(), plane_, and stripEnergies_.

◆ PreshowerClusterShape() [3/3]

PreshowerClusterShape::PreshowerClusterShape ( const PreshowerClusterShape b)

Copy contructor.

Definition at line 15 of file PreshowerClusterShape.cc.

15  {
16  stripEnergies_ = b.stripEnergies_;
17  plane_ = b.plane_;
18  sc_ref_ = b.sc_ref_;
19 }

References b, plane_, sc_ref_, and stripEnergies_.

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.

34 { return stripEnergies_; }

References stripEnergies_.

◆ plane()

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

Preshower plane.

Definition at line 28 of file PreshowerClusterShape.h.

28 { return plane_; }

References plane_.

Referenced by PreshowerClusterShape().

◆ setSCRef()

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

Definition at line 36 of file PreshowerClusterShape.h.

36 { sc_ref_ = r; }

References alignCSCRings::r, and sc_ref_.

Referenced by PreshowerClusterShapeProducer::produce().

◆ superCluster()

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

Associated SuperCluster;.

Definition at line 31 of file PreshowerClusterShape.h.

31 { return sc_ref_; }

References sc_ref_.

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

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

b
double b
Definition: hdecay.h:118
reco::PreshowerClusterShape::stripEnergies_
std::vector< float > stripEnergies_
used strip energies
Definition: PreshowerClusterShape.h:45
alignCSCRings.r
r
Definition: alignCSCRings.py:93
reco::PreshowerClusterShape::plane
int plane() const
Preshower plane.
Definition: PreshowerClusterShape.h:28
reco::PreshowerClusterShape::sc_ref_
SuperClusterRef sc_ref_
Associated super cluster;.
Definition: PreshowerClusterShape.h:42
reco::PreshowerClusterShape::plane_
int plane_
Definition: PreshowerClusterShape.h:39