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 | 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 17 of file HDShowerParametrization.h.

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

Definition at line 20 of file HDShowerParametrization.h.

20 {}

Member Function Documentation

double HDShowerParametrization::alpe1 ( ) const
inline

Definition at line 45 of file HDShowerParametrization.h.

References theCase.

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

45  {
46  if (theCase == 1)
47  return 1.08;
48  else
49  return 1.30;
50  }
double HDShowerParametrization::alpe2 ( ) const
inline

Definition at line 51 of file HDShowerParametrization.h.

References theCase.

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

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

Definition at line 69 of file HDShowerParametrization.h.

References theCase.

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

69  {
70  if (theCase == 1)
71  return 1.17;
72  else
73  return 0.38;
74  }
double HDShowerParametrization::alph2 ( ) const
inline

Definition at line 75 of file HDShowerParametrization.h.

References theCase.

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

75  {
76  if (theCase == 1)
77  return 0.21;
78  else
79  return 0.23;
80  }
double HDShowerParametrization::bete1 ( ) const
inline

Definition at line 57 of file HDShowerParametrization.h.

References theCase.

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

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

Definition at line 63 of file HDShowerParametrization.h.

References theCase.

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

63  {
64  if (theCase == 1)
65  return 0.135;
66  else
67  return 0.010;
68  }
double HDShowerParametrization::beth1 ( ) const
inline

Definition at line 81 of file HDShowerParametrization.h.

References theCase.

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

81  {
82  if (theCase == 1)
83  return 2.10;
84  else
85  return 0.83;
86  }
double HDShowerParametrization::beth2 ( ) const
inline

Definition at line 87 of file HDShowerParametrization.h.

References theCase.

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

87  {
88  if (theCase == 1)
89  return 0.72;
90  else
91  return 0.049;
92  }
double HDShowerParametrization::e1 ( ) const
inline

Definition at line 43 of file HDShowerParametrization.h.

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

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

Definition at line 44 of file HDShowerParametrization.h.

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

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

Definition at line 22 of file HDShowerParametrization.h.

References theECAL.

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

22 { return theECAL; }
const ECALProperties * theECAL
double HDShowerParametrization::emax ( ) const
inline

Definition at line 41 of file HDShowerParametrization.h.

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

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

Definition at line 39 of file HDShowerParametrization.h.

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

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

Definition at line 37 of file HDShowerParametrization.h.

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

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

Definition at line 24 of file HDShowerParametrization.h.

References theHCAL.

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

24 { return theHCAL; }
const HCALProperties * theHCAL
const HSParameters* HDShowerParametrization::hsParameters ( ) const
inline

Definition at line 26 of file HDShowerParametrization.h.

References theHSParameters.

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

26 { return theHSParameters; }
const HSParameters * theHSParameters
double HDShowerParametrization::part1 ( ) const
inline

Definition at line 93 of file HDShowerParametrization.h.

References theCase.

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

93  {
94  if (theCase == 1)
95  return 0.751;
96  else
97  return 0.509;
98  }
double HDShowerParametrization::part2 ( ) const
inline

Definition at line 99 of file HDShowerParametrization.h.

References theCase.

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

99  {
100  if (theCase == 1)
101  return 0.177;
102  else
103  return 0.021;
104  }
double HDShowerParametrization::r1 ( ) const
inline

Definition at line 105 of file HDShowerParametrization.h.

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

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

Definition at line 106 of file HDShowerParametrization.h.

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

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

Definition at line 107 of file HDShowerParametrization.h.

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

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

Definition at line 29 of file HDShowerParametrization.h.

References theCase.

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

29  {
30  if (choice < 1 || choice > 2)
31  theCase = 2;
32  else
33  theCase = choice;
34  }

Member Data Documentation

int HDShowerParametrization::theCase
private
const ECALProperties* HDShowerParametrization::theECAL
private

Definition at line 110 of file HDShowerParametrization.h.

Referenced by ecalProperties().

const HCALProperties* HDShowerParametrization::theHCAL
private

Definition at line 111 of file HDShowerParametrization.h.

Referenced by hcalProperties().

const HSParameters* HDShowerParametrization::theHSParameters
private

Definition at line 112 of file HDShowerParametrization.h.

Referenced by hsParameters().