CMS 3D CMS Logo

GflashHadronShowerProfile.h
Go to the documentation of this file.
1 #ifndef GflashHadronShowerProfile_H
2 #define GflashHadronShowerProfile_H
3 
5 
10 
11 #include <vector>
12 
13 class GflashHit;
14 
16 public:
17  //-------------------------
18  // Constructor, destructor
19  //-------------------------
22 
23  void initialize(int showerType,
24  double energy,
25  double globalTime,
26  double charge,
28  Gflash3Vector &momentum);
29 
30  virtual void loadParameters();
33  std::vector<GflashHit> &getGflashHitList() { return theGflashHitList; };
34 
35 protected:
36  double longitudinalProfile();
37  double hoProfile(double pathLength, double refDepth);
38  void doCholeskyReduction(double **cc, double **vv, const int ndim);
39  void getFluctuationVector(double *lowTriangle, double *correlationVector);
40  void setEnergyScale(double einc, const Gflash3Vector &ssp);
41 
43  double medianLateralArm(double depth, Gflash::CalorimeterNumber kCalor);
45 
46  double fTanh(double einc, const double *par);
47  double fLnE1(double einc, const double *par);
48  double depthScale(double ssp, double ssp0, double length);
49  double gammaProfile(double alpha, double beta, double depth, double lengthUnit);
50  double twoGammaProfile(double *par, double depth, Gflash::CalorimeterNumber kIndex);
51 
52  // SimActivityRegistry::G4StepSignal gflash_g4StepSignal;
53 
54 protected:
56  double theBField;
58 
61 
67 
68  std::vector<GflashHit> theGflashHitList;
69 };
70 
71 #endif
GflashTrajectory.h
GflashHadronShowerProfile::theHisto
GflashHistogram * theHisto
Definition: GflashHadronShowerProfile.h:60
Gflash::kNumberCalorimeter
Definition: GflashNameSpace.h:18
GflashHadronShowerProfile::theParSet
edm::ParameterSet theParSet
Definition: GflashHadronShowerProfile.h:55
GflashHadronShowerProfile::locateHitPosition
Gflash3Vector locateHitPosition(GflashTrajectoryPoint &point, double lateralArm)
Definition: GflashHadronShowerProfile.cc:272
HLT_FULL_cff.beta
beta
Definition: HLT_FULL_cff.py:8686
GflashNameSpace.h
GflashHadronShowerProfile::setEnergyScale
void setEnergyScale(double einc, const Gflash3Vector &ssp)
GflashHadronShowerProfile::theShowino
GflashShowino * theShowino
Definition: GflashHadronShowerProfile.h:59
alpha
float alpha
Definition: AMPTWrapper.h:105
GflashHadronShowerProfile::GflashHadronShowerProfile
GflashHadronShowerProfile(const edm::ParameterSet &parSet)
Definition: GflashHadronShowerProfile.cc:17
GflashHistogram
Definition: GflashHistogram.h:16
GflashHadronShowerProfile::fTanh
double fTanh(double einc, const double *par)
Definition: GflashHadronShowerProfile.cc:473
GflashHadronShowerProfile::depthScale
double depthScale(double ssp, double ssp0, double length)
Definition: GflashHadronShowerProfile.cc:487
Gflash::NPar
const int NPar
Definition: GflashNameSpace.h:87
GflashHadronShowerProfile::theGflashHitList
std::vector< GflashHit > theGflashHitList
Definition: GflashHadronShowerProfile.h:68
GflashShowino
Definition: GflashShowino.h:8
GflashHadronShowerProfile::doCholeskyReduction
void doCholeskyReduction(double **cc, double **vv, const int ndim)
Definition: GflashHadronShowerProfile.cc:396
GflashHadronShowerProfile::initialize
void initialize(int showerType, double energy, double globalTime, double charge, Gflash3Vector &position, Gflash3Vector &momentum)
Definition: GflashHadronShowerProfile.cc:30
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
GflashHistogram.h
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
GflashHadronShowerProfile::energyScale
double energyScale[Gflash::kNumberCalorimeter]
Definition: GflashHadronShowerProfile.h:62
GflashHadronShowerProfile::getGflashHitList
std::vector< GflashHit > & getGflashHitList()
Definition: GflashHadronShowerProfile.h:33
Gflash::Nrpar
const int Nrpar
Definition: GflashNameSpace.h:88
GflashHadronShowerProfile::loadParameters
virtual void loadParameters()
Definition: GflashHadronShowerProfile.cc:247
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
edm::ParameterSet
Definition: ParameterSet.h:47
GflashHit
Definition: GflashHit.h:6
GflashHadronShowerProfile::longitudinalProfile
double longitudinalProfile()
Definition: GflashHadronShowerProfile.cc:299
GflashHadronShowerProfile::getNumberOfSpots
int getNumberOfSpots(Gflash::CalorimeterNumber kCalor)
Definition: GflashHadronShowerProfile.cc:426
GflashHadronShowerProfile::lateralPar
double lateralPar[Gflash::kNumberCalorimeter][Gflash::Nrpar]
Definition: GflashHadronShowerProfile.h:66
position
static int position[264][3]
Definition: ReadPGInfo.cc:289
GflashHadronShowerProfile::medianLateralArm
double medianLateralArm(double depth, Gflash::CalorimeterNumber kCalor)
Definition: GflashHadronShowerProfile.cc:252
Gflash::CalorimeterNumber
CalorimeterNumber
Definition: GflashNameSpace.h:10
Gflash3Vector
CLHEP::Hep3Vector Gflash3Vector
Definition: Gflash3Vector.h:6
cc
GflashHadronShowerProfile::getFluctuationVector
void getFluctuationVector(double *lowTriangle, double *correlationVector)
Definition: GflashHadronShowerProfile.cc:358
GflashHadronShowerProfile::theGflashHcalOuter
bool theGflashHcalOuter
Definition: GflashHadronShowerProfile.h:57
GflashHadronShowerProfile::longEcal
double longEcal[Gflash::NPar]
Definition: GflashHadronShowerProfile.h:64
GflashHadronShowerProfile::averageSpotEnergy
double averageSpotEnergy[Gflash::kNumberCalorimeter]
Definition: GflashHadronShowerProfile.h:63
GflashHadronShowerProfile::twoGammaProfile
double twoGammaProfile(double *par, double depth, Gflash::CalorimeterNumber kIndex)
Definition: GflashHadronShowerProfile.cc:505
GflashHadronShowerProfile::gammaProfile
double gammaProfile(double alpha, double beta, double depth, double lengthUnit)
Definition: GflashHadronShowerProfile.cc:494
GflashHadronShowerProfile::~GflashHadronShowerProfile
virtual ~GflashHadronShowerProfile()
Definition: GflashHadronShowerProfile.cc:25
GflashShowino.h
GflashHadronShowerProfile::theBField
double theBField
Definition: GflashHadronShowerProfile.h:56
ParameterSet.h
GflashHadronShowerProfile
Definition: GflashHadronShowerProfile.h:15
GflashHadronShowerProfile::longHcal
double longHcal[Gflash::NPar]
Definition: GflashHadronShowerProfile.h:65
GflashHadronShowerProfile::getGflashShowino
GflashShowino * getGflashShowino()
Definition: GflashHadronShowerProfile.h:32
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5
GflashTrajectoryPoint
Definition: GflashTrajectoryPoint.h:8
GflashHadronShowerProfile::fLnE1
double fLnE1(double einc, const double *par)
Definition: GflashHadronShowerProfile.cc:480
GflashHadronShowerProfile::hoProfile
double hoProfile(double pathLength, double refDepth)
Definition: GflashHadronShowerProfile.cc:346
GflashHadronShowerProfile::hadronicParameterization
void hadronicParameterization()
Definition: GflashHadronShowerProfile.cc:36