CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
cuy.FindIssue Class Reference
Inheritance diagram for cuy.FindIssue:

Public Member Functions

def __init__
 
def startElement
 

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

def cuy.FindIssue.__init__ (   self)

Definition at line 176 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 = ""
def __init__
Definition: cuy.py:176
tmpgraphname
Definition: cuy.py:187
tmpsupername
Definition: cuy.py:186

Member Function Documentation

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, TrackProbabilityCalibration.data, ecal::DigisCollection< StoragePolicy >.data, ElectronLikelihoodCalibration.data, CSCTMBScope.data, ecal::raw::InputDataCPU.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, hcal::raw::InputDataCPU.data, LASModuleProfile.data, dqmTnP::AbstractFitter.data, UnbinnedFitDeDxEstimator.data, QGLikelihoodSystematicsObject.data, tkMSParameterization::Elems.data, LCTContainer.data, TkStripRecHitIter.data, TkLasBeam.data, KDTreeNodes< DATA, DIM >.data, ecal::raw::InputDataGPU.data, tkMSParameterization::FromToData.data, hcaltb::ClassicQADCDataFormat.data, GeometryComparisonPlotter.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, @775.data, edm::DetSet< T >.data, CTPPSCompositeESSource::BinData< T >.data, TkMSParameterization.data, PixelLimits.data, cscdqm::Cache.data, DQMNet::Bucket.data, options.HLTProcessOptions.data, hcal::DigiCollectionBase< StoragePolicy >.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::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::TAG::OBJECT_TYPE.size, cond::persistency::RUN_INFO::END_TIME.size, cond::persistency::GLOBAL_TAG::DESCRIPTION.size, cond::persistency::GLOBAL_TAG::RELEASE.size, cond::persistency::TAG::SYNCHRONIZATION.size, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.size, cond::persistency::TAG::END_OF_VALIDITY.size, cond::persistency::GLOBAL_TAG::INSERTION_TIME.size, cond::persistency::TAG::DESCRIPTION.size, cond::persistency::O2O_RUN::JOB_NAME.size, cond::persistency::RUN_INFO::MAX_RUN_NUMBER.size, cond::persistency::TAG::LAST_VALIDATED_TIME.size, cond::persistency::O2O_RUN::START_TIME.size, cond::persistency::TAG::INSERTION_TIME.size, cond::persistency::O2O_RUN::END_TIME.size, cond::persistency::TAG::MODIFICATION_TIME.size, cond::persistency::O2O_RUN::STATUS_CODE.size, SiPixelROCsStatusAndMapping.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, PUEvent::PUMinBiasEvt.size, hgc_digi::HGCCellHitInfo.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, 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.

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 
def startElement
Definition: cuy.py:189
tmpgraphname
Definition: cuy.py:187
tmpsupername
Definition: cuy.py:186

Member Data Documentation

cuy.FindIssue.addition

Definition at line 179 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.atype

Definition at line 185 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.data

Definition at line 177 of file cuy.py.

Referenced by data_sources.node.__str__(), data_sources.json_list.as_dicts(), data_sources.json_list.as_table(), data_sources.json_list.get_members(), data_sources.json_list.last(), and cuy.FindIssue.startElement().

cuy.FindIssue.divide

Definition at line 178 of file cuy.py.

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

cuy.FindIssue.graph

Definition at line 181 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.plot

Definition at line 183 of file cuy.py.

cuy.FindIssue.size

Definition at line 184 of file cuy.py.

Referenced by ntupleDataFormat._Collection.__iter__(), ntupleDataFormat._Collection.__len__(), and cuy.FindIssue.startElement().

cuy.FindIssue.superimpose

Definition at line 180 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpaddname

Definition at line 182 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpgraphname

Definition at line 187 of file cuy.py.

Referenced by cuy.FindIssue.startElement().

cuy.FindIssue.tmpsupername

Definition at line 186 of file cuy.py.

Referenced by cuy.FindIssue.startElement().