|
BmnRoot
|
Data class for an analog signal in the SSD. More...
#include <BmnSsdSignal.h>
Classes | |
| struct | Before |
Public Member Functions | |
| BmnSsdSignal (Double_t time=0., Double_t charge=0., Int_t index=0, Int_t entry=-1, Int_t file=-1) | |
| virtual | ~BmnSsdSignal () |
| void | AddLink (Double_t charge, Int_t index, Int_t entry=-1, Int_t file=-1) |
| Double_t | GetCharge () const |
| const BmnMatch & | GetMatch () const |
| Double_t | GetTime () const |
| void | SetTime (Double_t time) |
| bool | operator< (const BmnSsdSignal &otherSignal) const |
Data class for an analog signal in the SSD.
Simple data class used in the digitisation process of the SSD. It describes an analog charge signal produced in the SSD sensors and arriving at the readout. It contains time and charge information (the latter through the total weight member of the BmnMatch member), and references to the MCPoints having caused the charge. In the most general case, a signal can be produced by more than one MCPoint; that is why the MC reference is of type BmnMatch and not BmnLink.
Definition at line 27 of file BmnSsdSignal.h.
| BmnSsdSignal::BmnSsdSignal | ( | Double_t | time = 0., |
| Double_t | charge = 0., |
||
| Int_t | index = 0, |
||
| Int_t | entry = -1, |
||
| Int_t | file = -1 |
||
| ) |
Default constructor
| time | Signal time [ns] |
| charge | Analog charge [e] |
| index | Index of BmnSsdPoint |
| entry | Entry in input TTree |
| file | Number of input file |
Definition at line 11 of file BmnSsdSignal.cxx.
References BmnMatch::AddLink().
|
virtual |
Destructor
Definition at line 22 of file BmnSsdSignal.cxx.
|
inline |
Add a link to MCPoint to the match member
| charge | Analog charge [e] |
| index | Index of BmnSsdPoint |
| entry | Entry in input TTree |
| file | Number of input file |
Definition at line 52 of file BmnSsdSignal.h.
References BmnMatch::AddLink().
|
inline |
Charge
Definition at line 61 of file BmnSsdSignal.h.
References BmnMatch::GetTotalWeight().
|
inline |
|
inline |
Time
Definition at line 73 of file BmnSsdSignal.h.
Referenced by BmnSsdSignal::Before::operator()(), and operator<().
|
inline |
Less operator
| Reference | to BmnSignal object to compare to |
Definition at line 86 of file BmnSsdSignal.h.
References GetTime().
|
inline |