SND@LHC Software
|
#include <SndlhcHit.h>
Public Member Functions | |
SndlhcHit () | |
SndlhcHit (Int_t detID, Int_t nSiPMs=1, Int_t nSides=0) | |
virtual | ~SndlhcHit () |
Int_t | GetDetectorID () const |
Float_t | GetSignal (Int_t nChannel=0) |
Float_t | GetTime (Int_t nChannel=0) |
Int_t | GetnSiPMs () const |
Int_t | GetnSides () const |
void | SetDigi (Float_t s, Float_t t, Int_t i=0) |
void | SetDetectorID (Int_t detID) |
void | SetDaqID (Int_t i, Int_t k, Int_t board_id, Int_t tofpet_id, Int_t tofpet_channel) |
Int_t | GetBoardID (Int_t i) |
Int_t | GetTofpetID (Int_t i) |
Int_t | Getchannel (Int_t i) |
Int_t | GetRawHitIndex (Int_t i=0) |
virtual void | Print (const Option_t *opt="") const |
virtual void | GetPosition (TVector3 L, TVector3 R) const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Protected Member Functions | |
ClassDef (SndlhcHit, 2) | |
encodes rawhitindex*100000+(board_id * 1000) + (tofpet_id * 100) + tofpet_channel | |
Protected Attributes | |
Int_t | fDetectorID |
Detector unique identifier. | |
Int_t | nSiPMs |
Int_t | nSides |
number of SiPMs per side | |
Float_t | signals [16] |
number of sides | |
Float_t | times [16] |
SiPM signal. | |
Int_t | fDaqID [16] |
SiPM time. | |
Friends | |
class | boost::serialization::access |
copied from FairRoot FairHit and simplified
Definition at line 19 of file SndlhcHit.h.
SndlhcHit::SndlhcHit | ( | ) |
Default constructor
Definition at line 5 of file SndlhcHit.cxx.
SndlhcHit::SndlhcHit | ( | Int_t | detID, |
Int_t | nSiPMs = 1 , |
||
Int_t | nSides = 0 |
||
) |
Constructor with detector id, number of SiPMs per side, number of sides
Definition at line 15 of file SndlhcHit.cxx.
|
virtual |
|
protected |
encodes rawhitindex*100000+(board_id * 1000) + (tofpet_id * 100) + tofpet_channel
|
inline |
Definition at line 45 of file SndlhcHit.h.
|
inline |
Definition at line 47 of file SndlhcHit.h.
|
inline |
|
inline |
Definition at line 40 of file SndlhcHit.h.
|
inline |
Definition at line 39 of file SndlhcHit.h.
|
inlinevirtual |
Definition at line 55 of file SndlhcHit.h.
|
inline |
Definition at line 48 of file SndlhcHit.h.
Float_t SndlhcHit::GetSignal | ( | Int_t | nChannel = 0 | ) |
Definition at line 28 of file SndlhcHit.cxx.
Float_t SndlhcHit::GetTime | ( | Int_t | nChannel = 0 | ) |
Definition at line 32 of file SndlhcHit.cxx.
|
inline |
Definition at line 46 of file SndlhcHit.h.
|
inlinevirtual |
Definition at line 53 of file SndlhcHit.h.
|
inline |
Definition at line 60 of file SndlhcHit.h.
|
inline |
Definition at line 44 of file SndlhcHit.h.
|
inline |
Definition at line 43 of file SndlhcHit.h.
|
inline |
|
friend |
Definition at line 70 of file SndlhcHit.h.
|
protected |
SiPM time.
Definition at line 77 of file SndlhcHit.h.
|
protected |
Detector unique identifier.
Definition at line 72 of file SndlhcHit.h.
|
protected |
number of SiPMs per side
Definition at line 74 of file SndlhcHit.h.
|
protected |
Definition at line 73 of file SndlhcHit.h.
|
protected |
number of sides
Definition at line 75 of file SndlhcHit.h.
|
protected |
SiPM signal.
Definition at line 76 of file SndlhcHit.h.