Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

TMCXSectionReweight.h

Go to the documentation of this file.
00001 
00002 // Class TMCXSectionReweight
00003 //
00004 // Author     : E. Sauvan
00005 // Created    : 20/12/2004
00006 // Last update: $Date: 2005/05/21 14:38:29 $
00007 //          by: $Author: sauvan $
00008 // Comment: Class to handle reweigthing of MC cross section, NLO, pdf, etc ...
00010 #ifndef __TMCXSECTIONREWEIGHT
00011 #define __TMCXSECTIONREWEIGHT
00012 
00013 //--- if MARQCDFUNC is used
00014 #define USEMARQCDFUNC 0
00015 
00016 #include <cstdio>
00017 #include <cstdlib>
00018 
00019 #include <iostream>
00020 #include <fstream>
00021 #include <string>
00022 #include <vector>
00023 #include <list>
00024 
00025 //--- Root includes
00026 #include <TObject.h>
00027 #include <TMath.h>
00028 
00029 //--- H1OO includes
00030 #include "H1Mods/H1PartMCArrayPtr.h"
00031 #include "H1Mods/H1PartMC.h"
00032 
00033 //--- Marana includes
00034 #if USEMARQCDFUNC
00035 #include "MarQCDFunc/MarQCDFunc.h"
00036 #endif
00037 //#include "Marana/TMarEvent.h"
00038 
00039 using namespace std;
00040 
00041 class TMCXSectionReweight 
00042 {
00043 
00044 private:
00045 
00046 
00047   // Correction NLO EPVEC
00048   Float_t nlocorr_(Float_t *y, Float_t *pt, Int_t *bsign, Float_t *ene, Int_t *opt, Float_t *code);
00049 
00050 
00051 
00052 public:
00053 
00054 Double_t GetEpvecNLOWeight(H1PartMCArrayPtr GenPart,Float_t pBeamEnergy,Int_t DecayType);
00055 Double_t GetQCDWeight(Double_t& xGen,Double_t& Q2Gen,Double_t& pola,Short_t& LeptonCharge,Short_t& MCType);
00056 
00057 
00058 
00059 //... Standard constructor and destructor
00060   TMCXSectionReweight();
00061 
00062 };
00063 
00064 #endif

Generated on Thu Jul 28 11:48:52 2005 for SFHMarana by doxygen 1.3.2