/[PAMELA software]/PamCut/TrkCuts/TrkChi2DeflTimeCut/TrkChi2DeflTimeCut.h
ViewVC logotype

Diff of /PamCut/TrkCuts/TrkChi2DeflTimeCut/TrkChi2DeflTimeCut.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by pam-fi, Fri Sep 2 16:28:17 2011 UTC revision 1.6 by pam-fi, Wed Mar 25 17:38:08 2015 UTC
# Line 52  public: Line 52  public:
52     * @param calibFile_nHitX4 Path for the calibration text file, used for events with nHitX>=4.       * @param calibFile_nHitX4 Path for the calibration text file, used for events with nHitX>=4.  
53     * @param nPar Number of parameters used for the Chi2 function. Maximum allowed: 5. Default: 5.     * @param nPar Number of parameters used for the Chi2 function. Maximum allowed: 5. Default: 5.
54     */     */
55    TrkChi2DeflTimeCut(const char *cutName, const char *calibFile_nHitX3, const char *calibFile_nHitX4, int nPar=5) :    TrkChi2DeflTimeCut(const char *cutName, const char *trkAlg, const char *calibFile_nHitX3, const char *calibFile_nHitX4, int nPar=5) :
56      PamCut(cutName), _calibFile_nHitX3(calibFile_nHitX3), _calibFile_nHitX4(calibFile_nHitX4), _nPar(nPar) {      PamCut(cutName), _trkAlg(trkAlg), _calibFile_nHitX3(calibFile_nHitX3), _calibFile_nHitX4(calibFile_nHitX4), _nPar(nPar) {
57    
58      _chi2CutTable_nHitX3.open(_calibFile_nHitX3);      _chi2CutTable_nHitX3.open(_calibFile_nHitX3);
59      while (! _chi2CutTable_nHitX3.eof()) {      while (! _chi2CutTable_nHitX3.eof()) {
# Line 114  public: Line 114  public:
114     */     */
115    int Check(PamLevel2 *event);    int Check(PamLevel2 *event);
116    
117  private:  protected:
118    
119        const char *_trkAlg;
120    
121    
122    private:
123    
124      virtual double _GetChi2(PamLevel2 *event);      virtual double _GetChi2(PamLevel2 *event);
125    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23