CMS 3D CMS Logo

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

Public Member Functions

def __add__ (self, other)
 
def __iadd__ (self, other)
 
def __init__ (self, name)
 
def __str__ (self)
 
def inc (self, level, nentries=1)
 
def register (self, level)
 
def write (self, dirname)
 

Public Attributes

 name
 

Detailed Description

Definition at line 8 of file counter.py.

Constructor & Destructor Documentation

◆ __init__()

def counter.Counter.__init__ (   self,
  name 
)

Definition at line 10 of file counter.py.

10  def __init__(self, name):
11  self.name = name
12  super(Counter, self).__init__()
13 
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

◆ __add__()

def counter.Counter.__add__ (   self,
  other 
)
Add two counters (+).

Definition at line 25 of file counter.py.

References counter.Counter.inc(), join(), SiStripPI.max, FastTimerService_cff.range, counter.Counter.register(), VarParsing.VarParsing.register(), and str.

Referenced by counter.Counter.__iadd__().

25  def __add__(self, other):
26  '''Add two counters (+).'''
27  size = max( len(self), len(other))
28  for i in range(0, size):
29  if i>=len(other):
30  # this line exists only in this counter, leave it as is
31  continue
32  elif i>=len(self):
33  self.register( other[i][0])
34  self.inc( other[i][0], other[i][1] )
35  else:
36  if self[i][0] != other[i][0]:
37  err = ['cannot add these counters:', str(self), str(other)]
38  raise ValueError('\n'.join(err))
39  else:
40  self.inc( other[i][0], other[i][1] )
41  return self
42 
static std::string join(char **cmd)
Definition: RemoteFile.cc:19
#define str(s)

◆ __iadd__()

def counter.Counter.__iadd__ (   self,
  other 
)
Add two counters (+=).

Definition at line 43 of file counter.py.

References rltinfo.MyInteger.__add__(), SequenceTypes._Sequenceable.__add__(), counter.Counter.__add__(), GlobalTag.GlobalTag.__add__(), average.Average.__add__(), SequenceTypes._SequenceCollection.__add__(), LumiList.LumiList.__add__(), and Mixins._ValidatingListBase.__add__().

43  def __iadd__(self, other):
44  '''Add two counters (+=).'''
45  return self.__add__(other)
46 

◆ __str__()

def counter.Counter.__str__ (   self)

Definition at line 58 of file counter.py.

References nano_mu_digi_cff.float, ElectronMVAID.ElectronMVAID.name, AlignableObjectId::entry.name, average.Average.name, counter.Counter.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, TmModule.name, cond::persistency::TAG::NAME.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::TAG::OBJECT_TYPE.name, cond::persistency::RUN_INFO::END_TIME.name, core.autovars.NTupleVariable.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::RELEASE.name, DQMRivetClient::NormOption.name, cond::persistency::TAG::END_OF_VALIDITY.name, MEPSet.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::TAG::DESCRIPTION.name, cms::dd::NameValuePair< T >.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, FWTGeoRecoGeometry::Info.name, cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, cond::persistency::O2O_RUN::LOG.name, ParameterSet.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, cond::persistency::TAG::PROTECTION_CODE.name, OutputMEPSet.name, PixelDCSObject< T >::Item.name, AlignmentConstraint.name, cms::dd::ValuePair< T, U >.name, personalPlayback.Applet.name, Types._Untracked.name, MagCylinder.name, analyzer.Analyzer.name, heppy::ParSet.name, DQMRivetClient::LumiOption.name, cond::persistency::GTProxyData.name, SingleObjectCondition.name, edm::PathTimingSummary.name, DQMRivetClient::ScaleFactorOption.name, cms::DDAlgoArguments.name, EgHLTOfflineSummaryClient::SumHistBinData.name, Barrel.name, perftools::EdmEventSize::BranchRecord.name, cond::TimeTypeSpecs.name, core.autovars.NTupleObjectType.name, edm::PathSummary.name, EcalLogicID.name, lumi::TriggerInfo.name, PixelEndcapLinkMaker::Item.name, XMLProcessor::_loaderBaseConfig.name, MEtoEDM< T >::MEtoEDMObject.name, FWTableViewManager::TableEntry.name, PixelBarrelLinkMaker::Item.name, ExpressionHisto< T >.name, DQMGenericClient::EfficOption.name, TreeCrawler.Package.name, Supermodule.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, options.ConnectionHLTMenu.name, cms::DDParsingContext::CompositeMaterial.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::Tag_t.name, dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, magneticfield::BaseVolumeHandle.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, FastHFShowerLibrary.name, emtf::Node.name, h4DSegm.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, DQMGenericClient::CDOption.name, CounterChecker.name, cond::TagInfo_t.name, TrackerSectorStruct.name, MuonGeometrySanityCheckPoint.name, cond::persistency::PAYLOAD::HASH.name, EDMtoMEConverter.name, DQMGenericClient::NoFlowOption.name, PhysicsTools::Calibration::Variable.name, Mapper::definition< ScannerT >.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, looper.Looper.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, cond::persistency::PAYLOAD::VERSION.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, classes.MonitorData.name, HistogramManager.name, classes.OutputData.name, BPHDecayToResResBuilderBase::DZSelect.name, Crystal.name, h2DSegm.name, cond::persistency::IOV::TAG_NAME.name, options.HLTProcessOptions.name, cond::persistency::IOV::SINCE.name, cond::persistency::IOV::PAYLOAD_HASH.name, cond::persistency::IOV::INSERTION_TIME.name, DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, AlpgenParameterName.name, config.Analyzer.name, geometry.Structure.name, core.autovars.NTupleSubObject.name, Capsule.name, core.autovars.NTupleObject.name, Ceramic.name, SiStripMonitorDigi.name, config.Service.name, BulkSilicon.name, APD.name, core.autovars.NTupleCollection.name, BPHRecoBuilder::BPHRecoSource.name, nanoaod::FlatTable::Column.name, BPHRecoBuilder::BPHCompSource.name, StraightTrackAlignment::RPSetPlots.name, cond::persistency::TAG_AUTHORIZATION::TAG_NAME.name, cond::persistency::TAG_AUTHORIZATION::ACCESS_TYPE.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL_TYPE.name, InnerLayerVolume.name, cond::payloadInspector::TagReference.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, personalPlayback.FrameworkJob.name, Grid.name, trklet::TrackletConfigBuilder::DTCinfo.name, Grille.name, BackPipe.name, plotscripts.SawTeethFunction.name, PatchPanel.name, BackCoolTank.name, DryAirTube.name, crabFunctions.CrabTask.name, MBCoolTube.name, MBManif.name, cscdqm::ParHistoDef.name, hTMaxCell.name, and SummaryOutputProducer::GenericSummary.name.

58  def __str__(self):
59  retstr = 'Counter %s :\n' % self.name
60  prev = None
61  init = None
62  for level, count in self:
63  if prev == None:
64  prev = count
65  init = count
66  if prev == 0:
67  eff1 = -1.
68  else:
69  eff1 = float(count)/prev
70  if init == 0:
71  eff2 = -1.
72  else:
73  eff2 = float(count)/init
74  retstr += '\t {level:<40} {count:>9} \t {eff1:4.2f} \t {eff2:6.4f}\n'.format(
75  level=level,
76  count=count,
77  eff1=eff1,
78  eff2=eff2 )
79  prev = count
80  return retstr
81 
82 
83 
84 

◆ inc()

def counter.Counter.inc (   self,
  level,
  nentries = 1 
)
increment an existing level

Definition at line 17 of file counter.py.

References diclist.diclist.dico.

Referenced by counter.Counter.__add__().

17  def inc(self, level, nentries=1):
18  '''increment an existing level
19  '''
20  if level not in self.dico:
21  raise ValueError('level', level, 'has not been registered')
22  else:
23  self[level][1] += nentries
24 

◆ register()

def counter.Counter.register (   self,
  level 
)

Definition at line 14 of file counter.py.

References MAGNITUDE.add, CachingSeedCleanerBySharedInput.add(), RedundantSeedCleaner.add(), CTPPSRawToDigiErrorSummary.add(), RPPileUpSignals.add(), OOTPileupCorrectionColl.add(), sistrip::WarningSummary.add(), RPixPileUpSignals.add(), StringMap.add(), diclist.diclist.add(), btagbtvdeep::DeepBoostedJetFeatures.add(), SimplePlan1RechitCombiner.add(), average.Average.add(), funct::Master< F >.add(), RPCAMCLinkCounters.add(), CSCAnodeDataFormat.add(), PuppiAlgo.add(), StorableDoubleMap< T >.add(), RPCLinkSynchroStat.add(), StorableDoubleMap< AbsOOTPileupCorrection >.add(), CSCRPCData.add(), TkTrackingRegionsMargin< float >.add(), rltinfo.RLTInfo.add(), TkTrackingRegionsMargin< T >.add(), KalmanVertexUpdator< 5 >.add(), Majority< int >.add(), CompatibleDetToGroupAdder.add(), KalmanVertexUpdator< N >.add(), Majority< T >.add(), CSCAnodeData.add(), edm::ExceptionToActionTable.add(), ForwardDetRingOneZ.add(), materialEffect::Covariance.add(), SiStripMiscalibrate::Entry.add(), AbsPlan1RechitCombiner.add(), rpcrawtodigi::EventRecords.add(), GsfVertexUpdator.add(), DDNameFilter.add(), sipixelobjects::PixelFEDLink.add(), VertexUpdator< 5 >.add(), HcalIndexLookup.add(), MuonSeedFromRecHits.add(), MuonEtaRange.add(), VertexUpdator< N >.add(), SiPileUpSignals.add(), ME0Layer.add(), CosmicHitPairGenerator.add(), HFPreRecHitSortedTable.add(), DigiSimLinkPileUpSignals.add(), LinkConnSpec.add(), ME0Chamber.add(), CosmicHitTripletGenerator.add(), LayerHitMapCache::SimpleCache.add(), PreMixingTrackingParticleWorker.add(), DccSpec.add(), SiPixelDetSummary.add(), FakeCPE::Map.add(), ThirdHitPredictionFromInvLine.add(), CSCCFEBData.add(), DetRodOneR.add(), tracking::TempMeasurements.add(), RPCLinkSynchroStat::LinkBoard.add(), reco::TrackKinematics.add(), edm::helper::Filler< Map >.add(), edm::helper::Filler< Association< C > >.add(), LinkBoardSpec.add(), TriggerBoardSpec.add(), cms::alpakatools::AtomicPairCounter.add(), fwlite::RunLumiSelector.add(), TmpSimEvent.add(), PreMixingCaloParticleWorker.add(), GEMRing.add(), EcalTDigitizer< ESDigitizerTraits >.add(), EcalTDigitizer< Traits >.add(), GEMRegion.add(), GEMStation.add(), GenParticleDecaySelector.add(), sistrip::LinearFit.add(), l1t::demo::BoardData.add(), reco::PixelClusterCounts.add(), RPCChamber.add(), GEMChamber.add(), HcalSiPMHitResponse.add(), l1t::demo::EventData.add(), beamerCreator.Out.add(), EventWithHistory.add(), RPCReadOutMapping.add(), GEMSuperChamber.add(), Averages.add(), AlignmentSurfaceDeformations.add(), L1TriggerKey.add(), pat::EventHypothesis.add(), L1TriggerKeyExt.add(), DTChamber.add(), CSCDDUEventData.add(), HODigiSortedTable.add(), QIE10DigiSortedTable.add(), QIE11DigiSortedTable.add(), CSCAnodeData2007.add(), FWParameterizable.add(), FWTypeToRepresentations.add(), OrderedSet.OrderedSet.add(), CSCComparatorData.add(), RPCSeedPattern.add(), EBHitResponseImpl< constset >.add(), edm::ChildrenCPUTimer.add(), PixelClusterizerBase::AccretionCluster.add(), Hector.add(), FWConfigurationManager.add(), FWViewManagerManager.add(), edm::ConfigurationDescriptions.add(), SurfaceDeformation.add(), SiStripPI::Entry.add(), edm::serviceregistry::ServicesManager::MakerHolder.add(), BowedSurfaceDeformation.add(), SiStripDetSummary.add(), FiberG4Hit.add(), DTKeyedConfig.add(), DTSuperLayer.add(), CSCAnodeData2006.add(), MTDClusterizerBase::AccretionCluster.add(), edm::WallclockTimer.add(), muonisolation::NominalEfficiencyThresholds.add(), root::RooFitFunction< X, Expr >.add(), BPHPlusMinusCandidate.add(), TwoBowedSurfacesDeformation.add(), TH1Store.add(), pat::PATUserDataHelper< ObjectType >.add(), EcalHitResponse.add(), pat::PATUserDataHelper< pat::PFParticle >.add(), pat::PATUserDataHelper< pat::Jet >.add(), pat::PATUserDataHelper< pat::Muon >.add(), pat::PATUserDataHelper< pat::Electron >.add(), pat::PATUserDataHelper< pat::Photon >.add(), pat::PATUserDataHelper< pat::GenericParticle >.add(), pat::PATUserDataHelper< pat::CompositeCandidate >.add(), pat::PATUserDataHelper< pat::MET >.add(), SiStripQuality.add(), pat::PATUserDataHelper< pat::Tau >.add(), AlignmentParameterBuilder.add(), TkHistoMap.add(), fit::RootMinuitCommands< Function >.add(), fwlite::EventContainer.add(), edm::CPUTimer.add(), ME0Geometry.add(), CSCDigiToRaw.add(), GenLumiInfoProduct::FinalStat.add(), MkFitGeometryESProducer::MatHistBin.add(), edm::CountAndLimit.add(), RPCGeometry.add(), DTVDriftCalibration::cellInfo.add(), sistrip::MeanAndStdDev.add(), cms::alpakatools::OneToManyAssocBase< I, ONES, SIZE >.add(), FWEventItemsManager.add(), MTDDetSector.add(), edm::service::ELlimitsTable.add(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell.add(), TTUTrackingAlg::Track.add(), GEMROmap.add(), BPHRecoCandidate.add(), CaloHitResponse.add(), LayerHitMapCache.add(), CaloTDigitizer< Traits, runHelper >.add(), amc13::Packet.add(), reco::fitHelper::Adder< C >.add(), edm::Association< C >::Filler.add(), edm::StatsCount.add(), TkGluedMeasurementDet::HitCollectorForRecHits.add(), edm::eventsetup::EventSetupProvider.add(), reco::fitHelper::Adder< edm::OwnVector< T > >.add(), EcalTimeMapDigitizer.add(), SiPixelQuality.add(), SiPixelLAHarvestMCS::FitFPixMuH.add(), AlignmentParameterSelector.add(), pat::PATUserDataMerger< pat::Muon, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::Photon, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::Tau, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::Tau, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< ObjectType, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::MET, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::Electron, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::Muon, pat::helper::AddUserCand >.add(), reco::CastorTower.add(), pat::PATUserDataMerger< pat::Electron, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::MET, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::CompositeCandidate, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::MET, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::CompositeCandidate, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::Tau, pat::helper::AddUserInt >.add(), FastLineRecognition::Cluster.add(), pat::PATUserDataMerger< pat::Electron, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::MET, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::Tau, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::CompositeCandidate, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::Muon, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::GenericParticle, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::PFParticle, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< ObjectType, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< ObjectType, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< ObjectType, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::GenericParticle, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::Photon, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::GenericParticle, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< ObjectType, Operation >.add(), pat::PATUserDataMerger< pat::GenericParticle, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::Muon, pat::helper::AddUserInt >.add(), reco::Vertex.add(), pat::PATUserDataMerger< pat::Photon, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::PFParticle, pat::helper::AddUserInt >.add(), pat::PATUserDataMerger< pat::Photon, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::PFParticle, pat::helper::AddUserPtr >.add(), pat::PATUserDataMerger< pat::PFParticle, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::CompositeCandidate, pat::helper::AddUserCand >.add(), pat::PATUserDataMerger< pat::Electron, pat::helper::AddUserFloat >.add(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserFloat >.add(), BPHRecoBuilder.add(), CSCBaseElectronicsSim.add(), lhef::LHERunInfo::Counter.add(), CSCALCTs2006.add(), edm::eventsetup::EventSetupRecordProvider.add(), reco::CastorCluster.add(), DTGeometry.add(), edm::ParameterSetDescription.add(), GEMGeometry.add(), DTSegmentCand.add(), CSCEventData.add(), jsoncollector::IntJ.add(), Association< reco::VertexCollection >.add(), Association< C >.add(), edm::Association< C >.add(), edm::ReusableObjectHolder< edm::RunPrincipal >.add(), ReusableObjectHolder< LuminosityBlockPrincipal >.add(), edm::ReusableObjectHolder< HostType >.add(), edm::ReusableObjectHolder< T, Deleter >.add(), edm::ReusableObjectHolder< edm::ESProductHost >.add(), ReusableObjectHolder< RunPrincipal >.add(), edm::ReusableObjectHolder< edm::LuminosityBlockPrincipal >.add(), PhysicsTools::Variable::ValueList.add(), TableCollection.add(), GEMROMapping.add(), edm::WaitingTaskList.add(), TkGluedMeasurementDet::HitCollectorForSimpleHits.add(), SiPixelCluster.add(), PrimaryVertexValidation.add(), edm::eventsetup::EventSetupRecordImpl.add(), TableCollectionSet.add(), MicroME.add(), CSCTMBHeader.add(), GEMChMap.add(), HitDoublets.add(), TkGluedMeasurementDet::HitCollectorForFastMeasurements.add(), o2olib.O2OJobMgr.add(), CTPPSRPAlignmentCorrectionData.add(), Folder.add(), l1tpf_calo::SingleCaloClusterer.add(), ValueMap< DeDxData >.add(), ValueMap< reco::CandidatePtr >.add(), vector< reco::PFCandidateRef >.add(), edm::ValueMap< edm::Ref >.add(), edm::ValueMap< int >.add(), ValueMap< reco::PFCandidateRef >.add(), ValueMap< LorentzVector >.add(), edm::ValueMap< T >.add(), edm::ValueMap< std::pair< float, float > >.add(), Filler.add(), ValueMap< T >.add(), edm::ValueMap< float >.add(), edm::ValueMap< math::XYZTLorentzVector >.add(), ValueMap< TP >.add(), ValueMap< reco::DeDxData >.add(), CSCALCTHeader.add(), PhysicsTools::Calibration::MVAComputerContainer.add(), pat::MET::UnpackedMETUncertainty.add(), hitfit::Fourvec_Event.add(), python.rootplot.utilities.HistStack.add(), edmStreamStallGrapher.RefCountSet.add(), and SequenceTypes._TaskBase.add().

Referenced by counter.Counter.__add__().

14  def register(self, level):
15  self.add( level, [level, 0] )
16 

◆ write()

def counter.Counter.write (   self,
  dirname 
)
Dump the counter to a pickle file and to a text file in dirname.

Definition at line 47 of file counter.py.

References ElectronMVAID.ElectronMVAID.name, AlignableObjectId::entry.name, average.Average.name, counter.Counter.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, TmModule.name, cond::persistency::TAG::NAME.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::TAG::OBJECT_TYPE.name, cond::persistency::RUN_INFO::END_TIME.name, core.autovars.NTupleVariable.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::RELEASE.name, DQMRivetClient::NormOption.name, cond::persistency::TAG::END_OF_VALIDITY.name, MEPSet.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::O2O_RUN::JOB_NAME.name, cond::persistency::TAG::DESCRIPTION.name, cms::dd::NameValuePair< T >.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::O2O_RUN::START_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, cond::persistency::O2O_RUN::END_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, FWTGeoRecoGeometry::Info.name, cond::persistency::O2O_RUN::STATUS_CODE.name, cond::persistency::TAG::MODIFICATION_TIME.name, cond::persistency::O2O_RUN::LOG.name, ParameterSet.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, cond::persistency::TAG::PROTECTION_CODE.name, OutputMEPSet.name, PixelDCSObject< T >::Item.name, AlignmentConstraint.name, cms::dd::ValuePair< T, U >.name, personalPlayback.Applet.name, Types._Untracked.name, MagCylinder.name, analyzer.Analyzer.name, heppy::ParSet.name, DQMRivetClient::LumiOption.name, cond::persistency::GTProxyData.name, SingleObjectCondition.name, edm::PathTimingSummary.name, DQMRivetClient::ScaleFactorOption.name, cms::DDAlgoArguments.name, EgHLTOfflineSummaryClient::SumHistBinData.name, Barrel.name, perftools::EdmEventSize::BranchRecord.name, cond::TimeTypeSpecs.name, core.autovars.NTupleObjectType.name, edm::PathSummary.name, EcalLogicID.name, lumi::TriggerInfo.name, PixelEndcapLinkMaker::Item.name, XMLProcessor::_loaderBaseConfig.name, MEtoEDM< T >::MEtoEDMObject.name, FWTableViewManager::TableEntry.name, PixelBarrelLinkMaker::Item.name, ExpressionHisto< T >.name, DQMGenericClient::EfficOption.name, TreeCrawler.Package.name, Supermodule.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, options.ConnectionHLTMenu.name, cms::DDParsingContext::CompositeMaterial.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cond::Tag_t.name, dqmoffline::l1t::HistDefinition.name, DQMGenericClient::ProfileOption.name, magneticfield::BaseVolumeHandle.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, FastHFShowerLibrary.name, emtf::Node.name, h4DSegm.name, DQMGenericClient::NormOption.name, core.TriggerMatchAnalyzer.TriggerMatchAnalyzer.name, DQMGenericClient::CDOption.name, CounterChecker.name, cond::TagInfo_t.name, TrackerSectorStruct.name, MuonGeometrySanityCheckPoint.name, PhysicsTools::Calibration::Variable.name, EDMtoMEConverter.name, cond::persistency::PAYLOAD::HASH.name, DQMGenericClient::NoFlowOption.name, looper.Looper.name, Mapper::definition< ScannerT >.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, cond::persistency::PAYLOAD::VERSION.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, classes.MonitorData.name, HistogramManager.name, classes.OutputData.name, BPHDecayToResResBuilderBase::DZSelect.name, Crystal.name, h2DSegm.name, cond::persistency::IOV::TAG_NAME.name, options.HLTProcessOptions.name, cond::persistency::IOV::SINCE.name, cond::persistency::IOV::PAYLOAD_HASH.name, cond::persistency::IOV::INSERTION_TIME.name, DQMNet::WaitObject.name, core.TriggerBitAnalyzer.TriggerBitAnalyzer.name, AlpgenParameterName.name, config.Analyzer.name, geometry.Structure.name, core.autovars.NTupleSubObject.name, Capsule.name, core.autovars.NTupleObject.name, Ceramic.name, SiStripMonitorDigi.name, config.Service.name, BulkSilicon.name, APD.name, core.autovars.NTupleCollection.name, BPHRecoBuilder::BPHRecoSource.name, nanoaod::FlatTable::Column.name, BPHRecoBuilder::BPHCompSource.name, StraightTrackAlignment::RPSetPlots.name, cond::persistency::TAG_AUTHORIZATION::TAG_NAME.name, cond::persistency::TAG_AUTHORIZATION::ACCESS_TYPE.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL.name, cond::persistency::TAG_AUTHORIZATION::CREDENTIAL_TYPE.name, InnerLayerVolume.name, cond::payloadInspector::TagReference.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, personalPlayback.FrameworkJob.name, Grid.name, trklet::TrackletConfigBuilder::DTCinfo.name, Grille.name, BackPipe.name, plotscripts.SawTeethFunction.name, PatchPanel.name, BackCoolTank.name, DryAirTube.name, crabFunctions.CrabTask.name, MBCoolTube.name, MBManif.name, cscdqm::ParHistoDef.name, hTMaxCell.name, SummaryOutputProducer::GenericSummary.name, and str.

47  def write(self, dirname):
48  '''Dump the counter to a pickle file and to a text file in dirname.'''
49  pckfname = '{d}/{f}.pck'.format(d=dirname, f=self.name)
50  pckfname = pckfname.replace('*','STAR')
51  pckfile = open( pckfname, 'w' )
52  pickle.dump(self, pckfile)
53  txtfile = open( pckfname.replace('.pck', '.txt'), 'w')
54  txtfile.write( str(self) )
55  txtfile.write( '\n' )
56  txtfile.close()
57 
#define str(s)

Member Data Documentation

◆ name

counter.Counter.name