--- PamCut/TrkCuts/TrkSigmaDeflCut/TrkSigmaDeflCut.h 2009/05/27 13:30:09 1.1.1.1 +++ PamCut/TrkCuts/TrkSigmaDeflCut/TrkSigmaDeflCut.h 2010/05/03 14:37:18 1.2 @@ -14,7 +14,9 @@ /*! @brief The cut on TRK sigma_deflection. * - * This cut discards an event if its sigma_deflection (defined as sqrt(coval[4][4]), in GV^-1) is not less than the minimum deflection for the bin which contains the event deflection modulus (deflection of the first TRK track). + * This cut discards an event if its sigma_deflection (defined as sqrt(coval[4][4]), in GV^-1) + * multiplied by a constant parameter is not less than the minimum deflection for the bin which + * contains the event deflection modulus (deflection of the first TRK track). * */ class TrkSigmaDeflCut: public PamCut { @@ -28,8 +30,8 @@ * that the elements must be ordered (ie., lowest rigidity value in the first * element and so on). */ - TrkSigmaDeflCut(const char *cutName, std::vector binning) : - PamCut(cutName), _binning(binning) { + TrkSigmaDeflCut(const char *cutName, std::vector binning, float sigmaDeflFactor = 1.) : + PamCut(cutName), _binning(binning), _sigmaDeflFactor(sigmaDeflFactor) { } /*! @brief Constructor. @@ -40,7 +42,7 @@ * that the elements must be ordered (ie., lowest rigidity value in the first * element and so on). */ - TrkSigmaDeflCut(const char *cutName, const char* rigBinListFileName); + TrkSigmaDeflCut(const char *cutName, const char* rigBinListFileName, float deflFactor = 1.); /*! @brief Destructor. */ ~TrkSigmaDeflCut() { @@ -57,10 +59,10 @@ */ int Check(PamLevel2 *event); - private: std::vector _binning; + float _sigmaDeflFactor; };