CMS 3D CMS Logo

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

Public Member Functions

def __init__ (self)
 
def startElement (self, name, attrs)
 

Public Attributes

 addition
 
 atype
 
 data
 
 divide
 
 graph
 
 plot
 
 size
 
 superimpose
 
 tmpaddname
 
 tmpgraphname
 
 tmpsupername
 

Detailed Description

Definition at line 176 of file cuy.py.

Constructor & Destructor Documentation

def cuy.FindIssue.__init__ (   self)

Definition at line 177 of file cuy.py.

177  def __init__(self):
178  self.data = {}
179  self.divide = {}
180  self.addition = {}
181  self.superimpose = {}
182  self.graph = {}
183  self.tmpaddname = ""
184  self.plot = {}
185  self.size = 0
186  self.atype = ""
187  self.tmpsupername = ""
188  self.tmpgraphname = ""
189 
def __init__(self)
Definition: cuy.py:177
tmpgraphname
Definition: cuy.py:188
tmpsupername
Definition: cuy.py:187

Member Function Documentation

def cuy.FindIssue.startElement (   self,
  name,
  attrs 
)

Definition at line 190 of file cuy.py.

References cuy.FindIssue.addition, cuy.FindIssue.atype, CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, DOTExport.DotProducer.data, CSCTMBScope.data, SimpleVFATFrameCollection.data, KDTreeNodeInfo< DATA >.data, confdb.HLTProcess.data, magfieldparam::rz_poly.data, classes.PlotData.data, emtf::Event.data, QGLikelihoodObject.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, materialEffect::Covariance.data, MainPageGenerator.MainPageGenerator.data, dqmTnP::AbstractFitter.data, LASModuleProfile.data, KDTreeNodeInfoT< DATA, DIM >.data, KDTreeNodes< DATA >.data, QGLikelihoodSystematicsObject.data, UnbinnedFitDeDxEstimator.data, tkMSParameterization::Elems.data, TkStripRecHitIter.data, TkLasBeam.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, GeometryComparisonPlotter.data, CSCUpgradeMotherboard::LCTContainer.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, magfieldparam::poly2d_base.data, edm::MapOfVectors< K, T >::Iter.data, edm::DetSet< T >.data, data, EcalShowerContainmentCorrections::Coefficients.data, PixelLimits.data, TkMSParameterization.data, options.HLTProcessOptions.data, cscdqm::Cache.data, StripLimits.data, DQMNet::Bucket.data, PhysicsTools::TrainerMonitoring::Module.data, VFATFrame.data, cuy.FindIssue.data, HCAL_HLX::ET_SUM_NIBBLE.data, HCAL_HLX::OCCUPANCY_NIBBLE.data, HCAL_HLX::LHC_NIBBLE.data, HCAL_HLX::ET_SUM_SECTION.data, HCAL_HLX::OCCUPANCY_SECTION.data, HCAL_HLX::LHC_SECTION.data, edmStreamStallGrapher.Stack.data, cuy.FindIssue.divide, tensorflow::NTSession::PerPartitionExecutorsAndLib.graph, tensorflow::TBBSession::PerPartitionExecutorsAndLib.graph, tensorflow::NTSession::ExecutorsAndKeys.graph, tensorflow::TBBSession::ExecutorsAndKeys.graph, cuy.FindIssue.graph, tensorflow::TBBSession::RunStateArgs.graph, tensorflow::NTSession::RunStateArgs.graph, splitter.FileObj.size, ClusterData.size, cond::persistency::RUN_INFO::RUN_NUMBER.size, cond::persistency::TAG::NAME.size, cond::persistency::GLOBAL_TAG::NAME.size, cond::persistency::GLOBAL_TAG::VALIDITY.size, cond::persistency::RUN_INFO::START_TIME.size, cond::persistency::TAG::TIME_TYPE.size, cond::persistency::GLOBAL_TAG::DESCRIPTION.size, cond::persistency::RUN_INFO::END_TIME.size, cond::persistency::TAG::OBJECT_TYPE.size, cond::persistency::TAG::SYNCHRONIZATION.size, cond::persistency::GLOBAL_TAG::RELEASE.size, cond::persistency::TAG::END_OF_VALIDITY.size, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.size, cond::persistency::GLOBAL_TAG::INSERTION_TIME.size, cond::persistency::TAG::DESCRIPTION.size, cond::persistency::TAG::LAST_VALIDATED_TIME.size, cond::persistency::RUN_INFO::MAX_RUN_NUMBER.size, cond::persistency::TAG::INSERTION_TIME.size, hgc_digi::HGCCellInfo.size, cond::persistency::TAG::MODIFICATION_TIME.size, cond::persistency::RUN_INFO::MIN_RUN_NUMBER.size, DDHCalForwardAlgo.size, PUEvent::PUMinBiasEvt.size, cond::persistency::RUN_INFO::MIN_START_TIME.size, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.size, cond::persistency::GLOBAL_TAG_MAP::RECORD.size, MagGeoBuilderFromDDD::bLayer.size, cond::persistency::GLOBAL_TAG_MAP::LABEL.size, reco::Candidate.size, Phase2ITPixelClusterShapeCache::Field.size, SiPixelClusterShapeCache::Field.size, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.size, reco::Vertex.size, cond::persistency::PAYLOAD::HASH.size, SiStripLAProfileBooker.size, cond::persistency::PAYLOAD::OBJECT_TYPE.size, cond::persistency::PAYLOAD::DATA.size, cond::persistency::PAYLOAD::STREAMER_INFO.size, cond::persistency::PAYLOAD::VERSION.size, cond::persistency::PAYLOAD::INSERTION_TIME.size, ColinearityKinematicConstraint.size, cond::TagInfo_t.size, cond::persistency::IOV::TAG_NAME.size, cond::persistency::IOV::SINCE.size, cond::persistency::IOV::PAYLOAD_HASH.size, cond::persistency::IOV::INSERTION_TIME.size, cond::persistency::IOV::SINCE_GROUP.size, cond::persistency::IOV::SEQUENCE_SIZE.size, cond::persistency::IOV::MIN_SINCE.size, cond::persistency::IOV::MAX_SINCE.size, edmNew::dstvdetails::DetSetVectorTrans::Item.size, cond::persistency::TAG_LOG::TAG_NAME.size, cond::persistency::TAG_LOG::EVENT_TIME.size, cond::persistency::TAG_LOG::USER_NAME.size, cond::persistency::TAG_LOG::HOST_NAME.size, cond::persistency::TAG_LOG::COMMAND.size, cond::persistency::TAG_LOG::ACTION.size, cond::persistency::TAG_LOG::USER_TEXT.size, esMonitoring.LineHistoryEnd.size, cuy.FindIssue.size, CLookToRead.size, cuy.FindIssue.superimpose, cuy.FindIssue.tmpaddname, cuy.FindIssue.tmpgraphname, and cuy.FindIssue.tmpsupername.

190  def startElement(self, name, attrs):
191  if name == 'validation':
192  self.size = self.size + 1
193  self.atype = attrs.get('type',None)
194  self.data[self.atype] = ValElement()
195  self.data[self.atype].type = attrs.get('type',None)
196  self.data[self.atype].filename = attrs.get('file',None)
197  self.data[self.atype].release = attrs.get('release',None)
198  self.data[self.atype].weight = attrs.get('weight','')
199  if name == 'TH1':
200  self.data[self.atype].histos[attrs.get('name',None)] = attrs.get('source',None)
201  #print attrs.get('name',None)
202  #print attrs.get('source',None)
203  if name == 'divide':
204  aname = attrs.get('name',None)
205  self.divide[aname] = divideElement()
206  self.divide[aname].name = aname
207  self.divide[aname].numerator = attrs.get('numerator',None)
208  self.divide[aname].denominator = attrs.get('denominator',None)
209  self.divide[aname].DivideOption = attrs.get('DivideOption',None)
210  self.divide[aname].Option = attrs.get('Option',None)
211  if name == 'addition':
212  aname = attrs.get('name',None)
213  self.addition[aname] = additionElement()
214  self.tmpaddname = aname
215  self.addition[aname].name = aname
216  self.addition[aname].title = attrs.get('title',None)
217  self.addition[aname].YTitle = attrs.get('YTitle',None)
218  self.addition[aname].XTitle = attrs.get('XTitle',None)
219  self.addition[aname].Option = attrs.get('Option',None)
220  self.addition[aname].Weight = attrs.get('Wight',None)
221  self.addition[aname].Normalize = attrs.get('Normalize',None)
222  self.addition[aname].SetGrid = attrs.get('SetGrid',None)
223  if name == 'additionItem':
224  #print "in element: " + self.tmpsupername
225  self.addition[self.tmpaddname].histos.append(attrs.get('name',None))
226  self.addition[self.tmpaddname].weight.append(attrs.get('weight',None))
227  if name == 'superimpose':
228  aname = attrs.get('name',None)
229  self.superimpose[aname] = superimposeElement()
230  self.superimpose[aname].name = aname
231  self.superimpose[aname].title = attrs.get('title',None)
232  self.superimpose[aname].SetLogy = attrs.get('SetLogy',None)
233  self.superimpose[aname].SetGrid = attrs.get('SetGrid',None)
234  self.superimpose[aname].Normalize = attrs.get('Normalize',None)
235  self.superimpose[aname].Stack = attrs.get('Stack',None)
236  self.superimpose[aname].YTitle = attrs.get('YTitle',None)
237  self.superimpose[aname].XTitle = attrs.get('XTitle',None)
238  self.superimpose[aname].projection = attrs.get('Projection',None)
239  self.superimpose[aname].bin = attrs.get('bin',None)
240  self.superimpose[aname].profile = attrs.get('Profile',None)
241  self.superimpose[aname].Fill = attrs.get('Fill',None)
242  self.superimpose[aname].Option = attrs.get('Option',None)
243  self.superimpose[aname].Weight = attrs.get('Weight',None)
244  self.superimpose[aname].Maximum = attrs.get('Maximum',None)
245  self.superimpose[aname].Minimum = attrs.get('Minimum',None)
246  self.superimpose[aname].Labels = attrs.get('Labels',None)
247  self.superimpose[aname].Rebin = attrs.get('Rebin',None)
248  self.tmpsupername = aname
249  if name == 'graph':
250  aname = attrs.get('name',None)
251  self.graph[aname] = graphElement()
252  self.graph[aname].name = aname
253  self.graph[aname].title = attrs.get('title',None)
254  self.graph[aname].SetLogy = attrs.get('SetLogy',None)
255  self.graph[aname].SetGrid = attrs.get('SetGrid',None)
256  self.graph[aname].Normalize = attrs.get('Normalize',None)
257  self.graph[aname].Stack = attrs.get('Stack',None)
258  self.graph[aname].YTitle = attrs.get('YTitle',None)
259  self.graph[aname].XTitle = attrs.get('XTitle',None)
260  self.graph[aname].projection = attrs.get('Projection',None)
261  self.graph[aname].bin = attrs.get('bin',None)
262  self.graph[aname].profile = attrs.get('Profile',None)
263  self.graph[aname].Fill = attrs.get('Fill',None)
264  self.graph[aname].Option = attrs.get('Option',None)
265  self.graph[aname].Weight = attrs.get('Weight',None)
266  self.graph[aname].Maximum = attrs.get('Maximum',None)
267  self.graph[aname].Minimum = attrs.get('Minimum',None)
268  self.graph[aname].Labels = attrs.get('Labels',None)
269  self.tmpgraphname = aname
270  if name == 'superimposeItem':
271  #print "in element: " + self.tmpsupername
272  self.superimpose[self.tmpsupername].histos.append(attrs.get('name',None))
273  self.superimpose[self.tmpsupername].color.append(attrs.get('color',None))
274  self.superimpose[self.tmpsupername].marker.append(attrs.get('MarkerStyle',None))
275  self.superimpose[self.tmpsupername].legend.append(attrs.get('legend',None))
276  #self.superimpose[self.tmpsupername].flavour.append(attrs.get('flavour',None))
277  #self.superimpose[self.tmpsupername].weight.append(attrs.get('weight',None))
278  if name == 'graphItem':
279  #print "in element: " + self.tmpsupername
280  self.graph[self.tmpgraphname].histos.append(attrs.get('name',None))
281  self.graph[self.tmpgraphname].color.append(attrs.get('color',None))
282  self.graph[self.tmpgraphname].marker.append(attrs.get('MarkerStyle',None))
283  self.graph[self.tmpgraphname].legend.append(attrs.get('legend',None))
284  self.graph[self.tmpgraphname].flavour.append(attrs.get('flavour',None))
285  #self.se[self.tmpsupername].weight.append(attrs.get('weight',None))
286 
287 
288 
tmpgraphname
Definition: cuy.py:188
tmpsupername
Definition: cuy.py:187
def startElement(self, name, attrs)
Definition: cuy.py:190

Member Data Documentation

cuy.FindIssue.addition

Definition at line 180 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.atype

Definition at line 186 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.data
cuy.FindIssue.divide

Definition at line 179 of file cuy.py.

Referenced by python.rootplot.utilities.Hist.__div__(), and cuy.FindIssue.startElement().

cuy.FindIssue.graph

Definition at line 182 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.plot

Definition at line 184 of file cuy.py.

cuy.FindIssue.size
cuy.FindIssue.superimpose

Definition at line 181 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpaddname

Definition at line 183 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpgraphname

Definition at line 188 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpsupername

Definition at line 187 of file cuy.py.

Referenced by cuy.FindIssue.startElement().