CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
MaterialInformation Class Reference

#include <MaterialInformation.h>

Public Member Functions

const char * getName () const
 
int id () const
 
double interactionLength () const
 
 MaterialInformation (std::string vname, int id=0, float eta=0, float phi=0, float length=0, float radlen=0, float intlen=0)
 
 MaterialInformation ()
 
double radiationLength () const
 
void setID (int i)
 
void setInteractionLength (double i)
 
void setRadiationLength (double r)
 
void setStepLength (double l)
 
void setTrackEta (double e)
 
void setTrackPhi (double f)
 
double stepLength () const
 
double trackEta () const
 
double trackPhi () const
 
std::string vname () const
 

Static Public Member Functions

static const char * name ()
 

Protected Attributes

float eta_
 
int id_
 
float intlen_
 
float length_
 
float phi_
 
float radlen_
 
std::string vname_
 

Detailed Description

Definition at line 9 of file MaterialInformation.h.

Constructor & Destructor Documentation

MaterialInformation::MaterialInformation ( std::string  vname,
int  id = 0,
float  eta = 0,
float  phi = 0,
float  length = 0,
float  radlen = 0,
float  intlen = 0 
)
inline
MaterialInformation::MaterialInformation ( )
inline

Member Function Documentation

const char* MaterialInformation::getName ( void  ) const
inline

Definition at line 18 of file MaterialInformation.h.

References name().

Referenced by plotting.Plot::draw().

18 { return name(); }
static const char * name()
int MaterialInformation::id ( void  ) const
inline

Definition at line 20 of file MaterialInformation.h.

References id_.

Referenced by operator<<().

20 { return id_; }
double MaterialInformation::interactionLength ( ) const
inline

Definition at line 34 of file MaterialInformation.h.

References intlen_.

Referenced by operator<<().

34 { return intlen_; }
static const char* MaterialInformation::name ( void  )
inlinestatic
double MaterialInformation::radiationLength ( ) const
inline

Definition at line 32 of file MaterialInformation.h.

References radlen_.

Referenced by operator<<().

32 { return radlen_; }
void MaterialInformation::setID ( int  i)
inline

Definition at line 21 of file MaterialInformation.h.

References mps_fire::i, and id_.

void MaterialInformation::setInteractionLength ( double  i)
inline

Definition at line 35 of file MaterialInformation.h.

References mps_fire::i, and intlen_.

void MaterialInformation::setRadiationLength ( double  r)
inline

Definition at line 33 of file MaterialInformation.h.

References alignCSCRings::r, and radlen_.

void MaterialInformation::setStepLength ( double  l)
inline

Definition at line 31 of file MaterialInformation.h.

References cmsLHEtoEOSManager::l, and length_.

void MaterialInformation::setTrackEta ( double  e)
inline

Definition at line 25 of file MaterialInformation.h.

References alignCSCRings::e, and eta_.

void MaterialInformation::setTrackPhi ( double  f)
inline

Definition at line 27 of file MaterialInformation.h.

References validate-o2o-wbm::f, and phi_.

double MaterialInformation::stepLength ( ) const
inline

Definition at line 30 of file MaterialInformation.h.

References length_.

Referenced by operator<<().

30 { return length_; }
double MaterialInformation::trackEta ( ) const
inline

Definition at line 24 of file MaterialInformation.h.

References eta_.

Referenced by operator<<().

24 { return eta_; }
double MaterialInformation::trackPhi ( ) const
inline

Definition at line 26 of file MaterialInformation.h.

References phi_.

Referenced by operator<<().

26 { return phi_; }
std::string MaterialInformation::vname ( ) const
inline

Definition at line 19 of file MaterialInformation.h.

References vname_.

Referenced by operator<<().

19 { return vname_; }

Member Data Documentation

float MaterialInformation::eta_
protected

Definition at line 40 of file MaterialInformation.h.

Referenced by setTrackEta(), and trackEta().

int MaterialInformation::id_
protected

Definition at line 39 of file MaterialInformation.h.

Referenced by id(), and setID().

float MaterialInformation::intlen_
protected

Definition at line 44 of file MaterialInformation.h.

Referenced by interactionLength(), and setInteractionLength().

float MaterialInformation::length_
protected

Definition at line 42 of file MaterialInformation.h.

Referenced by setStepLength(), and stepLength().

float MaterialInformation::phi_
protected

Definition at line 41 of file MaterialInformation.h.

Referenced by setTrackPhi(), and trackPhi().

float MaterialInformation::radlen_
protected

Definition at line 43 of file MaterialInformation.h.

Referenced by radiationLength(), and setRadiationLength().

std::string MaterialInformation::vname_
protected

Definition at line 38 of file MaterialInformation.h.

Referenced by vname().