er  dev
ERNeuRadPhotoElectron.cxx
1 // -------------------------------------------------------------------------
2 // ----- ERNeuRadPhotoElectron source file -----
3 // -------------------------------------------------------------------------
4 
5 #include "ERNeuRadPhotoElectron.h"
6 
7 #include <iostream>
8 
9 // ----- Default constructor -------------------------------------------
11  fSide(-1),
12  fLYTime(0.),
13  fCathodeTime(0.),
14  fAnodeTime(0.),
15  fPhotonCount(-1),
16  fAmplitude(0.)
17 {
18 }
19 // -------------------------------------------------------------------------
20 
21 // ----- Standard constructor ------------------------------------------
23  Int_t side,
24  Double_t lyTime,
25  Double_t cathode_time,
26  Double_t anode_time,
27  Int_t photon_count,
28  Double_t amplitude):
29  fIndex(index),
30  fSide(side),
31  fLYTime(lyTime),
32  fCathodeTime(cathode_time),
33  fAnodeTime(anode_time),
34  fPhotonCount(photon_count),
35  fAmplitude(amplitude)
36 {
37 }
38 // -------------------------------------------------------------------------
39 
40 void ERNeuRadPhotoElectron::Print() const {
41  std::cout << "PE: " << fIndex << std::endl;
42  std::cout << "Side: " << fSide << " Cathode Time: " << fCathodeTime << " AnodeTime: " << fAnodeTime << std::endl;
43  std::cout << "Photon count: " << fPhotonCount << " Amplitude: " << fAmplitude << " LYTime:" << fLYTime << std::endl;
44 }
45 
46 // ----- Destructor ----------------------------------------------------
48 {
49 }
50 // -------------------------------------------------------------------------
51 
52 ClassImp(ERNeuRadPhotoElectron)