CMS 3D CMS Logo

Functions
ZGeneratorLineShape.cc File Reference
#include "PhysicsTools/TagAndProbe/interface/ZGeneratorLineShape.h"

Go to the source code of this file.

Functions

 ClassImp (ZGeneratorLineShape) ZGeneratorLineShape
 

Function Documentation

ClassImp ( ZGeneratorLineShape  )

Definition at line 3 of file ZGeneratorLineShape.cc.

8  :
9  RooAbsPdf(name,title),
10  m("m","m", this,_m),
11  dataHist(0)
12 {
13  TFile *f_gen= TFile::Open(genfile);
14  TH1F* mass_th1f = (TH1F*) f_gen->Get(histoName);
15  dataHist = new RooDataHist("Mass_gen", "Mass_gen", _m, mass_th1f );
16  f_gen->Close();
17 }