CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
hgcal::Spot Class Reference

#include <Spot.h>

Public Member Functions

DetId detId () const
 
float energy () const
 
float fraction () const
 
bool isCore () const
 
unsigned int layer () const
 
float mip () const
 
int multiplicity () const
 
const double * row () const
 
 Spot (DetId detid, double energy, const std::vector< double > &row, unsigned int layer, float fraction, double mip)
 
int subdet () const
 
 ~Spot ()
 

Private Attributes

DetId detId_
 
float energy_
 
float fraction_
 
bool isCore_
 
unsigned int layer_
 
float mip_
 
int multiplicity_
 
std::vector< double > row_
 
int subdet_
 

Detailed Description

Definition at line 9 of file Spot.h.

Constructor & Destructor Documentation

hgcal::Spot::Spot ( DetId  detid,
double  energy,
const std::vector< double > &  row,
unsigned int  layer,
float  fraction,
double  mip 
)
inline

Definition at line 11 of file Spot.h.

11  :
unsigned int layer_
Definition: Spot.h:29
bool isCore_
Definition: Spot.h:34
int subdet_
Definition: Spot.h:33
float mip_
Definition: Spot.h:31
DetId detId_
Definition: Spot.h:26
float energy() const
Definition: Spot.h:16
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
unsigned int layer() const
Definition: Spot.h:21
std::vector< double > row_
Definition: Spot.h:28
float fraction() const
Definition: Spot.h:18
float energy_
Definition: Spot.h:27
float mip() const
Definition: Spot.h:19
const double * row() const
Definition: Spot.h:17
float fraction_
Definition: Spot.h:30
int multiplicity_
Definition: Spot.h:32
hgcal::Spot::~Spot ( )
inline

Definition at line 14 of file Spot.h.

14 {}

Member Function Documentation

DetId hgcal::Spot::detId ( ) const
inline

Definition at line 15 of file Spot.h.

References detId_.

15 {return detId_;}
DetId detId_
Definition: Spot.h:26
float hgcal::Spot::energy ( ) const
inline

Definition at line 16 of file Spot.h.

References energy_.

Referenced by Jet.Jet::rawEnergy().

16 {return energy_;}
float energy_
Definition: Spot.h:27
float hgcal::Spot::fraction ( ) const
inline

Definition at line 18 of file Spot.h.

References fraction_.

18 {return fraction_;}
float fraction_
Definition: Spot.h:30
bool hgcal::Spot::isCore ( ) const
inline

Definition at line 23 of file Spot.h.

References isCore_.

23 {return isCore_;}
bool isCore_
Definition: Spot.h:34
unsigned int hgcal::Spot::layer ( ) const
inline

Definition at line 21 of file Spot.h.

References layer_.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

21 { return layer_;}
unsigned int layer_
Definition: Spot.h:29
float hgcal::Spot::mip ( ) const
inline

Definition at line 19 of file Spot.h.

References mip_.

19 {return mip_;}
float mip_
Definition: Spot.h:31
int hgcal::Spot::multiplicity ( ) const
inline

Definition at line 20 of file Spot.h.

References multiplicity_.

20 {return multiplicity_;}
int multiplicity_
Definition: Spot.h:32
const double* hgcal::Spot::row ( ) const
inline

Definition at line 17 of file Spot.h.

References row_.

Referenced by hgcal::EGammaPCAHelper::printHits().

17 {return &row_[0];}
std::vector< double > row_
Definition: Spot.h:28
int hgcal::Spot::subdet ( ) const
inline

Definition at line 22 of file Spot.h.

References subdet_.

22 {return subdet_;}
int subdet_
Definition: Spot.h:33

Member Data Documentation

DetId hgcal::Spot::detId_
private

Definition at line 26 of file Spot.h.

Referenced by detId().

float hgcal::Spot::energy_
private

Definition at line 27 of file Spot.h.

Referenced by energy().

float hgcal::Spot::fraction_
private

Definition at line 30 of file Spot.h.

Referenced by fraction().

bool hgcal::Spot::isCore_
private

Definition at line 34 of file Spot.h.

Referenced by isCore().

unsigned int hgcal::Spot::layer_
private

Definition at line 29 of file Spot.h.

Referenced by layer().

float hgcal::Spot::mip_
private

Definition at line 31 of file Spot.h.

Referenced by mip().

int hgcal::Spot::multiplicity_
private

Definition at line 32 of file Spot.h.

Referenced by multiplicity().

std::vector<double> hgcal::Spot::row_
private

Definition at line 28 of file Spot.h.

Referenced by row().

int hgcal::Spot::subdet_
private

Definition at line 33 of file Spot.h.

Referenced by subdet().