Ignore:
Timestamp:
Nov 6, 2001, 7:01:46 PM (24 years ago)
Author:
cmv
Message:

add FlagAround + enum FlagToiAll cmv 6/11/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ArchTOIPipe/ProcWSophya/ktoibad.h

    r1733 r1735  
    99//-- Pour rechercher les glitches
    1010//   toi BoloIn ---> |FlagGlitch | ---> toi BoloOut
    11 
    1211class FlagGlitch : public TOIProcessor {
    1312public:
     
    4342};
    4443
     44//-- Pour flagguer les samples autour de samples deja flaggues
     45//   toi BoloIn ---> |FlagAround | ---> toi BoloOut
     46class FlagAround : public TOIProcessor {
     47public:
     48  FlagAround(uint_4 lm,uint_8 flgs=FlgToiAll);
     49  virtual ~FlagAround();
     50
     51  virtual void  init(void);
     52  virtual void  run(void);
     53
     54  //! Flagguer les samples avec la valeur flag
     55  inline void SetFlag(uint_8 flag=FlgToiAround) {flgAround = flag;}
     56  //! Flagguer autour des samples ayant la valeur flag
     57  inline void SetFlagAroundFlag(uint_8 flag=FlgToiAll) {flgSample = flag;}
     58  //! Print
     59  void Print(ostream & os);
     60  inline void Print(void) {Print(cout);}
     61
     62protected:
     63  uint_8 flgSample,flgAround;
     64  uint_4 LSide;
     65};
     66
    4567#endif
Note: See TracChangeset for help on using the changeset viewer.