| 27 |
///< Discarded because charge is not between 1 and 8 |
///< Discarded because charge is not between 1 and 8 |
| 28 |
}; |
}; |
| 29 |
|
|
|
/*! @enum TofNucleiZ_Layers Flags to identify layers. */ |
|
|
enum TofNucleiZ_Layers { |
|
|
TOFNUCLEIZ_S11 = 1, ///< S11. |
|
|
TOFNUCLEIZ_S12 = 2, ///< S12. |
|
|
TOFNUCLEIZ_S21 = 4, ///< S21. |
|
|
TOFNUCLEIZ_S22 = 8, ///< S22. |
|
|
TOFNUCLEIZ_S31 = 16, ///< S31. |
|
|
TOFNUCLEIZ_S32 = 32 |
|
|
///< S32. |
|
|
}; |
|
|
|
|
| 30 |
/*! @brief The TofNuclei charge cut. |
/*! @brief The TofNuclei charge cut. |
| 31 |
* |
* |
| 32 |
* This cut uses the TofNuclei library to cut events depending on particle's charge value. |
* This cut uses the TofNuclei library to cut events depending on particle's charge value. |
| 46 |
* @param lowerLimit The lower bound (in units of sigmaZ) of the desired charge range, defined as Zmean - lowerBound*sigmaZ. |
* @param lowerLimit The lower bound (in units of sigmaZ) of the desired charge range, defined as Zmean - lowerBound*sigmaZ. |
| 47 |
* @param upperLimit The upper bound (in units of sigmaZ) of the desired charge range, defined as Zmean + upperBound*sigmaZ. |
* @param upperLimit The upper bound (in units of sigmaZ) of the desired charge range, defined as Zmean + upperBound*sigmaZ. |
| 48 |
* @param minLayers The minimum number of layers for which Z must have been measured. |
* @param minLayers The minimum number of layers for which Z must have been measured. |
| 49 |
* @param layersMask The masked layers (see #TofNucleiZ_Layers). These will be ignored throughout all the TofNucleiZCut analysis. |
* @param layersMask The masked layers (see #TOFLAYERS). These will be ignored throughout all the TofNucleiZCut analysis. |
| 50 |
* @see Check |
* @see Check |
| 51 |
*/ |
*/ |
| 52 |
TofNucleiZCut(const char *cutName, unsigned int Z, float lowerLimit, float upperLimit, unsigned int minLayers = 6, |
TofNucleiZCut(const char *cutName, unsigned int Z, float lowerLimit, float upperLimit, unsigned int minLayers = 6, |
| 70 |
* |
* |
| 71 |
* The routine selects events whose value of Zmean obtained from the ToF is in the range [Zmean - sigma*lowerBound, Zmean + sigma*upperBound]. |
* The routine selects events whose value of Zmean obtained from the ToF is in the range [Zmean - sigma*lowerBound, Zmean + sigma*upperBound]. |
| 72 |
* Zmean and sigma are defined respectively as the mean and the standard deviation of the charge distributions obtained using ToFNuclei. |
* Zmean and sigma are defined respectively as the mean and the standard deviation of the charge distributions obtained using ToFNuclei. |
| 73 |
* The calibration values used in this routine are: |
* The calibration values used in this routine (for all energies) are: |
| 74 |
* |
* |
| 75 |
* Z=1 | Zmean sigma |
* Z=1 | Zmean sigma |
| 76 |
* ------------------------ |
* ------------------------ |
| 90 |
* S31 | 1.99 0.14 |
* S31 | 1.99 0.14 |
| 91 |
* S32 | 2.00 0.15 |
* S32 | 2.00 0.15 |
| 92 |
* |
* |
| 93 |
* In current implementation, heavier nuclei up to oxygen are partly calibrated; means are taken equal to the particle's charge (Zmean = Z) |
* In current implementation, heavier nuclei up to oxygen are partially calibrated; means are taken equal to the particle's charge (Zmean = Z) |
| 94 |
* and a single sigma is used for all ToF layers: |
* and a single sigma is used for all ToF layers: |
| 95 |
* |
* |
| 96 |
* Z | sigma |
* Z | sigma |
| 102 |
* 7 | 0.45 |
* 7 | 0.45 |
| 103 |
* 8 | 0.50 |
* 8 | 0.50 |
| 104 |
* |
* |
| 105 |
|
* The charge of the particle is detrmined by calling ToFNuclei::Get_Charge_ToF_std_layer(). |
| 106 |
* First of all, the number of non-masked layers giving a valid charge information is checked to be greater than minLayers; then the bound |
* First of all, the number of non-masked layers giving a valid charge information is checked to be greater than minLayers; then the bound |
| 107 |
* on the charge value is checked for all valid planes. If at least one of the valid, non-masked planes gives a charge outside the bounds |
* on the charge value is checked for all valid planes. If at least one of the valid, non-masked planes gives a charge outside the bounds |
| 108 |
* the routine will return #TOFNUCLEIZ_OUTOFBOUNDS. Note that this happens even if more than minLayers give a charge inside boundaries; |
* the routine will return #TOFNUCLEIZ_OUTOFBOUNDS. Note that this happens even if more than minLayers give a charge inside boundaries; |