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