/[PAMELA software]/PamCut/MiscCuts/DataQualCut/DataQualCut.h
ViewVC logotype

Diff of /PamCut/MiscCuts/DataQualCut/DataQualCut.h

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

revision 1.2 by pam-fi, Tue Mar 9 18:02:08 2010 UTC revision 1.4 by pam-fi, Mon Sep 5 13:02:32 2011 UTC
# Line 2  Line 2 
2   * DataQualCut.h   * DataQualCut.h
3   *   *
4   *  Created on: 10-mar-2009   *  Created on: 10-mar-2009
5   *      Author: N. Mori   *      Author: N. Mori, S. Ricciarini, E. Mocchiutti
6   */   */
7    
8  #ifndef DATAQUALCUT_H_  #ifndef DATAQUALCUT_H_
# Line 16  Line 16 
16   * This cut ensures that all the data relative to the various detectors is   * This cut ensures that all the data relative to the various detectors is
17   * present in the current event and that it has been correctly read.   * present in the current event and that it has been correctly read.
18   */   */
19    //TODO: vedere se includere il ND e S4, chiedere riguardo al controllo su ORB che non c'e' in PamLevel2::IsGood()
20  class DataQualCut: public PamCut {  class DataQualCut: public PamCut {
21    
22  public:  public:
23    /*! @brief Constructor.    /*! @brief Constructor.
 DataQualCut.h  
24     *     *
25     * @param cutName The cut's name.     * @param cutName The cut's name.
26     * @param cutMask An integer whose binary code would provide a mask for the cuts to apply;     * @param cutMask An integer whose binary code would provide a mask for the cuts to apply;
# Line 29  DataQualCut.h Line 28  DataQualCut.h
28     *        Default: DEFAULT (meaning Level-2 for TRK, CALO, TOF, ANT, TRG, ORB).     *        Default: DEFAULT (meaning Level-2 for TRK, CALO, TOF, ANT, TRG, ORB).
29     */     */
30    
31    DataQualCut(const char *cutName, unsigned int cutMask=DEFAULT) :    DataQualCut(const char *cutName, unsigned int cutMask = DEFAULT) :
32      PamCut(cutName), _cutMask(cutMask) {        PamCut(cutName), _cutMask(cutMask) {
33    }    }
34    /*! @brief Destructor. */    /*! @brief Destructor. */
35    ~DataQualCut() {    ~DataQualCut() {
# Line 57  DataQualCut.h Line 56  DataQualCut.h
56  private:  private:
57    
58    unsigned int _cutMask;    unsigned int _cutMask;
59      Bool_t CL1IsGood(CaloLevel1 *cl1, CaloLevel2 *cl2); ///< Check CaloLevel1 Consistency
60    
61  };  };
62  #endif /* DATAQUALCUT_H_ */  #endif /* DATAQUALCUT_H_ */

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23