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 36 of file CbmMuchSignal.h.
|
inline |
Default Constructor
Definition at line 39 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 50 of file CbmMuchSignal.h.
|
delete |
CbmMuchSignal::CbmMuchSignal | ( | const CbmMuchSignal & | rhs | ) |
Definition at line 53 of file CbmMuchSignal.cxx.
|
inlinevirtual |
void CbmMuchSignal::AddNoise | ( | UInt_t | meanNoise | ) |
Definition at line 139 of file CbmMuchSignal.cxx.
References fCharge.
Referenced by CbmMuchDigitizeGem::AddCharge(), and CbmMuchDigitizeGem::BufferSignals().
|
private |
|
inline |
Definition at line 97 of file CbmMuchSignal.h.
References fAddress.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 115 of file CbmMuchSignal.h.
References fCharge.
|
inline |
Definition at line 92 of file CbmMuchSignal.h.
References fCharge.
Referenced by CbmMuchDigitizeGem::BufferSignals(), CbmMuchDigitizeGem::ConvertSignalToDigi(), CbmMuchReadoutBuffer::Merge(), and MergeSignal().
|
inline |
Definition at line 96 of file CbmMuchSignal.h.
References fMatch.
Referenced by CbmMuchDigitizeGem::AddCharge(), CbmMuchDigitizeGem::BufferSignals(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 94 of file CbmMuchSignal.h.
References fPileUpCount.
Referenced by MergeSignal().
|
inline |
Definition at line 116 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchDigitizeGem::ConvertSignalToDigi().
|
inline |
Definition at line 87 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchReadoutBuffer::Merge(), and MergeSignal().
|
inline |
Definition at line 90 of file CbmMuchSignal.h.
References fTimeStop.
Referenced by CbmMuchReadoutBuffer::Merge(), and MergeSignal().
void CbmMuchSignal::MergeSignal | ( | CbmMuchSignal * | signal | ) |
Definition at line 99 of file CbmMuchSignal.cxx.
References fCharge, fPileUpCount, fTimeStart, fTimeStop, GetCharge(), GetPileUpCount(), GetTimeStart(), GetTimeStop(), and SLOWSHAPERPEAK.
Referenced by CbmMuchReadoutBuffer::Merge().
|
delete |
|
inline |
Definition at line 105 of file CbmMuchSignal.h.
References fCharge.
Referenced by CbmMuchDigitizeGem::AddCharge(), CbmMuchDigitizeGem::AddNoiseSignal(), CbmMuchDigitizeGem::BufferSignals(), and CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 107 of file CbmMuchSignal.h.
References fMatch.
|
inline |
Definition at line 100 of file CbmMuchSignal.h.
References fTimeStart.
Referenced by CbmMuchReadoutBuffer::Merge().
|
inline |
Definition at line 101 of file CbmMuchSignal.h.
References fTimeStop.
Referenced by CbmMuchReadoutBuffer::Merge().
|
private |
Definition at line 119 of file CbmMuchSignal.h.
Referenced by GetAddress().
|
private |
Definition at line 123 of file CbmMuchSignal.h.
Referenced by AddNoise(), GetCharge(), GetCharge(), MergeSignal(), and SetCharge().
|
private |
Definition at line 128 of file CbmMuchSignal.h.
Referenced by GetMatch(), SetMatch(), and ~CbmMuchSignal().
|
private |
Definition at line 125 of file CbmMuchSignal.h.
Referenced by GetPileUpCount(), and MergeSignal().
|
private |
Definition at line 120 of file CbmMuchSignal.h.
Referenced by GetTimeStamp(), GetTimeStart(), MergeSignal(), and SetTimeStart().
|
private |
Definition at line 121 of file CbmMuchSignal.h.
Referenced by GetTimeStop(), MergeSignal(), and SetTimeStop().