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

◆ __init__()

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 

Member Function Documentation

◆ startElement()

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

Definition at line 190 of file cuy.py.

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 

References cuy.FindIssue.addition, cuy.FindIssue.atype, CombinedSVCalibration.data, CombinedTauTagCalibration.data, TrackProbabilityCalibration.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, confdb.HLTProcess.data, SimpleVFATFrameCollection.data, emtf::Event.data, magfieldparam::rz_poly.data, classes.PlotData.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, materialEffect::Covariance.data, LASModuleProfile.data, dqmTnP::AbstractFitter.data, LCTContainer.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, TkLasBeam.data, TkStripRecHitIter.data, KDTreeNodes< DATA, DIM >.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, GeometryComparisonPlotter.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, magfieldparam::poly2d_base.data, EcalShowerContainmentCorrections::Coefficients.data, data, edm::DetSet< T >.data, TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, DQMNet::Bucket.data, options.HLTProcessOptions.data, StripLimits.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, cuy.FindIssue.graph, splitter.FileObj.size, ClusterData.size, cond::persistency::RUN_INFO::RUN_NUMBER.size, cond::persistency::GLOBAL_TAG::NAME.size, cond::persistency::TAG::NAME.size, cond::persistency::GLOBAL_TAG::VALIDITY.size, cond::persistency::RUN_INFO::START_TIME.size, cond::persistency::TAG::TIME_TYPE.size, cond::persistency::RUN_INFO::END_TIME.size, cond::persistency::GLOBAL_TAG::DESCRIPTION.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, cond::persistency::TAG::MODIFICATION_TIME.size, cond::persistency::RUN_INFO::MIN_RUN_NUMBER.size, PUEvent::PUMinBiasEvt.size, hgc_digi::HGCCellHitInfo.size, cond::persistency::RUN_INFO::MIN_START_TIME.size, hgc_digi::HGCCellInfo.size, magneticfield::bLayer.size, DDHCalForwardAlgo.size, reco::Candidate.size, reco::Vertex.size, SiPixelClusterShapeCache::Field.size, ColinearityKinematicConstraint.size, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.size, SiStripLAProfileBooker.size, cond::persistency::GLOBAL_TAG_MAP::RECORD.size, cond::persistency::GLOBAL_TAG_MAP::LABEL.size, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.size, cond::persistency::PAYLOAD::HASH.size, cond::persistency::PAYLOAD::OBJECT_TYPE.size, cond::persistency::PAYLOAD::DATA.size, cond::persistency::PAYLOAD::STREAMER_INFO.size, cond::TagInfo_t.size, cond::persistency::PAYLOAD::VERSION.size, cond::persistency::PAYLOAD::INSERTION_TIME.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, esMonitoring.LineHistoryEnd.size, cond::persistency::TAG_LOG::TAG_NAME.size, cond::persistency::TAG_LOG::EVENT_TIME.size, cuy.FindIssue.size, cond::persistency::TAG_LOG::USER_NAME.size, cond::persistency::TAG_LOG::HOST_NAME.size, cond::persistency::TAG_LOG::COMMAND.size, CLookToRead.size, cond::persistency::TAG_LOG::ACTION.size, cond::persistency::TAG_LOG::USER_TEXT.size, cuy.FindIssue.superimpose, cuy.FindIssue.tmpaddname, cuy.FindIssue.tmpgraphname, and cuy.FindIssue.tmpsupername.

Member Data Documentation

◆ addition

cuy.FindIssue.addition

Definition at line 180 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ atype

cuy.FindIssue.atype

Definition at line 186 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ data

cuy.FindIssue.data

◆ divide

cuy.FindIssue.divide

Definition at line 179 of file cuy.py.

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

◆ graph

cuy.FindIssue.graph

Definition at line 182 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ plot

cuy.FindIssue.plot

Definition at line 184 of file cuy.py.

◆ size

cuy.FindIssue.size

◆ superimpose

cuy.FindIssue.superimpose

Definition at line 181 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpaddname

cuy.FindIssue.tmpaddname

Definition at line 183 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpgraphname

cuy.FindIssue.tmpgraphname

Definition at line 188 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpsupername

cuy.FindIssue.tmpsupername

Definition at line 187 of file cuy.py.

Referenced by cuy.FindIssue.startElement().