TrkRigRangeCut Class Reference
The rigidity range cut. This cut discards all the events whose rigidity is less than the minimum threshold or greater than the maximum threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative.
More...
#include <TrkRigRangeCut.h>
List of all members.
|
Public Member Functions |
| TrkRigRangeCut (const char *cutName, float minRigidity, float maxRigidity) |
| Constructor.
|
| ~TrkRigRangeCut () |
| Destructor.
|
int | Check (PamLevel2 *event) |
| The rigidity check.
|
Detailed Description
The rigidity range cut. This cut discards all the events whose rigidity is less than the minimum threshold or greater than the maximum threshold. Here rigidity is defined as p/Z (GV) where Z is the particle charge (WITH SIGN) and p the momentum modulus: therefore rigidity can be positive or negative.
Constructor & Destructor Documentation
TrkRigRangeCut::TrkRigRangeCut |
( |
const char * |
cutName, |
|
|
float |
minRigidity, |
|
|
float |
maxRigidity | |
|
) |
| | [inline] |
Constructor.
- Parameters:
-
| cutName | The cut's name. |
| minRigidity | The minimum rigidity p/Z (in GV) below which an event will be discarded. Can be positive or negative. |
| maxRigidity | The maximum rigidity p/Z (in GV) above which an event will be discarded. Can be positive or negative. |
Member Function Documentation
int TrkRigRangeCut::Check |
( |
PamLevel2 * |
event |
) |
[virtual] |
The rigidity check.
- Parameters:
-
| event | The event to analyze. |
- Returns:
- CUTOK if the rigidity is outside the range
0 otherwise.
Implements PamCut.
The documentation for this class was generated from the following files: