CMS 3D CMS Logo

HGCUncalibRecHitsToRecHitsConstants.h
Go to the documentation of this file.
1 #ifndef CUDADataFormats_HGCal_HGCUncalibRecHitsToRecHitsConstants_h
2 #define CUDADataFormats_HGCal_HGCUncalibRecHitsToRecHitsConstants_h
3 
4 #include <cstdint>
5 #include <vector>
6 
8 public:
9  std::vector<double> fCPerMIP_;
10  std::vector<double> cce_;
11  std::vector<double> noise_fC_;
12  std::vector<double> rcorr_;
13  std::vector<double> weights_;
14 };
15 
17 public:
18  static constexpr size_t ee_fCPerMIP = 3; //number of elements pointed by hgcEE_fCPerMIP_
19  static constexpr size_t ee_cce = 3; //number of elements pointed by hgcEE_cce_
20  static constexpr size_t ee_noise_fC = 3; //number of elements pointed by hgcEE_noise_fC_
21  static constexpr size_t ee_rcorr = 3; //number of elements pointed by rcorr_
22  static constexpr size_t ee_weights = 51; //number of elements posize_ted by weights_
23 
24  double fCPerMIP_[ee_fCPerMIP]; //femto coloumb to MIP conversion; one value per sensor thickness
25  double cce_[ee_cce]; //charge collection efficiency, one value per sensor thickness
26  double noise_fC_[ee_noise_fC]; //noise, one value per sensor thickness
27  double rcorr_[ee_rcorr]; //thickness correction
28  double weights_[ee_weights]; //energy weights to recover rechit energy deposited in the absorber
29 
30  double keV2DIGI_; //energy to femto coloumb conversion: 1000 eV/3.62 (eV per e) / 6.24150934e3 (e per fC)
31  double uncalib2GeV_; //sets the ADC; obtained by dividing 1e-6 by hgcEE_keV2DIGI_
32  float xmin_; //used for computing the time resolution error
33  float xmax_; //used for computing the time resolution error
34  float aterm_; //used for computing the time resolution error
35  float cterm_; //used for computing the time resolution error
36 };
37 
39 public:
40  static constexpr size_t hef_fCPerMIP = 3; //number of elements pointed by hgcEE_fCPerMIP_
41  static constexpr size_t hef_cce = 3; //number of elements pointed by hgcEE_cce_
42  static constexpr size_t hef_noise_fC = 3; //number of elements pointed by hgcEE_noise_fC_
43  static constexpr size_t hef_rcorr = 3; //number of elements pointed by rcorr_
44  static constexpr size_t hef_weights = 51; //number of elements pointed by weights_
45 
46  double fCPerMIP_[hef_fCPerMIP]; //femto coloumb to MIP conversion; one value per sensor thickness
47  double cce_[hef_cce]; //charge collection efficiency, one value per sensor thickness
48  double noise_fC_[hef_noise_fC]; //noise, one value per sensor thickness
49  double rcorr_[hef_rcorr]; //thickness correction
50  double weights_[hef_weights]; //energy weights to recover rechit energy deposited in the absorber
51 
52  double keV2DIGI_; //energy to femto coloumb conversion: 1000 eV/3.62 (eV per e) / 6.24150934e3 (e per fC)
53  double uncalib2GeV_; //sets the ADC; obtained by dividing 1e-6 by hgcHEF_keV2DIGI_
54  float xmin_; //used for computing the time resolution error
55  float xmax_; //used for computing the time resolution error
56  float aterm_; //used for computing the time resolution error
57  float cterm_; //used for computing the time resolution error
58  std::int32_t layerOffset_; //layer offset relative to layer#1 of the EE subsetector
59 };
60 
62 public:
63  static constexpr size_t heb_weights = 51; //number of elements pointed by weights_
64 
65  double weights_[heb_weights]; //energy weights to recover rechit energy deposited in the absorber
66 
67  double keV2DIGI_; //energy to femto coloumb conversion: 1000 eV/3.62 (eV per e) / 6.24150934e3 (e per fC)
68  double uncalib2GeV_; //sets the ADC; obtained by dividing 1e-6 by hgcHEB_keV2DIGI_
69  double noise_MIP_; //noise
70  std::int32_t layerOffset_; //layer offset relative to layer#1 of the EE subsetector
71 };
72 
73 #endif
HGChebUncalibRecHitConstantData
Definition: HGCUncalibRecHitsToRecHitsConstants.h:61
HGChefUncalibRecHitConstantData::noise_fC_
double noise_fC_[hef_noise_fC]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:48
HGChebUncalibRecHitConstantData::keV2DIGI_
double keV2DIGI_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:67
HGCeeUncalibRecHitConstantData::ee_cce
static constexpr size_t ee_cce
Definition: HGCUncalibRecHitsToRecHitsConstants.h:19
HGCeeUncalibRecHitConstantData::weights_
double weights_[ee_weights]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:28
HGCeeUncalibRecHitConstantData::cce_
double cce_[ee_cce]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:25
HGChefUncalibRecHitConstantData::uncalib2GeV_
double uncalib2GeV_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:53
HGCeeUncalibRecHitConstantData
Definition: HGCUncalibRecHitsToRecHitsConstants.h:16
HGCeeUncalibRecHitConstantData::keV2DIGI_
double keV2DIGI_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:30
HGCConstantVectorData
Definition: HGCUncalibRecHitsToRecHitsConstants.h:7
HGCeeUncalibRecHitConstantData::xmin_
float xmin_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:32
HGCeeUncalibRecHitConstantData::ee_noise_fC
static constexpr size_t ee_noise_fC
Definition: HGCUncalibRecHitsToRecHitsConstants.h:20
HGChefUncalibRecHitConstantData::hef_rcorr
static constexpr size_t hef_rcorr
Definition: HGCUncalibRecHitsToRecHitsConstants.h:43
HGCeeUncalibRecHitConstantData::aterm_
float aterm_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:34
HGChebUncalibRecHitConstantData::layerOffset_
std::int32_t layerOffset_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:70
HGChebUncalibRecHitConstantData::weights_
double weights_[heb_weights]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:65
HGChebUncalibRecHitConstantData::noise_MIP_
double noise_MIP_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:69
HGChefUncalibRecHitConstantData::layerOffset_
std::int32_t layerOffset_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:58
HGCConstantVectorData::fCPerMIP_
std::vector< double > fCPerMIP_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:9
HGChefUncalibRecHitConstantData::weights_
double weights_[hef_weights]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:50
HGChefUncalibRecHitConstantData::hef_fCPerMIP
static constexpr size_t hef_fCPerMIP
Definition: HGCUncalibRecHitsToRecHitsConstants.h:40
HGChefUncalibRecHitConstantData::xmin_
float xmin_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:54
HGCeeUncalibRecHitConstantData::ee_rcorr
static constexpr size_t ee_rcorr
Definition: HGCUncalibRecHitsToRecHitsConstants.h:21
HGCeeUncalibRecHitConstantData::cterm_
float cterm_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:35
HGCConstantVectorData::rcorr_
std::vector< double > rcorr_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:12
HGCeeUncalibRecHitConstantData::fCPerMIP_
double fCPerMIP_[ee_fCPerMIP]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:24
HGCeeUncalibRecHitConstantData::rcorr_
double rcorr_[ee_rcorr]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:27
HGChefUncalibRecHitConstantData::hef_cce
static constexpr size_t hef_cce
Definition: HGCUncalibRecHitsToRecHitsConstants.h:41
HGCConstantVectorData::cce_
std::vector< double > cce_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:10
HGChefUncalibRecHitConstantData::rcorr_
double rcorr_[hef_rcorr]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:49
HGChefUncalibRecHitConstantData::hef_weights
static constexpr size_t hef_weights
Definition: HGCUncalibRecHitsToRecHitsConstants.h:44
HGChefUncalibRecHitConstantData::hef_noise_fC
static constexpr size_t hef_noise_fC
Definition: HGCUncalibRecHitsToRecHitsConstants.h:42
HGCeeUncalibRecHitConstantData::ee_weights
static constexpr size_t ee_weights
Definition: HGCUncalibRecHitsToRecHitsConstants.h:22
HGChefUncalibRecHitConstantData
Definition: HGCUncalibRecHitsToRecHitsConstants.h:38
HGChefUncalibRecHitConstantData::aterm_
float aterm_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:56
HGChefUncalibRecHitConstantData::fCPerMIP_
double fCPerMIP_[hef_fCPerMIP]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:46
HGCeeUncalibRecHitConstantData::uncalib2GeV_
double uncalib2GeV_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:31
HGCeeUncalibRecHitConstantData::ee_fCPerMIP
static constexpr size_t ee_fCPerMIP
Definition: HGCUncalibRecHitsToRecHitsConstants.h:18
HGCeeUncalibRecHitConstantData::noise_fC_
double noise_fC_[ee_noise_fC]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:26
HGChefUncalibRecHitConstantData::cce_
double cce_[hef_cce]
Definition: HGCUncalibRecHitsToRecHitsConstants.h:47
HGCConstantVectorData::weights_
std::vector< double > weights_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:13
HGCConstantVectorData::noise_fC_
std::vector< double > noise_fC_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:11
HGChefUncalibRecHitConstantData::keV2DIGI_
double keV2DIGI_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:52
HGChebUncalibRecHitConstantData::uncalib2GeV_
double uncalib2GeV_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:68
HGChebUncalibRecHitConstantData::heb_weights
static constexpr size_t heb_weights
Definition: HGCUncalibRecHitsToRecHitsConstants.h:63
HGChefUncalibRecHitConstantData::xmax_
float xmax_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:55
HGCeeUncalibRecHitConstantData::xmax_
float xmax_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:33
HGChefUncalibRecHitConstantData::cterm_
float cterm_
Definition: HGCUncalibRecHitsToRecHitsConstants.h:57