CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
beamerCreator.Out Class Reference

Public Member Functions

def __init__ (self)
 
def add (self, text)
 
def addSlide (self, head, text)
 
def addSlide_fragile (self, head, text)
 

Public Attributes

 text
 

Detailed Description

Definition at line 19 of file beamerCreator.py.

Constructor & Destructor Documentation

◆ __init__()

def beamerCreator.Out.__init__ (   self)

Definition at line 21 of file beamerCreator.py.

21  def __init__(self):
22  self.text = ""
23 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ add()

def beamerCreator.Out.add (   self,
  text 
)

Definition at line 40 of file beamerCreator.py.

References beamerCreator.Out.text.

Referenced by counter.Counter.register(), SequenceTypes._TaskBase.remove(), and SequenceTypes._TaskBase.replace().

40  def add(self, text):
41  self.text += text + "\n"
42 
43 
void add(std::map< std::string, TH1 *> &h, TH1 *hist)

◆ addSlide()

def beamerCreator.Out.addSlide (   self,
  head,
  text 
)

Definition at line 24 of file beamerCreator.py.

References beamerCreator.Out.text.

24  def addSlide(self, head, text):
25  self.text += "\\begin{{frame}}[t]{{{0}}}\n".format(head)
26  self.text += text
27  self.text += """\\vfill
28  \\rule{0.9\paperwidth}{1pt}
29  \insertnavigation{0.89\paperwidth}
30  \\end{frame}\n"""
31 

◆ addSlide_fragile()

def beamerCreator.Out.addSlide_fragile (   self,
  head,
  text 
)

Definition at line 32 of file beamerCreator.py.

References beamerCreator.Out.text.

32  def addSlide_fragile(self, head, text):
33  self.text += "\\begin{{frame}}[fragile=singleslide]{{{0}}}\n".format(head)
34  self.text += text
35  self.text += """\\vfill
36  \\rule{0.9\paperwidth}{1pt}
37  \insertnavigation{0.89\paperwidth}
38  \\end{frame}\n"""
39 

Member Data Documentation

◆ text

beamerCreator.Out.text