CMS 3D CMS Logo

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

Public Member Functions

def declareVariables
 
def process
 

Detailed Description

Definition at line 10 of file MetTreeProducer.py.

Member Function Documentation

def MetTreeProducer.MetTreeProducer.declareVariables (   self)
def MetTreeProducer.MetTreeProducer.process (   self,
  iEvent,
  event 
)

Definition at line 21 of file MetTreeProducer.py.

References MetTreeProducer.fill(), tree.Tree.tree, SimpleTreeProducer.SimpleTreeProducer.tree, eventstfile.Events.tree, CSCTFanalyzer.tree, RootChamberWriter.tree(), CSCTFAnalyzer.tree, core.TreeAnalyzerNumpy.TreeAnalyzerNumpy.tree, HcalTestHistoManager.tree, TkOfflineVariables.tree, AlignmentIORootBase.tree, edm::DuplicateTreeSentry.tree(), IsolatedParticlesGeneratedJets.tree, EcalPerEvtMatacqAnalyzer.tree, KVFTest.tree, CheckSecondary.tree, ShallowTree.tree, FWFileEntry.tree(), EcalDeadChannelRecoveryNN< DetIdT >::MultiLayerPerceptronContext.tree, cms::DiJetAnalyzer.tree, edm::RootOutputTree.tree(), TreeSaver.tree, EcalMatacqAnalyzer.tree, PhysicsTools::TreeReader.tree, edm::FileBlock.tree(), python.cmstools.EventTree.tree(), IsoTrackCalibration.tree, KinematicVertex.tree, IsoTrackCalib.tree, KinematicParticle.tree, edm::RootTree.tree(), HcalIsoTrkAnalyzer.tree, IsolatedGenParticles.tree, IsolatedTracksHcalScale.tree, IsolatedTracksNxN.tree, and svgfig.SVG.tree().

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_VALIDATION(), ConfigBuilder.ConfigBuilder.renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder.renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder.scheduleSequence().

21 
22  def process(self, iEvent, event):
23 
24  tr = self.tree
25  tr.reset()
26  fill( tr, 'u1', event.u1)
27  fill( tr, 'u2', event.u2)
28  fill( tr, 'met', event.met.pt())
29  fill( tr, 'sumet', event.met.sumEt())
30  fill( tr, 'zpt', event.diLepton.pt())
31  fill( tr, 'zeta', event.diLepton.eta())
32  fill( tr, 'weight', event.vertexWeight)
33  self.tree.tree.Fill()
34