00001 00002 // Class TwoB4JPairing 00003 // 00004 // Author: Jenny Boehme, Anca Siebel 00005 // Last update: $Date: 2004/06/01 16:40:11 $ 00006 // by: $Author: blist $ 00007 // 00008 // Description: handle permutations of 2b jets and 4 light jets 00009 // 00011 00012 #ifndef __TWOB4JPAIRING_H 00013 #define __TWOB4JPAIRING_H 00014 00015 #include <iostream> 00016 #include "jbltools/kinfit/BaseJetPairing.h" 00017 #include "jbltools/kinfit/JetFitObject.h" 00018 00019 class TwoB4JPairing : public BaseJetPairing { 00020 public: 00021 // constructor 00022 TwoB4JPairing (JetFitObject *jets_[]); 00023 00024 // destructor 00025 virtual ~TwoB4JPairing() {}; 00026 00027 // getters 00028 virtual int getNPerm() const {return NPERM;}; 00029 00030 // does the job 00031 virtual int nextPermutation (JetFitObject *permObjects[]); 00032 00033 protected: 00034 enum {NPERM = 6}; 00035 enum {NJETS = 6}; 00036 JetFitObject *jets[NJETS]; 00037 int permutations [NPERM][NJETS]; 00038 00039 }; 00040 00041 #endif // __TWOB4JPAIRING_H 00042