er  dev
ERGadastCsIDigi.cxx
1 // -------------------------------------------------------------------------
2 // ----- ERGadastCsIDigi source file -----
3 // ----- Created 11/12/15 by V.Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #include "ERGadastCsIDigi.h"
7 #include<iostream>
8 
9 using namespace std;
10 
11 // ----- Default constructor -------------------------------------------
13  :fID(-1),
14  fEdep(0.)
15 {
16 }
17 
18 ERGadastCsIDigi::ERGadastCsIDigi(Int_t id, Float_t Edep,Int_t wall, Int_t block, Int_t cell)
19  :fID(id),
20  fEdep(Edep),
21  fWall(wall),
22  fBlock(block),
23  fCell(cell)
24 {
25 }
26 
28  :fID(right.fID),
29  fEdep(right.fEdep),
30  fWall(right.fWall),
31  fBlock(right.fBlock),
32  fCell(right.fCell)
33 {
34 }
35 
36 
37 
38 // ----- Destructor ----------------------------------------------------
40 {
41 }
42 
43 // ----- Public method Print -------------------------------------------
44 void ERGadastCsIDigi::Print(const Option_t* opt /* = 0 */) const
45 {
46  std::cout << "-I- ERGadastCsIDigi: " << endl;
47  std::cout << " Edep : " << fEdep << endl;
48  std::cout << " Wall : " << fWall << endl;
49  std::cout << " Block : " << fBlock << endl;
50  std::cout << " Cell : " << fCell << endl;
51 }
52 // -------------------------------------------------------------------------
53 
54 ClassImp(ERGadastCsIDigi)
virtual ~ERGadastCsIDigi()
virtual void Print(const Option_t *opt=0) const