test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HDShowerParametrization Class Reference

#include <HDShowerParametrization.h>

Public Member Functions

double alpe1 () const
 
double alpe2 () const
 
double alph1 () const
 
double alph2 () const
 
double bete1 () const
 
double bete2 () const
 
double beth1 () const
 
double beth2 () const
 
double e1 () const
 
double e2 () const
 
const ECALPropertiesecalProperties () const
 
double emax () const
 
double emid () const
 
double emin () const
 
const HCALPropertieshcalProperties () const
 
 HDShowerParametrization (const ECALProperties *ecal, const HCALProperties *hcal, const HSParameters *hadronshower)
 
const HSParametershsParameters () const
 
double part1 () const
 
double part2 () const
 
double r1 () const
 
double r2 () const
 
double r3 () const
 
void setCase (int choice)
 
virtual ~HDShowerParametrization ()
 

Private Attributes

int theCase
 
const ECALPropertiestheECAL
 
const HCALPropertiestheHCAL
 
const HSParameterstheHSParameters
 

Detailed Description

Hadronic Shower parametrization utilities according to G. Grindhammer et al. in a way implemeted in CMSJET

Author
Salavat Abdullin
Date
: 20.10.2004

Definition at line 15 of file HDShowerParametrization.h.

Constructor & Destructor Documentation

HDShowerParametrization::HDShowerParametrization ( const ECALProperties ecal,
const HCALProperties hcal,
const HSParameters hadronshower 
)
inline

Definition at line 19 of file HDShowerParametrization.h.

21  :
22  theECAL(ecal),
23  theHCAL(hcal),
24  theHSParameters(hadronshower){}
const HSParameters * theHSParameters
const ECALProperties * theECAL
const HCALProperties * theHCAL
virtual HDShowerParametrization::~HDShowerParametrization ( )
inlinevirtual

Definition at line 26 of file HDShowerParametrization.h.

26 { }

Member Function Documentation

double HDShowerParametrization::alpe1 ( ) const
inline

Definition at line 55 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

55 { if(theCase==1) return 1.08; else return 1.30; }
double HDShowerParametrization::alpe2 ( ) const
inline

Definition at line 56 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

56 { if(theCase==1) return 0.24; else return 0.255; }
double HDShowerParametrization::alph1 ( ) const
inline

Definition at line 59 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

59 { if(theCase==1) return 1.17; else return 0.38; }
double HDShowerParametrization::alph2 ( ) const
inline

Definition at line 60 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

60 { if(theCase==1) return 0.21; else return 0.23; }
double HDShowerParametrization::bete1 ( ) const
inline

Definition at line 57 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

57 { if(theCase==1) return 0.478; else return 0.289; }
double HDShowerParametrization::bete2 ( ) const
inline

Definition at line 58 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

58 { if(theCase==1) return 0.135; else return 0.010; }
double HDShowerParametrization::beth1 ( ) const
inline

Definition at line 61 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

61 { if(theCase==1) return 2.10; else return 0.83; }
double HDShowerParametrization::beth2 ( ) const
inline

Definition at line 62 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

62 { if(theCase==1) return 0.72; else return 0.049; }
double HDShowerParametrization::e1 ( ) const
inline

Definition at line 53 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

53 { return 0.35; }
double HDShowerParametrization::e2 ( ) const
inline

Definition at line 54 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

54 { return 0.09; }
const ECALProperties* HDShowerParametrization::ecalProperties ( ) const
inline

Definition at line 28 of file HDShowerParametrization.h.

References theECAL.

Referenced by HDShower::HDShower(), HFShower::HFShower(), and HDRShower::setFuncParam().

28  {
29  return theECAL;
30  }
const ECALProperties * theECAL
double HDShowerParametrization::emax ( ) const
inline

Definition at line 51 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

51 { return 500.; }
double HDShowerParametrization::emid ( ) const
inline

Definition at line 49 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

49 { return 10.; }
double HDShowerParametrization::emin ( ) const
inline

Definition at line 47 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

47 { return 2.;}
const HCALProperties* HDShowerParametrization::hcalProperties ( ) const
inline

Definition at line 32 of file HDShowerParametrization.h.

References theHCAL.

Referenced by HDShower::HDShower(), HFShower::HFShower(), and HDRShower::setFuncParam().

32  {
33  return theHCAL;
34  }
const HCALProperties * theHCAL
const HSParameters* HDShowerParametrization::hsParameters ( ) const
inline

Definition at line 36 of file HDShowerParametrization.h.

References theHSParameters.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

36  {
37  return theHSParameters;
38  }
const HSParameters * theHSParameters
double HDShowerParametrization::part1 ( ) const
inline

Definition at line 63 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

63 { if(theCase==1) return 0.751; else return 0.509; }
double HDShowerParametrization::part2 ( ) const
inline

Definition at line 64 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

64 { if(theCase==1) return 0.177; else return 0.021; }
double HDShowerParametrization::r1 ( ) const
inline

Definition at line 65 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

65 { return 0.0124; }
double HDShowerParametrization::r2 ( ) const
inline

Definition at line 66 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

66 { return 0.359; }
double HDShowerParametrization::r3 ( ) const
inline

Definition at line 67 of file HDShowerParametrization.h.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

67 { return 0.0511; }
void HDShowerParametrization::setCase ( int  choice)
inline

Definition at line 41 of file HDShowerParametrization.h.

References theCase.

Referenced by HDShower::HDShower(), and HFShower::HFShower().

41  {
42  if(choice < 1 || choice > 2) theCase = 2;
43  else theCase = choice;
44  }

Member Data Documentation

int HDShowerParametrization::theCase
private

Definition at line 75 of file HDShowerParametrization.h.

Referenced by alpe1(), alpe2(), alph1(), alph2(), bete1(), bete2(), beth1(), beth2(), part1(), part2(), and setCase().

const ECALProperties* HDShowerParametrization::theECAL
private

Definition at line 71 of file HDShowerParametrization.h.

Referenced by ecalProperties().

const HCALProperties* HDShowerParametrization::theHCAL
private

Definition at line 72 of file HDShowerParametrization.h.

Referenced by hcalProperties().

const HSParameters* HDShowerParametrization::theHSParameters
private

Definition at line 73 of file HDShowerParametrization.h.

Referenced by hsParameters().