~christopher-hunt08/maus/maus_integrated_kalman

« back to all changes in this revision

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

  • Committer: Durga Rajaram
  • Date: 2014-07-16 15:13:05 UTC
  • mfrom: (659.1.92 cand)
  • Revision ID: durga@fnal.gov-20140716151305-q27rv1y9p03v9lks
Tags: MAUS-v0.9, MAUS-v0.9.0
MAUS-v0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
SciFiDigit::SciFiDigit():_spill(0), _event(0),
23
23
                         _tracker(0), _station(0), _plane(0),
24
24
                         _channel(0), _npe(0.), _time(0.), _used(false) {
25
 
  _position = ThreeVector(0., 0., 0.);
26
 
  _p = ThreeVector(0., 0., 0.);
 
25
  // Do nothing
27
26
}
28
27
 
29
28
SciFiDigit::SciFiDigit(int spill, int event, int tracker, int station,
31
30
                       :_spill(spill), _event(event),
32
31
                        _tracker(tracker), _station(station), _plane(plane),
33
32
                        _channel(channel), _npe(npe), _time(time), _used(false) {
34
 
  _position = ThreeVector(0., 0., 0.);
35
 
  _p = ThreeVector(0., 0., 0.);
 
33
  // Do nothing
36
34
}
37
35
 
38
 
SciFiDigit::SciFiDigit(const SciFiDigit& _scifidigit)
 
36
SciFiDigit::SciFiDigit(const SciFiDigit& dig)
39
37
          : _spill(0), _event(0), _tracker(0), _station(0), _plane(0), _channel(0),
40
38
            _npe(0.0), _time(0.0), _used(false) {
41
 
  *this = _scifidigit;
 
39
  *this = dig;
42
40
}
43
41
 
44
42
SciFiDigit& SciFiDigit::operator=(const SciFiDigit& _scifidigit) {