CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
Printer.Printer Class Reference
Inheritance diagram for Printer.Printer:

Public Member Functions

def beginLoop
 
def process
 

Public Attributes

 firstEvent
 

Detailed Description

Definition at line 3 of file Printer.py.

Member Function Documentation

def Printer.Printer.beginLoop (   self,
  setup 
)

Definition at line 5 of file Printer.py.

5 
6  def beginLoop(self, setup):
7  super(Printer, self).beginLoop(setup)
8  self.firstEvent = True
def beginLoop
Definition: Printer.py:5
def Printer.Printer.process (   self,
  event 
)

Definition at line 9 of file Printer.py.

References Printer.Printer.firstEvent, lhef::LHEReader.firstEvent, StudyHLT.firstEvent, LeptonRecoSkim.firstEvent, SiStripMonitorPedestals.firstEvent, IsoTrackCalib.firstEvent, SiStripMonitorCluster.firstEvent, SiStripMonitorDigi.firstEvent, TriggerValidator.firstEvent, and SiStripMonitorTrack.firstEvent.

Referenced by ConfigBuilder.ConfigBuilder.__init__(), ConfigBuilder.ConfigBuilder.addExtraStream(), ConfigBuilder.ConfigBuilder.anyOf(), ConfigBuilder.ConfigBuilder.completeInputCommand(), ConfigBuilder.ConfigBuilder.doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules.leave(), ConfigBuilder.ConfigBuilder.prepare(), ConfigBuilder.ConfigBuilder.prepare_ALCA(), ConfigBuilder.ConfigBuilder.prepare_DQM(), ConfigBuilder.ConfigBuilder.prepare_FASTSIM(), ConfigBuilder.ConfigBuilder.prepare_HARVESTING(), ConfigBuilder.ConfigBuilder.prepare_HLT(), ConfigBuilder.ConfigBuilder.prepare_LHE(), ConfigBuilder.ConfigBuilder.prepare_PATFILTER(), ConfigBuilder.ConfigBuilder.prepare_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

9 
10  def process(self, event):
11  if self.firstEvent:
12  event.input.Print()
13  self.firstEvent = False
14  print "printing event", event.iEv, 'var1', event.input.var1
15 

Member Data Documentation

Printer.Printer.firstEvent

Definition at line 7 of file Printer.py.

Referenced by looper.Looper.loop(), and Printer.Printer.process().