test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ZGeneratorLineShape.h
Go to the documentation of this file.
1 #ifndef Z_GENERATOR_LINE_SHAPE
2 #define Z_GENERATOR_LINE_SHAPE
3 
4 #include "Riostream.h"
5 #include "RooDataHist.h"
6 #include "RooHistPdf.h"
7 #include "TH1F.h"
8 #include "TFile.h"
9 
10 class ZGeneratorLineShape : public RooAbsPdf {
11 
12 public:
14  ZGeneratorLineShape(const char *name, const char *title,
15  RooAbsReal& _m,
16  //char* genfile = "/uscmst1b_scratch/lpc1/old_scratch/lpctrig/jwerner/ZeePASResConvFitter/ZeeGenLevel.root"
17  const char* genfile = "ZeeGenLevel.root", const char* histoName= "Mass"
18  );
19 
20  ZGeneratorLineShape(const ZGeneratorLineShape& other, const char* name);
21  inline virtual TObject* clone(const char* newname) const { return new ZGeneratorLineShape(*this,newname);}
23  ClassDef(ZGeneratorLineShape,1)
24  Double_t evaluate() const;
25  protected:
26  RooRealProxy m ;
27  RooDataHist* dataHist;
28 };
29 
30 #endif
Double_t evaluate() const
virtual TObject * clone(const char *newname) const
string const
Definition: compareJSON.py:14
#define protected
Definition: FWEveView.cc:35