CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 public:
14  const char* name,
15  const char* title,
16  RooAbsReal& _m,
17  //char* genfile = "/uscmst1b_scratch/lpc1/old_scratch/lpctrig/jwerner/ZeePASResConvFitter/ZeeGenLevel.root"
18  const char* genfile = "ZeeGenLevel.root",
19  const char* histoName = "Mass");
20 
22  inline TObject* clone(const char* newname) const override { return new ZGeneratorLineShape(*this, newname); }
23  inline ~ZGeneratorLineShape() override{};
24  ClassDefOverride(ZGeneratorLineShape, 1) Double_t evaluate() const override;
25 
26 protected:
27  RooRealProxy m;
28  RooDataHist* dataHist;
29 };
30 
31 #endif
ZGeneratorLineShape::ClassDefOverride
ClassDefOverride(ZGeneratorLineShape, 1) Double_t evaluate() const override
ZGeneratorLineShape
Definition: ZGeneratorLineShape.h:10
watchdog.const
const
Definition: watchdog.py:83
ZGeneratorLineShape::ZGeneratorLineShape
ZGeneratorLineShape()
Definition: ZGeneratorLineShape.h:12
hgcalDigitizer_cfi._m
_m
Definition: hgcalDigitizer_cfi.py:204
trackingPlots.other
other
Definition: trackingPlots.py:1465
ZGeneratorLineShape::dataHist
RooDataHist * dataHist
Definition: ZGeneratorLineShape.h:28
ZGeneratorLineShape::~ZGeneratorLineShape
~ZGeneratorLineShape() override
Definition: ZGeneratorLineShape.h:23
ZGeneratorLineShape::clone
TObject * clone(const char *newname) const override
Definition: ZGeneratorLineShape.h:22
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
ZGeneratorLineShape::m
RooRealProxy m
Definition: ZGeneratorLineShape.h:27
HltBtagPostValidation_cff.histoName
histoName
Definition: HltBtagPostValidation_cff.py:17
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17