LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RawCalorimeterHitImpl.cc
Go to the documentation of this file.
2 
3 namespace IMPL{
4 
6  _cellID0(0),
7  _cellID1(0),
8  _amplitude(0),
9  _timeStamp(0){
10  }
11 
12 
14  }
15 
17  return _cellID0 ;
18  }
19 
21  return _cellID1 ;
22  }
23 
25  return _amplitude ;
26  }
27 
29  return _timeStamp ;
30  }
31 
32 
33 
35  checkAccess("RawCalorimeterHitImpl::setCellID0") ;
36  _cellID0 = id0 ;
37  }
38 
40  checkAccess("RawCalorimeterHitImpl::setCellID1") ;
41  _cellID1 = id1 ;
42  }
43 
45  checkAccess("RawCalorimeterHitImpl::setAmplitude") ;
46  _amplitude = amplitude ;
47  }
48 
50  checkAccess("RawCalorimeterHitImpl::setTimeStamp") ;
51  _timeStamp = timeStamp ;
52  }
53 
54 
55 
56 
57 } // namespace IMPL
void setTimeStamp(int time)
Set the time stamp.
virtual ~RawCalorimeterHitImpl()
Destructor.
virtual int getCellID1() const
Returns the second detector specific (geometrical) cell id.
virtual int getAmplitude() const
Returns the amplitude of the hit in ADC counts.
void setCellID1(int id1)
Sets the second cell id; Only store if the flag word (bit CHBIT_ID1) of the collection is set...
RawCalorimeterHitImpl()
Default constructor, initializes values to 0.
virtual int getCellID0() const
Returns the detector specific (geometrical) cell id.
virtual int getTimeStamp() const
Returns a time stamp for the hit.
void setAmplitude(int amplitude)
Sets the amplitude.