CMS 3D CMS Logo

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::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) {}

◆ ~HDShowerParametrization()

virtual HDShowerParametrization::~HDShowerParametrization ( )
inlinevirtual

Definition at line 20 of file HDShowerParametrization.h.

20 {}

Member Function Documentation

◆ alpe1()

double HDShowerParametrization::alpe1 ( ) const
inline

Definition at line 45 of file HDShowerParametrization.h.

45  {
46  if (theCase == 1)
47  return 1.08;
48  else
49  return 1.30;
50  }

References theCase.

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

◆ alpe2()

double HDShowerParametrization::alpe2 ( ) const
inline

Definition at line 51 of file HDShowerParametrization.h.

51  {
52  if (theCase == 1)
53  return 0.24;
54  else
55  return 0.255;
56  }

References theCase.

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

◆ alph1()

double HDShowerParametrization::alph1 ( ) const
inline

Definition at line 69 of file HDShowerParametrization.h.

69  {
70  if (theCase == 1)
71  return 1.17;
72  else
73  return 0.38;
74  }

References theCase.

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

◆ alph2()

double HDShowerParametrization::alph2 ( ) const
inline

Definition at line 75 of file HDShowerParametrization.h.

75  {
76  if (theCase == 1)
77  return 0.21;
78  else
79  return 0.23;
80  }

References theCase.

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

◆ bete1()

double HDShowerParametrization::bete1 ( ) const
inline

Definition at line 57 of file HDShowerParametrization.h.

57  {
58  if (theCase == 1)
59  return 0.478;
60  else
61  return 0.289;
62  }

References theCase.

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

◆ bete2()

double HDShowerParametrization::bete2 ( ) const
inline

Definition at line 63 of file HDShowerParametrization.h.

63  {
64  if (theCase == 1)
65  return 0.135;
66  else
67  return 0.010;
68  }

References theCase.

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

◆ beth1()

double HDShowerParametrization::beth1 ( ) const
inline

Definition at line 81 of file HDShowerParametrization.h.

81  {
82  if (theCase == 1)
83  return 2.10;
84  else
85  return 0.83;
86  }

References theCase.

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

◆ beth2()

double HDShowerParametrization::beth2 ( ) const
inline

Definition at line 87 of file HDShowerParametrization.h.

87  {
88  if (theCase == 1)
89  return 0.72;
90  else
91  return 0.049;
92  }

References theCase.

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

◆ e1()

double HDShowerParametrization::e1 ( ) const
inline

Definition at line 43 of file HDShowerParametrization.h.

43 { return 0.35; }

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

◆ e2()

double HDShowerParametrization::e2 ( ) const
inline

Definition at line 44 of file HDShowerParametrization.h.

44 { return 0.09; }

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

◆ ecalProperties()

const ECALProperties* HDShowerParametrization::ecalProperties ( ) const
inline

Definition at line 22 of file HDShowerParametrization.h.

22 { return theECAL; }

References theECAL.

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

◆ emax()

double HDShowerParametrization::emax ( ) const
inline

Definition at line 41 of file HDShowerParametrization.h.

41 { return 500.; }

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

◆ emid()

double HDShowerParametrization::emid ( ) const
inline

Definition at line 39 of file HDShowerParametrization.h.

39 { return 10.; }

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

◆ emin()

double HDShowerParametrization::emin ( ) const
inline

Definition at line 37 of file HDShowerParametrization.h.

37 { return 2.; }

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

◆ hcalProperties()

const HCALProperties* HDShowerParametrization::hcalProperties ( ) const
inline

Definition at line 24 of file HDShowerParametrization.h.

24 { return theHCAL; }

References theHCAL.

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

◆ hsParameters()

const HSParameters* HDShowerParametrization::hsParameters ( ) const
inline

Definition at line 26 of file HDShowerParametrization.h.

26 { return theHSParameters; }

References theHSParameters.

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

◆ part1()

double HDShowerParametrization::part1 ( ) const
inline

Definition at line 93 of file HDShowerParametrization.h.

93  {
94  if (theCase == 1)
95  return 0.751;
96  else
97  return 0.509;
98  }

References theCase.

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

◆ part2()

double HDShowerParametrization::part2 ( ) const
inline

Definition at line 99 of file HDShowerParametrization.h.

99  {
100  if (theCase == 1)
101  return 0.177;
102  else
103  return 0.021;
104  }

References theCase.

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

◆ r1()

double HDShowerParametrization::r1 ( ) const
inline

Definition at line 105 of file HDShowerParametrization.h.

105 { return 0.0124; }

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

◆ r2()

double HDShowerParametrization::r2 ( ) const
inline

Definition at line 106 of file HDShowerParametrization.h.

106 { return 0.359; }

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

◆ r3()

double HDShowerParametrization::r3 ( ) const
inline

Definition at line 107 of file HDShowerParametrization.h.

107 { return 0.0511; }

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

◆ setCase()

void HDShowerParametrization::setCase ( int  choice)
inline

Definition at line 29 of file HDShowerParametrization.h.

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

References theCase.

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

Member Data Documentation

◆ theCase

int HDShowerParametrization::theCase
private

◆ theECAL

const ECALProperties* HDShowerParametrization::theECAL
private

Definition at line 110 of file HDShowerParametrization.h.

Referenced by ecalProperties().

◆ theHCAL

const HCALProperties* HDShowerParametrization::theHCAL
private

Definition at line 111 of file HDShowerParametrization.h.

Referenced by hcalProperties().

◆ theHSParameters

const HSParameters* HDShowerParametrization::theHSParameters
private

Definition at line 112 of file HDShowerParametrization.h.

Referenced by hsParameters().

HDShowerParametrization::theHSParameters
const HSParameters * theHSParameters
Definition: HDShowerParametrization.h:112
HDShowerParametrization::theECAL
const ECALProperties * theECAL
Definition: HDShowerParametrization.h:110
hcal
Definition: ConfigurationDatabase.cc:13
ecal
Definition: ElectronicsMappingGPU.h:13
HDShowerParametrization::theHCAL
const HCALProperties * theHCAL
Definition: HDShowerParametrization.h:111
HDShowerParametrization::theCase
int theCase
Definition: HDShowerParametrization.h:114