CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalQie.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_Calo_HcalQie_H
2 #define SimG4CMS_Calo_HcalQie_H
3 // File: HcalQie.h
5 // Qie simulation for HCal hits
7 
11 
12 #include <vector>
13 
14 class HcalQie {
15 
16 public:
17 
18  HcalQie(edm::ParameterSet const & p);
19  virtual ~HcalQie();
20 
21  std::vector<int> getCode(int, const std::vector<CaloHit>&);
22  double getEnergy(const std::vector<int>&);
23 
24 private:
25 
26  std::vector<double> shape();
27  std::vector<int> code();
28  std::vector<double> charge();
29  std::vector<double> weight(int binofmax, int mode, int npre, int numbucket);
30  double codeToQ(int ic);
31  int getCode(double charge);
32  double getShape(double time);
33 
34 private:
35 
36  std::vector<double> shape_;
37  std::vector<int> code_;
38  std::vector<double> charge_;
40  std::vector<double> weight_;
42  int bmin_, bmax_;
43  double phase_, rescale_;
44 
45 };
46 
47 #endif
std::vector< double > shape()
Definition: HcalQie.cc:77
int preSamples
Definition: HcalQie.h:39
virtual ~HcalQie()
Definition: HcalQie.cc:73
double eDepPerPE
Definition: HcalQie.h:41
double codeToQ(int ic)
Definition: HcalQie.cc:255
int bmax_
Definition: HcalQie.h:42
double baseline
Definition: HcalQie.h:41
HcalQie(edm::ParameterSet const &p)
Definition: HcalQie.cc:21
int signalBuckets
Definition: HcalQie.h:39
double getShape(double time)
Definition: HcalQie.cc:288
std::vector< double > weight_
Definition: HcalQie.h:40
double getEnergy(const std::vector< int > &)
Definition: HcalQie.cc:403
std::vector< double > charge()
Definition: HcalQie.cc:198
double qToPE
Definition: HcalQie.h:41
int bmin_
Definition: HcalQie.h:42
std::vector< int > getCode(int, const std::vector< CaloHit > &)
Definition: HcalQie.cc:299
double rescale_
Definition: HcalQie.h:43
std::vector< double > charge_
Definition: HcalQie.h:38
std::vector< int > code_
Definition: HcalQie.h:37
double phase_
Definition: HcalQie.h:43
int binOfMax
Definition: HcalQie.h:39
std::vector< double > shape_
Definition: HcalQie.h:36
double sigma
Definition: HcalQie.h:41
std::vector< double > weight(int binofmax, int mode, int npre, int numbucket)
Definition: HcalQie.cc:230
std::vector< int > code()
Definition: HcalQie.cc:166
int numOfBuckets
Definition: HcalQie.h:39