|
Class Reference for E1039 Core & Analysis Software
|
A set of utility functions about the TDC data. More...
Functions | |
| void | FindTaiwanTdcBinning (int &n_bin, double &time_lo, double &time_hi) |
| Find a proper set of "n_bin", "time_lo" and "time_hi". More... | |
| void | GetOccupancy (SRawEvent *raw, const bool in_time, int occ_det[N_DET+1]) |
| Get the occupancy of each detector (plane). More... | |
| void | GetOccupancy (SRawEvent *raw, const bool in_time, int &occ_D0, int &occ_D1, int &occ_D2, int &occ_D3) |
| Get the occupancy of each station. More... | |
Variables | |
| static const int | N_DET = 54 |
A set of utility functions about the TDC data.
| void UtilTdc::FindTaiwanTdcBinning | ( | int & | n_bin, |
| double & | time_lo, | ||
| double & | time_hi | ||
| ) |
Find a proper set of "n_bin", "time_lo" and "time_hi".
One TDC count of the Taiwan TDC corresponds to 4/9 nsec. Therefore the bin width has to be "i * 4/9" with "i" integer.
Definition at line 10 of file UtilTdc.cc.
| void UtilTdc::GetOccupancy | ( | SRawEvent * | raw, |
| const bool | in_time, | ||
| int & | occ_D0, | ||
| int & | occ_D1, | ||
| int & | occ_D2, | ||
| int & | occ_D3 | ||
| ) |
Get the occupancy of each station.
Usage:
Definition at line 52 of file UtilTdc.cc.
References GetOccupancy(), and N_DET.
Here is the call graph for this function:| void UtilTdc::GetOccupancy | ( | SRawEvent * | raw, |
| const bool | in_time, | ||
| int | occ_det[N_DET+1] | ||
| ) |
Get the occupancy of each detector (plane).
Usage:
Definition at line 34 of file UtilTdc.cc.
References Hit::detectorID, SRawEvent::getHit(), SRawEvent::getNHitsAll(), Hit::isInTime(), and N_DET.
Referenced by GetOccupancy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 7 of file UtilTdc.h.
Referenced by GetOccupancy().