/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimGeneral/GFlash/interface/GflashEMShowerProfile.h
52 строки
1 KB
Cms Build
Clang-Format
08 май 2019, 15:12
08 май 2019, 15:12
22aeb75
Код
Авторство
О чём код?
#ifndef GflashEMShowerProfile_H #define GflashEMShowerProfile_H #include "FWCore/ParameterSet/interface/ParameterSet.h" #include "SimGeneral/GFlash/interface/GflashNameSpace.h" #include "SimGeneral/GFlash/interface/GflashTrajectory.h" #include <vector> class GflashHit; class GflashShowino; class GflashHistogram; class GflashEMShowerProfile { public: //------------------------- // Constructor, destructor //------------------------- GflashEMShowerProfile(const edm::ParameterSet &parSet); ~GflashEMShowerProfile(); void initialize(int showerType, double energy, double globalTime, double charge, Gflash3Vector &position, Gflash3Vector &momentum); void parameterization(); GflashShowino *getGflashShowino() { return theShowino; } std::vector<GflashHit> &getGflashHitList() { return theGflashHitList; }; private: double getDistanceToOut(Gflash::CalorimeterNumber kCalor); Gflash3Vector locateHitPosition( GflashTrajectoryPoint &point, double rCore, double rTail, double probability, double &rShower); private: Gflash::CalorimeterNumber jCalorimeter; edm::ParameterSet theParSet; double theBField; double theEnergyScaleEB; double theEnergyScaleEE; GflashShowino *theShowino; GflashHistogram *theHisto; std::vector<GflashHit> theGflashHitList; }; #endif