EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BEmcRecEEMC.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file BEmcRecEEMC.h
1 #ifndef CALORECO_BEMCRECEEMC_H
2 #define CALORECO_BEMCRECEEMC_H
3 
4 #include "BEmcRec.h"
5 
6 #include <string> // for string
7 #include <vector> // for vector
8 
9 //class BEmcProfile;
10 class EmcModule;
11 
12 class BEmcRecEEMC : public BEmcRec
13 {
14  public:
15  BEmcRecEEMC();
16  ~BEmcRecEEMC() override {}
17  void CorrectEnergy(float energy, float x, float y, float &ecorr) override;
18  void CorrectECore(float ecore, float x, float y, float &ecorecorr) override;
19  void CorrectPosition(float energy, float x, float y, float &xcorr, float &ycorr) override;
20  void CorrectShowerDepth(float energy, float x, float y, float z, float &xc, float &yc, float &zc) override;
21  static float GetImpactAngle(float e, float x, float y);
22 
23  void LoadProfile(const std::string &fname) override;
24  // float GetProb(std::vector<EmcModule> HitList, float e, float xg, float yg, float zg, float &chi2, int &ndf) override;
25  void GetImpactThetaPhi(float xg, float yg, float zg, float& theta, float& phi) override;
26 
27  private:
28  // BEmcProfile *_emcprof;
29  // float Scin_size;
30 };
31 
32 #endif