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 175 of file cuy.py.

Constructor & Destructor Documentation

◆ __init__()

def cuy.FindIssue.__init__ (   self)

Definition at line 176 of file cuy.py.

176  def __init__(self):
177  self.data = {}
178  self.divide = {}
179  self.addition = {}
180  self.superimpose = {}
181  self.graph = {}
182  self.tmpaddname = ""
183  self.plot = {}
184  self.size = 0
185  self.atype = ""
186  self.tmpsupername = ""
187  self.tmpgraphname = ""
188 
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

◆ startElement()

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

Definition at line 189 of file cuy.py.

References cuy.FindIssue.addition, cuy.FindIssue.atype, mat4.data, CombinedSVCalibration.data, CombinedTauTagCalibration.data, l1t::demo::Frame.data, TrackProbabilityCalibration.data, ecal::DigisCollection< StoragePolicy >.data, ecal::raw::InputDataCPU.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, SimpleVFATFrameCollection.data, confdb.HLTProcess.data, emtf::Event.data, magfieldparam::rz_poly.data, classes.PlotData.data, dqm::DQMFileSaverOnline::SnapshotFiles.data, QGLikelihoodObject.data, KDTreeNodeInfo< DATA, DIM >.data, calo::multifit::MapSymM< T, Stride, Order >.data, materialEffect::Covariance.data, dqmTnP::AbstractFitter.data, hcal::raw::InputDataCPU.data, LASModuleProfile.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, LCTContainer.data, GeometryComparisonPlotter.data, TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, ecal::raw::InputDataGPU.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, calo::multifit::MapMForPM< T >.data, EcalGlobalShowerContainmentCorrectionsVsEta::Coefficients.data, edm::MapOfVectors< K, T >::Iter.data, magfieldparam::poly2d_base.data, hcal::raw::InputDataGPU.data, EcalShowerContainmentCorrections::Coefficients.data, data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, options.HLTProcessOptions.data, DQMNet::Bucket.data, StripLimits.data, hcal::DigiCollectionBase< StoragePolicy >.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, tensorflow::SessionCache.graph, splitter.FileObj.size, ClusterData.size, cond::persistency::GLOBAL_TAG::NAME.size, cond::persistency::TAG::NAME.size, cond::persistency::RUN_INFO::RUN_NUMBER.size, cond::persistency::GLOBAL_TAG::VALIDITY.size, cond::persistency::TAG::TIME_TYPE.size, cond::persistency::RUN_INFO::START_TIME.size, cond::persistency::RUN_INFO::END_TIME.size, cond::persistency::TAG::OBJECT_TYPE.size, cond::persistency::GLOBAL_TAG::DESCRIPTION.size, cond::persistency::TAG::SYNCHRONIZATION.size, cond::persistency::GLOBAL_TAG::RELEASE.size, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.size, cond::persistency::TAG::END_OF_VALIDITY.size, cond::persistency::TAG::DESCRIPTION.size, cond::persistency::GLOBAL_TAG::INSERTION_TIME.size, cond::persistency::O2O_RUN::JOB_NAME.size, cond::persistency::TAG::LAST_VALIDATED_TIME.size, cond::persistency::RUN_INFO::MAX_RUN_NUMBER.size, cond::persistency::O2O_RUN::START_TIME.size, cond::persistency::TAG::INSERTION_TIME.size, cond::persistency::O2O_RUN::END_TIME.size, SiPixelROCsStatusAndMapping.size, cond::persistency::TAG::MODIFICATION_TIME.size, cond::persistency::O2O_RUN::STATUS_CODE.size, cond::persistency::TAG::PROTECTION_CODE.size, cond::persistency::O2O_RUN::LOG.size, calo::common::AddSize< tags::Ptr >.size, cond::persistency::RUN_INFO::MIN_RUN_NUMBER.size, hgc_digi::HGCCellHitInfo.size, PUEvent::PUMinBiasEvt.size, calo::common::AddSize< tags::DevPtr >.size, cond::persistency::RUN_INFO::MIN_START_TIME.size, hgc_digi::HGCCellInfo.size, SiPixelROCsStatusAndMappingWrapper.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, cond::persistency::GLOBAL_TAG_MAP::RECORD.size, cond::persistency::GLOBAL_TAG_MAP::LABEL.size, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.size, SiStripLAProfileBooker.size, cond::TagInfo_t.size, ClusterBranch.size, cond::persistency::PAYLOAD::HASH.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, 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, edmNew::dstvdetails::DetSetVectorTrans::Item.size, cond::persistency::IOV::SEQUENCE_SIZE.size, cond::persistency::IOV::MIN_SINCE.size, cond::persistency::IOV::MAX_SINCE.size, esMonitoring.LineHistoryEnd.size, cuy.FindIssue.size, CLookToRead.size, cond::persistency::TAG_AUTHORIZATION::TAG_NAME.size, cond::persistency::TAG_AUTHORIZATION::ACCESS_TYPE.size, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL.size, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL_TYPE.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, cuy.FindIssue.superimpose, cuy.FindIssue.tmpaddname, cuy.FindIssue.tmpgraphname, and cuy.FindIssue.tmpsupername.

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

Member Data Documentation

◆ addition

cuy.FindIssue.addition

Definition at line 179 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ atype

cuy.FindIssue.atype

Definition at line 185 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ data

cuy.FindIssue.data

◆ divide

cuy.FindIssue.divide

Definition at line 178 of file cuy.py.

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

◆ graph

cuy.FindIssue.graph

Definition at line 181 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ plot

cuy.FindIssue.plot

Definition at line 183 of file cuy.py.

◆ size

cuy.FindIssue.size

◆ superimpose

cuy.FindIssue.superimpose

Definition at line 180 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpaddname

cuy.FindIssue.tmpaddname

Definition at line 182 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpgraphname

cuy.FindIssue.tmpgraphname

Definition at line 187 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

◆ tmpsupername

cuy.FindIssue.tmpsupername

Definition at line 186 of file cuy.py.

Referenced by cuy.FindIssue.startElement().