CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
officialStyle Namespace Reference

Functions

def CMSPrelim
 
def officialStyle
 

Variables

tuple chan = TPaveText(lowX+0.68, lowY+0.061, lowX+0.80, lowY+0.161, "NDC")
 lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi.SetFillStyle( 0 ) lumi.SetTextAlign( 12 ) lumi.SetTextSize ( 0.04 ) lumi.SetTextColor( 1 ) lumi.SetTextFont ( 62 ) lumi.AddText(dataset) More...
 

Function Documentation

def officialStyle.CMSPrelim (   dataset,
  channel,
  lowX,
  lowY 
)

Definition at line 87 of file officialStyle.py.

87 
88 def CMSPrelim(dataset, channel, lowX, lowY):
89  cmsprel = TPaveText(lowX, lowY+0.06, lowX+0.30, lowY+0.16, "NDC")
90  cmsprel.SetBorderSize( 0 )
91  cmsprel.SetFillStyle( 0 )
92  cmsprel.SetTextAlign( 12 )
93  cmsprel.SetTextSize ( 0.04 )
94  cmsprel.SetTextColor( 1 )
95  cmsprel.SetTextFont ( 62 )
96  cmsprel.AddText(dataset)
def officialStyle.officialStyle (   style)

Definition at line 3 of file officialStyle.py.

3 
4 def officialStyle(style):
5  style.SetCanvasColor (0)
6  style.SetCanvasBorderSize(10)
7  style.SetCanvasBorderMode(0)
8  style.SetCanvasDefH (700)
9  style.SetCanvasDefW (700)
10  style.SetCanvasDefX (100)
11  style.SetCanvasDefY (100)
12 
13  # color palette for 2D temperature plots
14  # style.SetPalette(1,0)
15 
16  # Pads
17  style.SetPadColor (0)
18  style.SetPadBorderSize (10)
19  style.SetPadBorderMode (0)
20  style.SetPadBottomMargin(0.16)
21  style.SetPadTopMargin (0.08)
22  style.SetPadLeftMargin (0.15)
23 # style.SetPadRightMargin (0.3)
24  style.SetPadRightMargin (0.05)
25  style.SetPadGridX (1)
26  style.SetPadGridY (1)
27  style.SetPadTickX (1)
28  style.SetPadTickY (1)
29 
30  # Frames
31  style.SetLineWidth(3)
32  style.SetFrameFillStyle ( 0)
33  style.SetFrameFillColor ( 0)
34  style.SetFrameLineColor ( 1)
35  style.SetFrameLineStyle ( 0)
36  style.SetFrameLineWidth ( 2)
37  style.SetFrameBorderSize(10)
38  style.SetFrameBorderMode( 0)
39 
40  # Histograms
41  style.SetHistFillColor(2)
42  style.SetHistFillStyle(0)
43  style.SetHistLineColor(1)
44  style.SetHistLineStyle(0)
45  style.SetHistLineWidth(3)
46  style.SetNdivisions(505)
47 
48  # Functions
49  style.SetFuncColor(1)
50  style.SetFuncStyle(0)
51  style.SetFuncWidth(2)
52 
53  # Various
54  style.SetMarkerStyle(20)
55  style.SetMarkerColor(kBlack)
56  style.SetMarkerSize (1.4)
57 
58  style.SetTitleBorderSize(0)
59  style.SetTitleFillColor (0)
60  style.SetTitleX (0.3)
61 
62  style.SetTitleSize (0.055,"X")
63  style.SetTitleOffset(1.200,"X")
64  style.SetLabelOffset(0.005,"X")
65  style.SetLabelSize (0.050,"X")
66  style.SetLabelFont (42 ,"X")
67 
68  style.SetStripDecimals(False)
69  style.SetLineStyleString(11,"20 10")
70 
71  style.SetTitleSize (0.055,"Y")
72  style.SetTitleOffset(1.100,"Y")
73  style.SetLabelOffset(0.010,"Y")
74  style.SetLabelSize (0.050,"Y")
75  style.SetLabelFont (42 ,"Y")
76 
77  style.SetTextSize (0.055)
78  style.SetTextFont (42)
79 
80  style.SetStatFont (42)
81  style.SetTitleFont (42)
82  style.SetTitleFont (42,"X")
83  style.SetTitleFont (42,"Y")
84 
85  style.SetOptStat (0)
86 

Variable Documentation

tuple officialStyle.chan = TPaveText(lowX+0.68, lowY+0.061, lowX+0.80, lowY+0.161, "NDC")

lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi.SetFillStyle( 0 ) lumi.SetTextAlign( 12 ) lumi.SetTextSize ( 0.04 ) lumi.SetTextColor( 1 ) lumi.SetTextFont ( 62 ) lumi.AddText(dataset)

Definition at line 106 of file officialStyle.py.

Referenced by PixelDigitizerAlgorithm.add_cross_talk(), Phase2TrackerDigitizerAlgorithm.add_cross_talk(), SiPixelDigitizerAlgorithm.add_noise(), Phase2TrackerDigitizerAlgorithm.add_noisy_cells(), SiStripKey.channel(), cond::service::DTHVCheckByAbsoluteValues.checkCurrentStatus(), cond::service::DTHVCheckWithHysteresis.checkCurrentStatus(), DTHVStatusHandler.checkForPeriod(), sistrip::SpyUnpacker.createDigis(), sistrip::RawToDigiUnpacker.createDigis(), HtrXmlPatternTool.createHists(), SiStripHistoTitle.extractTitle(), CSCConditions.fillBadStripWord(), CSCConditions.fillBadWireWord(), getChannelNumber(), PixelSLinkDataInputSource.getEventNumberFromFillWords(), DTHVStatusHandler.getNewObjects(), SiStripFolderOrganizer.getSiStripControlFolder(), SiPixelChargeReweightingAlgorithm.hitSignalReweight(), InduceChargeFP420.induce(), PixelBrickedDigitizerAlgorithm.induce_signal(), Phase2TrackerDigitizerAlgorithm.induce_signal(), SiPixelDigitizerAlgorithm.induce_signal(), SiPixelDigitizerAlgorithm.initCal(), DTCCBConfig.initialize(), DTTPGParameters.initialize(), DTLVStatus.initialize(), DTRangeT0.initialize(), DTHVStatus.initialize(), DTTtrig.initialize(), DTDeadFlag.initialize(), DTMtime.initialize(), DTStatusFlag.initialize(), DTPerformance.initialize(), popcon::EcalDCSHandler.insertHVDataSetToOffline(), popcon::EcalDCSHandler.insertLVDataSetToOffline(), cms::SiPixelCondObjBuilder.loadFromFile(), cms::SiPixelCondObjForHLTBuilder.loadFromFile(), cms::SiPixelCondObjOfflineBuilder.loadFromFile(), popcon::EcalDCSHandler.LVLogicIDToDetID(), main(), SiPixelDigitizerAlgorithm.make_digis(), sistrip::SpyEventMatcher.mergeMatchingData(), SiPixelDigitizerAlgorithm.pixel_inefficiency(), GEMRawToDigiModule.produce(), SiPixelFedFillerWordEventNumber.PwordSlink64(), popcon::EcalPedestalsHandler.readPedestalTimestamp(), popcon::EcalPedestalsHandler.readPedestalTree(), EcalPulseSymmCovariancesXMLTranslator.readXML(), EcalDAQTowerStatusXMLTranslator.readXML(), EcalDCSTowerStatusXMLTranslator.readXML(), EcalPulseShapesXMLTranslator.readXML(), EcalPedestalsXMLTranslator.readXML(), ContentsYRange.runTest(), DeadChannel.runTest(), NoisyChannel.runTest(), ContentsWithinExpected.runTest(), CompareToMedian.runTest(), ChannelPattern.setLoc(), SiPixelDigitizerAlgorithm.setSimAccumulator(), FastFedCablingHistosUsingDb.update(), and HcalTopology.validCalib().