00001 #ifndef TMBL2CPS_H_ 00002 #define TMBL2CPS_H_ 00003 00005 // 00006 // Purpose: This is the header file that defines a class to help fill the 00007 // tuple correctly with L2 preprocessor CPS. 00008 // 00009 // Author: Yann Coadou 00010 // Date: 19-Apr-2004 00011 // 00013 00014 00015 #include "tmb_tree/TMBL2Base.hpp" 00016 00019 class TMBL2CPS : public TMBL2Base { 00020 public: 00021 TMBL2CPS(); //constructor 00022 TMBL2CPS(const TMBL2CPS&); //copy constructor 00023 00024 ~TMBL2CPS() {;} //destructor 00025 00027 00028 void LooseMatch (int x) {loosematch = x;} 00029 void TightMatch (int x) {tightmatch = x;} 00030 void MultTrackTag (int x) {multtracktag = x;} 00031 void IsoTrk (int x) {isotrk = x;} 00032 void AdjacentCTTMatch (int x) {adjacentcttmatch = x;} 00033 void Sign (int x) {sign = x;} 00035 00037 00038 int LooseMatch() const {return loosematch;} 00039 int TightMatch() const {return tightmatch;} 00040 int MultTrackTag() const {return multtracktag;} 00041 int IsoTrk() const {return isotrk;} 00042 int AdjacentCTTMatch() const {return adjacentcttmatch;} 00043 int Sign() const {return sign;} 00044 int Charge() const {return (sign == 0 ? 1 : -1);} 00046 00047 private: 00048 int loosematch; 00049 int tightmatch; 00050 int multtracktag; 00051 int isotrk; 00052 int adjacentcttmatch; 00053 int sign; 00054 00055 ClassDef(TMBL2CPS,1) 00056 00057 }; //end of class TMBL2CPS 00058 #endif // TMBL2CPS_H_
1.3.4