CbmRoot
|
Data class for an analog signal in the MUCH Simple data class used in the digitisation process of the MUCH. It describes an analog charge distribution produced in the MUCH GEM Detector and arriving at the readout. It contains time and charge information corresponding to the MUCH Pad. In the most general case, a signal can be produced by more than one MCPoint; that is why the MC reference is of type CbmMatch and not CbmLink. More...
#include <CbmMuchSignal.h>
Public Member Functions | |
CbmMuchSignal () | |
CbmMuchSignal (UInt_t address, Long64_t starttime=0) | |
CbmMuchSignal (CbmMuchSignal *signal)=delete | |
CbmMuchSignal (const CbmMuchSignal &) | |
CbmMuchSignal & | operator= (const CbmMuchSignal &)=delete |
virtual | ~CbmMuchSignal () |
Long_t | GetTimeStart () const |
Long64_t | GetTimeStop () const |
UInt_t | GetCharge () const |
UInt_t | GetPileUpCount () const |
CbmMatch * | GetMatch () const |
Int_t | GetAddress () const |
void | SetTimeStart (Long_t starttime) |
void | SetTimeStop (Long_t stoptime) |
void | SetCharge (UInt_t charge) |
void | SetMatch (CbmMatch *match) |
void | MergeSignal (CbmMuchSignal *) |
void | AddNoise (UInt_t) |
Int_t | GetCharge () |
Long64_t | GetTimeStamp () |
Private Member Functions | |
ClassDef (CbmMuchSignal, 2) | |
Private Attributes | |
UInt_t | fAddress |
Long64_t | fTimeStart |
Long64_t | fTimeStop |
UInt_t | fCharge |
UInt_t | fPileUpCount = 0 |
CbmMatch * | fMatch |
Data class for an analog signal in the MUCH Simple data class used in the digitisation process of the MUCH. It describes an analog charge distribution produced in the MUCH GEM Detector and arriving at the readout. It contains time and charge information corresponding to the MUCH Pad. In the most general case, a signal can be produced by more than one MCPoint; that is why the MC reference is of type CbmMatch and not CbmLink.
Definition at line 31 of file CbmMuchSignal.h.
|
inline |
Default Constructor
Definition at line 34 of file CbmMuchSignal.h.
|
inline |
Standard constructor
fTimeStart | Start time [ns] |
fTimeStop | Stop time [ns] = Start Time + Dead Time |
fCharge | Charge in electrons as slowshaper output of XYTER |
fModifiedCharge | Charge after PileUp and checks whetherslowshaper crossed 70-80ns time window. If yes then no change and fCharge will be used. If no then charge will be calculated as per slowshaper behavior of XYTER |
Definition at line 52 of file CbmMuchSignal.h.
|
delete |
CbmMuchSignal::CbmMuchSignal | ( | const CbmMuchSignal & | rhs | ) |
Definition at line 45 of file CbmMuchSignal.cxx.
|
inlinevirtual |
void CbmMuchSignal::AddNoise | ( | UInt_t | meanNoise | ) |
Definition at line 131 of file CbmMuchSignal.cxx.
References fCharge.
Referenced by CbmMuchDigitizeGem::AddCharge(), and CbmMuchDigitizeGem::BufferSignals().
|
private |
|
inline |
Definition at line 96 of file CbmMuchSignal.h.
References fAddress.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 114 of file CbmMuchSignal.h.
References fCharge.
|
inline |
Definition at line 91 of file CbmMuchSignal.h.
References fCharge.
Referenced by CbmMuchDigitizeGem::BufferSignals(), CbmMuchDigitizeGem::ConvertSignalToDigi(), CbmMuchReadoutBuffer::Merge(), and MergeSignal().
|
inline |
Definition at line 95 of file CbmMuchSignal.h.
References fMatch.
Referenced by CbmMuchDigitizeGem::AddCharge(), CbmMuchDigitizeGem::BufferSignals(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 93 of file CbmMuchSignal.h.
References fPileUpCount.
Referenced by MergeSignal().
|
inline |
Definition at line 115 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi().
|
inline |
Definition at line 86 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchReadoutBuffer::Merge(), and MergeSignal().
|
inline |
Definition at line 89 of file CbmMuchSignal.h.
References fTimeStop.
Referenced by CbmMuchReadoutBuffer::Merge(), and MergeSignal().
void CbmMuchSignal::MergeSignal | ( | CbmMuchSignal * | signal | ) |
Definition at line 89 of file CbmMuchSignal.cxx.
References fCharge, fPileUpCount, fTimeStart, fTimeStop, GetCharge(), GetPileUpCount(), GetTimeStart(), GetTimeStop(), and SLOWSHAPERPEAK.
Referenced by CbmMuchReadoutBuffer::Merge().
|
delete |
|
inline |
Definition at line 104 of file CbmMuchSignal.h.
References fCharge.
Referenced by CbmMuchDigitizeGem::AddCharge(), CbmMuchDigitizeGem::AddNoiseSignal(), CbmMuchDigitizeGem::BufferSignals(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 106 of file CbmMuchSignal.h.
References fMatch.
|
inline |
Definition at line 99 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 100 of file CbmMuchSignal.h.
References fTimeStop.
Referenced by CbmMuchReadoutBuffer::Merge().
|
private |
Definition at line 118 of file CbmMuchSignal.h.
Referenced by GetAddress().
|
private |
Definition at line 122 of file CbmMuchSignal.h.
Referenced by AddNoise(), GetCharge(), MergeSignal(), and SetCharge().
|
private |
Definition at line 127 of file CbmMuchSignal.h.
Referenced by GetMatch(), SetMatch(), and ~CbmMuchSignal().
|
private |
Definition at line 124 of file CbmMuchSignal.h.
Referenced by GetPileUpCount(), and MergeSignal().
|
private |
Definition at line 119 of file CbmMuchSignal.h.
Referenced by GetTimeStamp(), GetTimeStart(), MergeSignal(), and SetTimeStart().
|
private |
Definition at line 120 of file CbmMuchSignal.h.
Referenced by GetTimeStop(), MergeSignal(), and SetTimeStop().