er  dev
ERNDDigi.h
1 /********************************************************************************
2  * Copyright (C) Joint Institute for Nuclear Research *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence version 3 (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef ERNDDigi_H
10 #define ERNDDigi_H
11 
12 #include "TVector3.h"
13 
14 #include "ERDigi.h"
15 
16 class ERNDDigi : public ERDigi {
17  public:
18  ERNDDigi() = default;
19  ERNDDigi(ERChannel stilbenNb, float edep, float lightYield,
20  float time, float neutronProb, float tac = -1.);
22  float LightYield() const {return fLightYield;}
23  float NeutronProb() const {return fNeutronProb;}
24  float TAC() const {return fTAC;}
26  void SetTAC(const Double_t TAC) {fTAC = TAC;}
27  protected:
28  float fLightYield = -1.;
29  float fNeutronProb = -1.;
30  float fTAC = -1.;
31  ClassDef(ERNDDigi, 1)
32 };
33 
34 #endif
35 
Definition: ERDigi.h:15
float LightYield() const
Definition: ERNDDigi.h:22
void SetTAC(const Double_t TAC)
Definition: ERNDDigi.h:26