CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/RecoParticleFlow/PFRootEvent/interface/FastJetFWLiteWrapper.h

Go to the documentation of this file.
00001 
00002 #ifndef JetAlgorithms_FastJetFWLiteWrapper_h
00003 #define JetAlgorithms_FastJetFWLiteWrapper_h
00004 
00031 #include "RecoParticleFlow/PFRootEvent/interface/ProtoJet.h"
00032 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00033 #include "DataFormats/Math/interface/LorentzVector.h"
00034 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00035 #include "RecoParticleFlow/PFRootEvent/interface/JetRecoTypes.h"
00036 #include "fastjet/ActiveAreaSpec.hh"
00037 
00038 #include <vector>
00039 #include <string>
00040 
00041 
00042 namespace fastjet {
00043   class JetDefinition;
00044 }
00045 class FastJetFWLiteWrapper
00046 {  
00047  public:
00048   FastJetFWLiteWrapper();
00049   ~FastJetFWLiteWrapper();
00050   void run(const JetReco::InputCollection& fInput, JetReco::OutputCollection* fOutput);
00051 
00052 
00053  private:         
00054  
00055 
00056   int theMode_;
00057 
00058   double thePtMin_;
00059   double theRparam_;
00060   double theDcut_;
00061   int theNjets_;
00062   // Subtraction-Parameters:
00063   bool theDoSubtraction_;
00064   double theGhost_EtaMax_;
00065   int theActive_Area_Repeats_;
00066   //fastjet::ActiveAreaSpec theArea_Spec;
00067   double theGhostArea_;
00068   double theMedian_Pt_Per_Area_;  
00069   fastjet::JetDefinition* mJetDefinition;
00070   fastjet::ActiveAreaSpec* mActiveArea;
00071  
00072 
00073  public:  
00074   // Set methods --------------------------------------------
00075   void setPtMin (double aPtMin){thePtMin_=aPtMin;}
00076   void setRParam (double aRparam){ theRparam_=aRparam;} 
00077 
00078   // Get methods --------------------------------------------
00079   double getPtMin (){return thePtMin_ ;}
00080   double getRParam(){return  theRparam_;} 
00081 };
00082 
00083 
00084 #endif
00085