CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
Histogrammer.Histogrammer Class Reference
Inheritance diagram for Histogrammer.Histogrammer:

Public Member Functions

def beginLoop (self, setup)
 
def process (self, event)
 

Public Attributes

 hist
 

Detailed Description

Definition at line 4 of file Histogrammer.py.

Member Function Documentation

◆ beginLoop()

def Histogrammer.Histogrammer.beginLoop (   self,
  setup 
)

Definition at line 6 of file Histogrammer.py.

6  def beginLoop(self, setup):
7  super(Histogrammer, self).beginLoop(setup)
8  servname = '_'.join(['PhysicsTools.HeppyCore.framework.services.tfile.TFileService',
9  self.cfg_ana.file_label
10  ])
11  tfileservice = setup.services[servname]
12  tfileservice.file.cd()
13  self.hist = TH1F("hist", "an histogram", 200, 0, 200)
14 

References analyzer.Analyzer.cfg_ana, and join().

◆ process()

def Histogrammer.Histogrammer.process (   self,
  event 
)

Member Data Documentation

◆ hist

Histogrammer.Histogrammer.hist

Definition at line 13 of file Histogrammer.py.

Referenced by Histogrammer.Histogrammer.process().

join
static std::string join(char **cmd)
Definition: RemoteFile.cc:17
LaserDQM_cfg.process
process
Definition: LaserDQM_cfg.py:3
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition: HcalObjRepresent.h:1053