~mbogomilov/maus/devel3

« back to all changes in this revision

Viewing changes to src/common_cpp/DataStructure/KLCellHit.cc

  • Committer: Mariyan Bogomilov
  • Date: 2014-07-09 09:58:01 UTC
  • Revision ID: mbogomilov@abv.bg-20140709095801-tllgnmm8m0iq092k
KL tuning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
      _part_event_number(0) {
26
26
}
27
27
 
28
 
KLCellHit::KLCellHit(int cell, int phys_event_number, double charge,  double charge_product,
 
28
KLCellHit::KLCellHit(int cell, int phys_event_number, int charge,  int charge_product,
29
29
                     std::string detector, int part_event_number)
30
30
    : _cell(cell), _phys_event_number(phys_event_number), _charge(charge),
31
31
      _charge_product(charge_product), _detector(detector),
71
71
    _phys_event_number = phys_event_number;
72
72
}
73
73
 
74
 
double KLCellHit::GetCharge() const {
 
74
int KLCellHit::GetCharge() const {
75
75
    return _charge;
76
76
}
77
77
 
78
 
void KLCellHit::SetCharge(double charge) {
 
78
void KLCellHit::SetCharge(int charge) {
79
79
    _charge = charge;
80
80
}
81
81
 
82
 
double KLCellHit::GetChargeProduct() const {
 
82
int KLCellHit::GetChargeProduct() const {
83
83
    return _charge_product;
84
84
}
85
85
 
86
 
void KLCellHit::SetChargeProduct(double charge_product) {
 
86
void KLCellHit::SetChargeProduct(int charge_product) {
87
87
    _charge_product = charge_product;
88
88
}
89
89