PamCut: TofCuts/TofDedxS1Cut/TofDedxS1Cut.h Source File

- Main Page
- Classes
- Files

- File List
- File Members

# TofCuts/TofDedxS1Cut/TofDedxS1Cut.h

Go to the documentation of this file.

    00001 /*
    00002  * TofDedxS1Cut.h
    00003  *
    00004  *  Created on: 13-mar-2009
    00005  *      Author: Nicola Mori, S. Ricciarini
    00006  */
    00007
    00010 #ifndef TOFDEDXS1CUT_H_
    00011 #define TOFDEDXS1CUT_H_
    00012
    00013 #include "../../PamCutBase/PamCutBase.h"
    00014
    00015
    00021 class TofDedxS1Cut: public PamCut {
    00022
    00023 public:
    00033   TofDedxS1Cut(const char *cutName, float maxDedxS1, int *trackTof=NULL):
    00034     PamCut(cutName), _maxDedxS1(maxDedxS1), _trackTof(trackTof) {
    00035   }
    00037   ~TofDedxS1Cut() {
    00038   }
    00039
    00046   int Check(PamLevel2 *event);
    00047
    00048 private:
    00049
    00050   float _maxDedxS1;
    00051   int *_trackTof;
    00052   int _nHitPadPair[3]; // Number of hit paddles on each pair of layers
    00053
    00054 };
    00055
    00056 #endif /* TOFDEDXS1CUT_H_ */