CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ntupleDataFormat._Collection Class Reference
Inheritance diagram for ntupleDataFormat._Collection:
ntupleDataFormat.GluedHits ntupleDataFormat.Phase2OTHits ntupleDataFormat.PixelHits ntupleDataFormat.Seeds ntupleDataFormat.StripHits ntupleDataFormat.TrackingParticles ntupleDataFormat.TrackingVertices ntupleDataFormat.Tracks ntupleDataFormat.Vertices

Public Member Functions

def __getitem__ (self, index)
 
def __init__ (self, tree, sizeBranch, objclass)
 
def __iter__ (self)
 
def __len__ (self)
 
def size (self)
 

Private Attributes

 _objclass
 
 _sizeBranch
 
 _tree
 

Detailed Description

Adaptor class representing a collection of objects.

Concrete collection classes should inherit from this class.

Definition at line 10 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

def ntupleDataFormat._Collection.__init__ (   self,
  tree,
  sizeBranch,
  objclass 
)
Constructor.

Arguments:
tree        -- TTree object
sizeBranch  -- Name of the branch to be used in size()
objclass    -- Class to be used for the objects in __getitem__()

Definition at line 16 of file ntupleDataFormat.py.

16  def __init__(self, tree, sizeBranch, objclass):
17  """Constructor.
18 
19  Arguments:
20  tree -- TTree object
21  sizeBranch -- Name of the branch to be used in size()
22  objclass -- Class to be used for the objects in __getitem__()
23  """
24  super(_Collection, self).__init__()
25  self._tree = tree
26  self._sizeBranch = sizeBranch
27  self._objclass = objclass
28 

Member Function Documentation

◆ __getitem__()

def ntupleDataFormat._Collection.__getitem__ (   self,
  index 
)
Get object 'index' in the collection.

Definition at line 37 of file ntupleDataFormat.py.

37  def __getitem__(self, index):
38  """Get object 'index' in the collection."""
39  return self._objclass(self._tree, index)
40 

References ntupleDataFormat._Collection._objclass, ntupleDataFormat._Collection._tree, and python.cmstools.EventTree._tree.

◆ __iter__()

def ntupleDataFormat._Collection.__iter__ (   self)
Returns generator for the objects.

Definition at line 41 of file ntupleDataFormat.py.

41  def __iter__(self):
42  """Returns generator for the objects."""
43  for index in range(self.size()):
44  yield self._objclass(self._tree, index)
45 

References ntupleDataFormat._Collection._objclass, ntupleDataFormat._Collection._tree, python.cmstools.EventTree._tree, FastTimerService_cff.range, splitter.FileObj.size, ClusterData.size, OrderedSeedingHits.size(), OrderedMultiHits.size(), OrderedHitPairs.size(), OrderedHitSeeds.size(), OrderedHitTriplets.size(), cond::persistency::GLOBAL_TAG::NAME.size, cond::persistency::TAG::NAME.size, cond::persistency::RUN_INFO::RUN_NUMBER.size, IOBuffer.size(), cond::persistency::TAG::TIME_TYPE.size, IOPosBuffer.size(), cond::persistency::GLOBAL_TAG::VALIDITY.size, cond::persistency::RUN_INFO::START_TIME.size, cond::persistency::TAG::OBJECT_TYPE.size, Phase2TrackerClusterizerArray.size(), cond::persistency::RUN_INFO::END_TIME.size, reco::ClusterCompatibility.size(), PHGCSimAccumulator::DetIdSize.size(), cond::persistency::GLOBAL_TAG::DESCRIPTION.size, SiPixelErrorsSoA.size(), cond::persistency::GLOBAL_TAG::RELEASE.size, cond::persistency::TAG::SYNCHRONIZATION.size, SeedConfigSelector.size(), funct::Master< F >.size(), cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.size, cond::persistency::TAG::END_OF_VALIDITY.size, Packet.size(), cond::persistency::TAG::DESCRIPTION.size, cond::persistency::GLOBAL_TAG::INSERTION_TIME.size, MixCollection< T >.size(), cond::persistency::O2O_RUN::JOB_NAME.size, TritonMemResource< IO >.size(), cond::persistency::TAG::LAST_VALIDATED_TIME.size, OrderedLaserHitPairs.size(), eventstfile.Events.size(), edm::reftobase::RefVectorHolderBase.size(), cond::persistency::O2O_RUN::START_TIME.size, EcalDataFrame_Ph2.size(), EcalTBTDCRawInfo.size(), tracking::TempMeasurements.size(), cond::persistency::RUN_INFO::MAX_RUN_NUMBER.size, SiPixelDigisSoA.size(), btag::SimpleMatrix< T >.size(), edm::MergeableRunProductProcesses.size(), cond::persistency::TAG::INSERTION_TIME.size, EcalPnDiodeDigi.size(), EcalPseudoStripInputDigi.size(), ESDataFrame.size(), cond::persistency::O2O_RUN::END_TIME.size, CastorTriggerPrimitiveDigi.size(), HcalTriggerPrimitiveDigi.size(), CSCOverlapConfigSelector.size(), cond::persistency::TAG::MODIFICATION_TIME.size, CaloTSamplesBase< Ttype >.size(), EcalTimeDigi.size(), cond::persistency::O2O_RUN::STATUS_CODE.size, PMTDSimAccumulator::DetIdSize.size(), SiPixelROCsStatusAndMapping.size, FileBlobCollection.size(), TrackingRecHitPipe.size(), TrackFromVertexConfigSelector.size(), cond::persistency::TAG::PROTECTION_CODE.size, cond::persistency::O2O_RUN::LOG.size, edm::Span< T >.size(), CSCBeamHaloConfigSelector.size(), CaloSamples.size(), helper::CandDecayStoreManager.size(), GsfMultipleScatteringUpdator.size(), SeedingLayerSetsLooper::LayerSet< T >.size(), FQueue< T >.size(), TEveElementIter.size(), l1tpf_calo::Grid.size(), edm::reftobase::RefVectorHolder< REFV >.size(), IntegerCaloSamples.size(), helper::MasterCollection< C1 >.size(), reco::HGCalMultiCluster.size(), CTPPSPixelGainCalibrations.size(), SiPixelQualityProbabilities.size(), MuonGeometryConstants.size(), CSCTrackConfigSelector.size(), EcalDataFrame.size(), CastorDataFrame.size(), HcalCalibDataFrame.size(), ZDCDataFrame.size(), calo::common::AddSize< tags::Ptr >.size, JetCorrectorParametersHelper.size(), sistrip::FEDStripData::ChannelData.size(), edm::reftobase::BaseVectorHolder< T >.size(), HBHEDataFrame.size(), HFDataFrame.size(), HODataFrame.size(), cond::persistency::RUN_INFO::MIN_RUN_NUMBER.size, Phase2TrackerCluster1D.size(), PUEvent::PUMinBiasEvt.size, hgc_digi::HGCCellHitInfo.size, InitMsgBuilder.size(), emtf::Forest.size(), ThirdHitPredictionFromInvLine.size(), SiStripCalTrackConfigSelector.size(), GaussianSumUtilities1D.size(), pf2pat::PFJetSelectorDefinition.size(), pf2pat::PFCandidateSelectorDefinition.size(), EcalEBTriggerPrimitiveDigi.size(), ntupleDataFormat._Collection.size(), EventMsgBuilder.size(), edm::EDCollection< T >.size(), LHERunInfoProduct::Header.size(), EcalTriggerPrimitiveDigi.size(), FileData.size(), edm::IndexSet.size(), edm::TransientDataFrame< SIZE >.size(), edm::History.size(), calo::common::AddSize< tags::DevPtr >.size, HcalChannelIterator.size(), SiPixelFEDChannelContainer.size(), HcalTTPDigi.size(), SiPixelClusterShapeData.size(), HBHEChannelGroups.size(), HcalItemColl< Item >.size(), edm::ContainerMaskTraits< T >.size(), edm::reftobase::IndirectVectorHolder< T >.size(), MillePedeVariables.size(), MSLayersAtAngle.size(), RecoTrackViewRefSelector.size(), trigger::HLTPrescaleTable.size(), reco::formula::ArrayAdaptor.size(), StringMap.size(), cond::persistency::RUN_INFO::MIN_START_TIME.size, PacketData.size(), CrystalWindowMap.size(), hgc_digi::HGCCellInfo.size, edm::HLTGlobalStatus.size(), MuonConfigSelector.size(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >.size(), RecoTrackRefSelector.size(), RecoTrackSelector.size(), cond::Binary.size(), DDStrVector.size(), DDVector.size(), FWItemSingleAccessor.size(), PATPrimaryVertexSelector.size(), edm::reftobase::VectorHolder< T, REFV >.size(), HGCDataFrame< D, S >.size(), edm::EventTime.size(), FileBlob.size(), CSCTMBData.size(), SiPixelPerformanceSummary.size(), SiPixelROCsStatusAndMappingWrapper.size, muonisolation::Cuts.size(), TrackConfigSelector.size(), CalibrationInterface< CategoryT, CalibDataT >.size(), HcalIndexLookup.size(), CSCEventData.size(), GaussianSumUtilities< N >.size(), DDMap.size(), FWItemTVirtualCollectionProxyAccessor.size(), SiPixelArrayBuffer.size(), Book.size(), reco::DeDxHitInfo.size(), MultiFileBlob.size(), FWItemAccessorBase.size(), SeedingHitSet.size(), File.size(), GsfMaterialEffectsUpdator.size(), ESCondObjectContainer< T >.size(), AlignPCLThresholds.size(), edm::soa::TableExaminer< T >.size(), edm::DataFrame.size(), EZMgrFL< T >.size(), AlignmentCorrelationsStore.size(), TTDTC.size(), DTCache< T, Coll >.size(), HeaderView.size(), magneticfield::bLayer.size, FEDRawData.size(), DDHCalForwardAlgo.size, FTLDataFrameT< D, S, DECODE >.size(), edm::soa::TableExaminerBase.size(), RecHitsSortedInPhi.size(), Storage.size(), helper::MasterCollection< edm::View< T > >.size(), reco::PFRecHit::Neighbours.size(), HcalItemArrayColl< Item, N >.size(), edm::FunctionWithDict.size(), reco::Candidate.size, DDI::Store< N, I, K >.size(), DCCTBBlockPrototype.size(), edm::VParameterSetEntry.size(), HLTConfigData.size(), egHLT::TrigCodes.size(), AlignmentExtendedCorrelationsStore.size(), muonisolation::IsolatorByNominalEfficiency::ConeSizes.size(), reco::Vertex.size, edm::ProcessHistory.size(), SiPixelClusterShapeCache::Field.size, edm::ContainerMask< T >.size(), helper::MuonCollectionStoreManager.size(), l1t::HGCalClusterT< C >.size(), ColinearityKinematicConstraint.size, edm::service::TriggerNamesService.size(), LMFCorrCoefDat.size(), CSCDDUEventData.size(), AlignableNavigator.size(), cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.size, L1MuDTSecProcMap.size(), nanoaod::FlatTable.size(), L1MuBMSecProcMap.size(), cond::persistency::GLOBAL_TAG_MAP::RECORD.size, helper::TrackCollectionStoreManager.size(), ClusterTPAssociation.size(), HLTConfigInterface.size(), L1GctUnsignedInt< nBits >.size(), edm::RefToBaseVector< T >.size(), hcaldqm::ContainerXXX< STDTYPE >.size(), cond::persistency::GLOBAL_TAG_MAP::LABEL.size, CategoryCriteria< Collection, Classifier >.size(), cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.size, DynArray< T >.size(), TTBV.size(), edm::DetSet< T >.size(), KDTreeNodes< DATA, DIM >.size(), MP7PacketReader.size(), SiStripLAProfileBooker.size, SiStripCluster.size(), HcalItemCollById< Item >.size(), HLTConfigProvider.size(), LMFDat.size(), cond::persistency::KeyList.size(), edm::Association< C >.size(), edm::soa::TableView< Args >.size(), L1MuDTEtaPatternLut.size(), L1GctTwosComplement< nBits >.size(), InitMsgView.size(), edm::OneToValue< CKey, Val, index >.size(), EZArrayFL< T >.size(), DDValue.size(), Alignable.size(), edmNew::DetSet< T >.size(), L1MuBMTEtaPatternLut.size(), BXVector< T >.size(), edm::pset::Registry.size(), L1MuDTQualPatternLut.size(), edm::VecArray< T, N >.size(), QIE11DataFrame.size(), RecoIdealGeometry.size(), HcalItemArrayCollById< Item, N >.size(), MP7FileReader.size(), poly< T >.size(), PhysicsTools::VarProcessor::ConfigCtx.size(), Selection< C, Selector, StoreContainer >.size(), EcalCondTowerObjectContainer< T >.size(), edm::PtrVectorBase.size(), L1MuBMTQualPatternLut.size(), HiggsValidation::MonitoredDecays.size(), RegionsSeedingHitSets.size(), cond::TagInfo_t.size, edm::OccurrenceForOutput.size(), amc13::Packet.size(), BPHRecoBuilder::BPHGenericCollection.size(), EcalMatacqDigi.size(), edm::OneToOneGeneric< CKey, CVal, index, KeyRefProd, ValRefProd, KeyRef, ValRef >.size(), cond::persistency::PAYLOAD::HASH.size, EventMsgView.size(), trklet::TrackletLUT.size(), cond::persistency::PAYLOAD::OBJECT_TYPE.size, fwlite::ChainEvent.size(), GenJetClosestMatchSelectorDefinition.size(), cond::persistency::PAYLOAD::DATA.size, edm::SingleConsumerQ::OperateBuffer< T >.size(), edm::RefVectorBase< KEY >.size(), cond::persistency::PAYLOAD::STREAMER_INFO.size, QIE10DataFrame.size(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >.size(), EcalCondObjectContainer< T >.size(), edm::OneToMany< CKey, CVal, index >.size(), cond::persistency::PAYLOAD::VERSION.size, cond::persistency::IOVArray.size(), CTPPSPixelCluster.size(), cond::persistency::PAYLOAD::INSERTION_TIME.size, fwlite::Run.size(), edm::detail::ThreadSafeRegistry< KEY, T >.size(), edm::TriggerNames.size(), HLTConfigDataEx.size(), edm::Path.size(), EcalContainer< DetId, T >.size(), fwlite::LuminosityBlock.size(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.size(), edm::eventsetup::DataProxyProvider::KeyedProxies.size(), pat::eventhypothesis::Looper< T >.size(), cms::cuda::VecArray< T, maxSize >.size(), METCorrectorParameters.size(), L1RPCHwConfig.size(), FWItemRandomAccessor< C, V >.size(), fwlite::MultiChainEvent.size(), TkGluedMeasurementDet::HitCollectorForRecHits.size(), DTTrig.size(), edm::OneToManyWithQualityGeneric< CKey, CVal, Q, index, KeyRefProd, ValRefProd, KeyRef, ValRef >.size(), cond::SmallWORMDict.size(), MEtXYcorrectParameters.size(), edm::helper::IndexRangeAssociation.size(), edm::MapOfVectors< K, T >.size(), SummaryGenerator.size(), MTDArrayBuffer.size(), edm::FileIndex.size(), cond::persistency::RunInfoProxy.size(), helper::GsfElectronCollectionStoreManager.size(), cond::persistency::GTProxy.size(), PhysicsTools::VarProcessor::LoopCtx.size(), edm::TriggerResultsByName.size(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell.size(), edm::RefVector< C, T, F >.size(), edm::TypeWithDict.size(), SeedingLayerSetsHits::SeedingLayerSet.size(), jpt::Efficiency.size(), AlignmentParameters.size(), l1tpf_calo::GridData< T >.size(), hitfit::Fit_Result_Vec.size(), PhysicsTools::Variable::ValueList.size(), FWEventItem.size(), cms::cuda::SimpleVector< T >.size(), edm::ProductRegistry.size(), cond::persistency::IOV::TAG_NAME.size, CSCAnalogSignal.size(), cond::persistency::IOV::SINCE.size, edm::OwnArray< T, MAX_SIZE, P >.size(), cond::persistency::IOV::PAYLOAD_HASH.size, VIterator< Item >.size(), cond::persistency::IOV::INSERTION_TIME.size, SiStripFedCabling::ConnsRange.size(), HitPixelLayersTPSelector.size(), pos::PixelConfigList.size(), cond::persistency::IOV::SINCE_GROUP.size, DTTFBitArray< N >.size(), BitArray< N >.size(), edm::SortedCollection< T, SORT >.size(), KDTreeLinkerAlgo< DATA, DIM >.size(), XrdAdaptor::XrdReadStatistics.size(), edm::View< T >.size(), TkGluedMeasurementDet::HitCollectorForSimpleHits.size(), JetCorrectorParameters.size(), DDXMLElement.size(), edmNew::dstvdetails::DetSetVectorTrans::Item.size, HLTCommonConfig::View.size(), edm::RangeMap< ID, C, P >.size(), HIProtoTrackSelector.size(), FWItemDetSetAccessor< C, COLL, V >.size(), cond::persistency::IOV::SEQUENCE_SIZE.size, ProcessCallGraph.size(), SiPixelCluster.size(), edm::CompactEventAuxiliaryVector.size(), cond::persistency::IOV::MIN_SINCE.size, HitDoublets.size(), DTCombinatorialPatternReco::TriedPattern.size(), FTLCluster.size(), FRDEventMsgView.size(), cond::persistency::IOV::MAX_SINCE.size, reco::FlavorHistoryEvent.size(), edm::DetSetVector< T >.size(), BPHRecoBuilder::BPHInterfaceCollection< T >.size(), fwlite::Event.size(), amc::Packet.size(), TkGluedMeasurementDet::HitCollectorForFastMeasurements.size(), edm::SoATuple< Args >.size(), edm::ValueMap< T >.size(), edm::OwnVector< T, P >.size(), edm::Principal.size(), edm::TypeBases.size(), HLTCommonConfig.size(), edm::AssociationMap< Tag >.size(), edm::DetSetRefVector< T, C >.size(), edm::DataFrameContainer.size(), FWItemNewDetSetAccessor< C, COLL, V >.size(), esMonitoring.LineHistoryEnd.size, edm::TypeDataMembers.size(), PhysicsTools::BitSet.size(), StMeasurementDetSet.size(), FKDTree< TYPE, numberOfDimensions >.size(), math::Graph< N, E >.size(), edm::soa::Table< Args >.size(), edm::TypeFunctionMembers.size(), edm::ValueMap< T >::const_iterator.size(), cuy.FindIssue.size, reco::CaloCluster.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, FWItemRangeAccessor< C, R, V >.size(), SeedingLayerSetsHits.size(), edm::MultiAssociation< C >.size(), cmsutils::bqueue< T >.size(), CosmicTrackingParticleSelector.size(), PFTauSelectorDefinition.size(), PhysicsTools::VarProcessor::ValueIterator.size(), reco::TaggingVariableList.size(), trigger::TriggerEventWithRefs.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, Json::Value.size(), FWItemMuonDigiAccessor< C, V >.size(), dqmstorepb::PROTOBUF_FINAL.size(), edm::Event.size(), edmNew::DetSetVector< T >::FastFiller.size(), BXVectorAccessor< C >.size(), PxMeasurementDetSet.size(), edmNew::DetSetVector< T >::TSFastFiller.size(), Phase2OTMeasurementDetSet.size(), python.Events.size(), edm::IndexIntoFile::IndexIntoFileItrImpl.size(), edmNew::DetSetVector< T >.size(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >.size(), edm::IndexIntoFile::IndexIntoFileItr.size(), reco::PatternSet< N >.size(), and CellDB.size().

◆ __len__()

def ntupleDataFormat._Collection.__len__ (   self)
Number of objects in the collection.

Definition at line 33 of file ntupleDataFormat.py.

33  def __len__(self):
34  """Number of objects in the collection."""
35  return self.size()
36 

References splitter.FileObj.size, ClusterData.size, OrderedSeedingHits.size(), OrderedHitPairs.size(), OrderedMultiHits.size(), OrderedHitSeeds.size(), OrderedHitTriplets.size(), cond::persistency::GLOBAL_TAG::NAME.size, cond::persistency::TAG::NAME.size, cond::persistency::RUN_INFO::RUN_NUMBER.size, IOBuffer.size(), cond::persistency::GLOBAL_TAG::VALIDITY.size, cond::persistency::RUN_INFO::START_TIME.size, IOPosBuffer.size(), cond::persistency::TAG::TIME_TYPE.size, cond::persistency::TAG::OBJECT_TYPE.size, Phase2TrackerClusterizerArray.size(), cond::persistency::RUN_INFO::END_TIME.size, reco::ClusterCompatibility.size(), PHGCSimAccumulator::DetIdSize.size(), cond::persistency::GLOBAL_TAG::DESCRIPTION.size, cond::persistency::TAG::SYNCHRONIZATION.size, SiPixelErrorsSoA.size(), SeedConfigSelector.size(), funct::Master< F >.size(), cond::persistency::GLOBAL_TAG::RELEASE.size, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.size, cond::persistency::TAG::END_OF_VALIDITY.size, Packet.size(), cond::persistency::GLOBAL_TAG::INSERTION_TIME.size, cond::persistency::TAG::DESCRIPTION.size, MixCollection< T >.size(), cond::persistency::O2O_RUN::JOB_NAME.size, cond::persistency::TAG::LAST_VALIDATED_TIME.size, TritonMemResource< IO >.size(), eventstfile.Events.size(), edm::reftobase::RefVectorHolderBase.size(), OrderedLaserHitPairs.size(), EcalDataFrame_Ph2.size(), cond::persistency::O2O_RUN::START_TIME.size, EcalTBTDCRawInfo.size(), tracking::TempMeasurements.size(), cond::persistency::RUN_INFO::MAX_RUN_NUMBER.size, btag::SimpleMatrix< T >.size(), edm::MergeableRunProductProcesses.size(), cond::persistency::TAG::INSERTION_TIME.size, cond::persistency::O2O_RUN::END_TIME.size, EcalPnDiodeDigi.size(), EcalPseudoStripInputDigi.size(), ESDataFrame.size(), CastorTriggerPrimitiveDigi.size(), HcalTriggerPrimitiveDigi.size(), SiPixelDigisSoA.size(), CSCOverlapConfigSelector.size(), cond::persistency::TAG::MODIFICATION_TIME.size, CaloTSamplesBase< Ttype >.size(), EcalTimeDigi.size(), PMTDSimAccumulator::DetIdSize.size(), cond::persistency::O2O_RUN::STATUS_CODE.size, SiPixelROCsStatusAndMapping.size, FileBlobCollection.size(), TrackingRecHitPipe.size(), TrackFromVertexConfigSelector.size(), cond::persistency::TAG::PROTECTION_CODE.size, cond::persistency::O2O_RUN::LOG.size, edm::Span< T >.size(), CSCBeamHaloConfigSelector.size(), CaloSamples.size(), helper::CandDecayStoreManager.size(), GsfMultipleScatteringUpdator.size(), SeedingLayerSetsLooper::LayerSet< T >.size(), FQueue< T >.size(), TEveElementIter.size(), l1tpf_calo::Grid.size(), IntegerCaloSamples.size(), edm::reftobase::RefVectorHolder< REFV >.size(), helper::MasterCollection< C1 >.size(), reco::HGCalMultiCluster.size(), CTPPSPixelGainCalibrations.size(), SiPixelQualityProbabilities.size(), MuonGeometryConstants.size(), CSCTrackConfigSelector.size(), EcalDataFrame.size(), CastorDataFrame.size(), HcalCalibDataFrame.size(), ZDCDataFrame.size(), calo::common::AddSize< tags::Ptr >.size, JetCorrectorParametersHelper.size(), sistrip::FEDStripData::ChannelData.size(), edm::reftobase::BaseVectorHolder< T >.size(), HBHEDataFrame.size(), HFDataFrame.size(), HODataFrame.size(), cond::persistency::RUN_INFO::MIN_RUN_NUMBER.size, Phase2TrackerCluster1D.size(), PUEvent::PUMinBiasEvt.size, hgc_digi::HGCCellHitInfo.size, InitMsgBuilder.size(), emtf::Forest.size(), ThirdHitPredictionFromInvLine.size(), SiStripCalTrackConfigSelector.size(), pf2pat::PFCandidateSelectorDefinition.size(), GaussianSumUtilities1D.size(), pf2pat::PFJetSelectorDefinition.size(), EcalEBTriggerPrimitiveDigi.size(), ntupleDataFormat._Collection.size(), edm::EDCollection< T >.size(), EventMsgBuilder.size(), LHERunInfoProduct::Header.size(), EcalTriggerPrimitiveDigi.size(), FileData.size(), edm::IndexSet.size(), edm::TransientDataFrame< SIZE >.size(), edm::History.size(), calo::common::AddSize< tags::DevPtr >.size, SiPixelFEDChannelContainer.size(), HcalChannelIterator.size(), HcalTTPDigi.size(), SiPixelClusterShapeData.size(), HBHEChannelGroups.size(), HcalItemColl< Item >.size(), edm::ContainerMaskTraits< T >.size(), edm::reftobase::IndirectVectorHolder< T >.size(), MillePedeVariables.size(), MSLayersAtAngle.size(), RecoTrackViewRefSelector.size(), trigger::HLTPrescaleTable.size(), cond::persistency::RUN_INFO::MIN_START_TIME.size, reco::formula::ArrayAdaptor.size(), StringMap.size(), PacketData.size(), CrystalWindowMap.size(), hgc_digi::HGCCellInfo.size, edm::HLTGlobalStatus.size(), MuonConfigSelector.size(), ext::basic_omemstream< Item_t, Traits_t, Allocator_t >.size(), RecoTrackRefSelector.size(), RecoTrackSelector.size(), cond::Binary.size(), DDStrVector.size(), DDVector.size(), FWItemSingleAccessor.size(), PATPrimaryVertexSelector.size(), edm::reftobase::VectorHolder< T, REFV >.size(), HGCDataFrame< D, S >.size(), edm::EventTime.size(), FileBlob.size(), CSCTMBData.size(), SiPixelPerformanceSummary.size(), SiPixelROCsStatusAndMappingWrapper.size, muonisolation::Cuts.size(), TrackConfigSelector.size(), CalibrationInterface< CategoryT, CalibDataT >.size(), HcalIndexLookup.size(), CSCEventData.size(), GaussianSumUtilities< N >.size(), DDMap.size(), FWItemTVirtualCollectionProxyAccessor.size(), SiPixelArrayBuffer.size(), Book.size(), reco::DeDxHitInfo.size(), FWItemAccessorBase.size(), SeedingHitSet.size(), MultiFileBlob.size(), GsfMaterialEffectsUpdator.size(), File.size(), ESCondObjectContainer< T >.size(), AlignPCLThresholds.size(), edm::soa::TableExaminer< T >.size(), edm::DataFrame.size(), EZMgrFL< T >.size(), AlignmentCorrelationsStore.size(), TTDTC.size(), HeaderView.size(), DTCache< T, Coll >.size(), magneticfield::bLayer.size, FEDRawData.size(), DDHCalForwardAlgo.size, Storage.size(), edm::soa::TableExaminerBase.size(), RecHitsSortedInPhi.size(), FTLDataFrameT< D, S, DECODE >.size(), helper::MasterCollection< edm::View< T > >.size(), reco::PFRecHit::Neighbours.size(), HcalItemArrayColl< Item, N >.size(), edm::FunctionWithDict.size(), reco::Candidate.size, DDI::Store< N, I, K >.size(), DCCTBBlockPrototype.size(), edm::VParameterSetEntry.size(), HLTConfigData.size(), egHLT::TrigCodes.size(), muonisolation::IsolatorByNominalEfficiency::ConeSizes.size(), AlignmentExtendedCorrelationsStore.size(), reco::Vertex.size, edm::ProcessHistory.size(), SiPixelClusterShapeCache::Field.size, edm::ContainerMask< T >.size(), helper::MuonCollectionStoreManager.size(), l1t::HGCalClusterT< C >.size(), ColinearityKinematicConstraint.size, edm::service::TriggerNamesService.size(), LMFCorrCoefDat.size(), CSCDDUEventData.size(), AlignableNavigator.size(), cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.size, L1MuDTSecProcMap.size(), nanoaod::FlatTable.size(), L1MuBMSecProcMap.size(), cond::persistency::GLOBAL_TAG_MAP::RECORD.size, helper::TrackCollectionStoreManager.size(), ClusterTPAssociation.size(), hcaldqm::ContainerXXX< STDTYPE >.size(), HLTConfigInterface.size(), L1GctUnsignedInt< nBits >.size(), edm::RefToBaseVector< T >.size(), cond::persistency::GLOBAL_TAG_MAP::LABEL.size, CategoryCriteria< Collection, Classifier >.size(), cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.size, DynArray< T >.size(), TTBV.size(), edm::DetSet< T >.size(), KDTreeNodes< DATA, DIM >.size(), SiStripLAProfileBooker.size, MP7PacketReader.size(), SiStripCluster.size(), HcalItemCollById< Item >.size(), HLTConfigProvider.size(), LMFDat.size(), cond::persistency::KeyList.size(), edm::Association< C >.size(), edm::soa::TableView< Args >.size(), L1MuDTEtaPatternLut.size(), L1GctTwosComplement< nBits >.size(), InitMsgView.size(), edm::OneToValue< CKey, Val, index >.size(), EZArrayFL< T >.size(), DDValue.size(), Alignable.size(), edmNew::DetSet< T >.size(), L1MuBMTEtaPatternLut.size(), BXVector< T >.size(), edm::pset::Registry.size(), L1MuDTQualPatternLut.size(), edm::VecArray< T, N >.size(), QIE11DataFrame.size(), HcalItemArrayCollById< Item, N >.size(), MP7FileReader.size(), RecoIdealGeometry.size(), PhysicsTools::VarProcessor::ConfigCtx.size(), poly< T >.size(), Selection< C, Selector, StoreContainer >.size(), EcalCondTowerObjectContainer< T >.size(), L1MuBMTQualPatternLut.size(), RegionsSeedingHitSets.size(), HiggsValidation::MonitoredDecays.size(), edm::PtrVectorBase.size(), amc13::Packet.size(), edm::OccurrenceForOutput.size(), cond::TagInfo_t.size, EcalMatacqDigi.size(), BPHRecoBuilder::BPHGenericCollection.size(), edm::OneToOneGeneric< CKey, CVal, index, KeyRefProd, ValRefProd, KeyRef, ValRef >.size(), cond::persistency::PAYLOAD::HASH.size, EventMsgView.size(), cond::persistency::PAYLOAD::OBJECT_TYPE.size, trklet::TrackletLUT.size(), fwlite::ChainEvent.size(), GenJetClosestMatchSelectorDefinition.size(), cond::persistency::PAYLOAD::DATA.size, edm::SingleConsumerQ::OperateBuffer< T >.size(), edm::RefVectorBase< KEY >.size(), cond::persistency::PAYLOAD::STREAMER_INFO.size, QIE10DataFrame.size(), helper::CollectionStoreManager< OutputCollection, ClonePolicy >.size(), EcalCondObjectContainer< T >.size(), edm::OneToMany< CKey, CVal, index >.size(), cond::persistency::PAYLOAD::VERSION.size, cond::persistency::IOVArray.size(), CTPPSPixelCluster.size(), cond::persistency::PAYLOAD::INSERTION_TIME.size, fwlite::Run.size(), edm::detail::ThreadSafeRegistry< KEY, T >.size(), EcalContainer< DetId, T >.size(), edm::TriggerNames.size(), HLTConfigDataEx.size(), edm::Path.size(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.size(), fwlite::LuminosityBlock.size(), edm::eventsetup::DataProxyProvider::KeyedProxies.size(), pat::eventhypothesis::Looper< T >.size(), cms::cuda::VecArray< T, maxSize >.size(), fwlite::MultiChainEvent.size(), METCorrectorParameters.size(), FWItemRandomAccessor< C, V >.size(), TkGluedMeasurementDet::HitCollectorForRecHits.size(), L1RPCHwConfig.size(), edm::OneToManyWithQualityGeneric< CKey, CVal, Q, index, KeyRefProd, ValRefProd, KeyRef, ValRef >.size(), DTTrig.size(), cond::SmallWORMDict.size(), MEtXYcorrectParameters.size(), edm::helper::IndexRangeAssociation.size(), edm::MapOfVectors< K, T >.size(), SummaryGenerator.size(), MTDArrayBuffer.size(), edm::FileIndex.size(), cond::persistency::RunInfoProxy.size(), helper::GsfElectronCollectionStoreManager.size(), cond::persistency::GTProxy.size(), PhysicsTools::VarProcessor::LoopCtx.size(), edm::TriggerResultsByName.size(), HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell.size(), edm::RefVector< C, T, F >.size(), edm::TypeWithDict.size(), SeedingLayerSetsHits::SeedingLayerSet.size(), AlignmentParameters.size(), jpt::Efficiency.size(), l1tpf_calo::GridData< T >.size(), hitfit::Fit_Result_Vec.size(), FWEventItem.size(), PhysicsTools::Variable::ValueList.size(), cms::cuda::SimpleVector< T >.size(), edm::ProductRegistry.size(), CSCAnalogSignal.size(), cond::persistency::IOV::TAG_NAME.size, edm::OwnArray< T, MAX_SIZE, P >.size(), cond::persistency::IOV::SINCE.size, VIterator< Item >.size(), cond::persistency::IOV::PAYLOAD_HASH.size, cond::persistency::IOV::INSERTION_TIME.size, SiStripFedCabling::ConnsRange.size(), HitPixelLayersTPSelector.size(), pos::PixelConfigList.size(), cond::persistency::IOV::SINCE_GROUP.size, BitArray< N >.size(), DTTFBitArray< N >.size(), edm::SortedCollection< T, SORT >.size(), KDTreeLinkerAlgo< DATA, DIM >.size(), XrdAdaptor::XrdReadStatistics.size(), edm::View< T >.size(), TkGluedMeasurementDet::HitCollectorForSimpleHits.size(), JetCorrectorParameters.size(), DDXMLElement.size(), edmNew::dstvdetails::DetSetVectorTrans::Item.size, HLTCommonConfig::View.size(), edm::RangeMap< ID, C, P >.size(), HIProtoTrackSelector.size(), FWItemDetSetAccessor< C, COLL, V >.size(), cond::persistency::IOV::SEQUENCE_SIZE.size, ProcessCallGraph.size(), edm::CompactEventAuxiliaryVector.size(), SiPixelCluster.size(), cond::persistency::IOV::MIN_SINCE.size, HitDoublets.size(), FTLCluster.size(), DTCombinatorialPatternReco::TriedPattern.size(), reco::FlavorHistoryEvent.size(), FRDEventMsgView.size(), cond::persistency::IOV::MAX_SINCE.size, edm::DetSetVector< T >.size(), BPHRecoBuilder::BPHInterfaceCollection< T >.size(), fwlite::Event.size(), amc::Packet.size(), TkGluedMeasurementDet::HitCollectorForFastMeasurements.size(), edm::ValueMap< T >.size(), edm::SoATuple< Args >.size(), edm::OwnVector< T, P >.size(), edm::Principal.size(), HLTCommonConfig.size(), edm::TypeBases.size(), edm::DataFrameContainer.size(), edm::AssociationMap< Tag >.size(), edm::DetSetRefVector< T, C >.size(), FWItemNewDetSetAccessor< C, COLL, V >.size(), esMonitoring.LineHistoryEnd.size, edm::TypeDataMembers.size(), StMeasurementDetSet.size(), PhysicsTools::BitSet.size(), FKDTree< TYPE, numberOfDimensions >.size(), math::Graph< N, E >.size(), edm::soa::Table< Args >.size(), edm::TypeFunctionMembers.size(), edm::ValueMap< T >::const_iterator.size(), cuy.FindIssue.size, reco::CaloCluster.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, FWItemRangeAccessor< C, R, V >.size(), SeedingLayerSetsHits.size(), edm::MultiAssociation< C >.size(), cmsutils::bqueue< T >.size(), CosmicTrackingParticleSelector.size(), PFTauSelectorDefinition.size(), PhysicsTools::VarProcessor::ValueIterator.size(), reco::TaggingVariableList.size(), trigger::TriggerEventWithRefs.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, Json::Value.size(), FWItemMuonDigiAccessor< C, V >.size(), dqmstorepb::PROTOBUF_FINAL.size(), edm::Event.size(), edmNew::DetSetVector< T >::FastFiller.size(), BXVectorAccessor< C >.size(), PxMeasurementDetSet.size(), edmNew::DetSetVector< T >::TSFastFiller.size(), Phase2OTMeasurementDetSet.size(), python.Events.size(), edm::IndexIntoFile::IndexIntoFileItrImpl.size(), edmNew::DetSetVector< T >.size(), edm::ContainerMaskTraits< edmNew::DetSetVector< T > >.size(), edm::IndexIntoFile::IndexIntoFileItr.size(), reco::PatternSet< N >.size(), and CellDB.size().

◆ size()

def ntupleDataFormat._Collection.size (   self)
Number of objects in the collection.

Definition at line 29 of file ntupleDataFormat.py.

29  def size(self):
30  """Number of objects in the collection."""
31  return int(getattr(self._tree, self._sizeBranch).size())
32 

References ntupleDataFormat._Collection._sizeBranch, ntupleDataFormat._Collection._tree, python.cmstools.EventTree._tree, and createfilelist.int.

Referenced by ntupleDataFormat._Collection.__iter__(), and ntupleDataFormat._Collection.__len__().

Member Data Documentation

◆ _objclass

ntupleDataFormat._Collection._objclass
private

◆ _sizeBranch

ntupleDataFormat._Collection._sizeBranch
private

Definition at line 26 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Collection.size().

◆ _tree

ntupleDataFormat._Collection._tree
private

Definition at line 25 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Object.__getattr__(), ntupleDataFormat.BeamSpot.__getattr__(), ntupleDataFormat._Collection.__getitem__(), ntupleDataFormat._Collection.__iter__(), ntupleDataFormat.TrackingNtuple.__iter__(), ntupleDataFormat.TrackingParticle._nMatchedSeeds(), ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), ntupleDataFormat.TrackingParticle._nMatchedTracks(), ntupleDataFormat.Event.beamspot(), ntupleDataFormat.TrackingParticle.bestMatchingTrack(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHit(), ntupleDataFormat.TrackingVertex.daughterTrackingParticles(), ntupleDataFormat.TrackingParticle.decayVertices(), ntupleDataFormat._DetIdStrAdaptor.detIdStr(), ntupleDataFormat.Event.event(), ntupleDataFormat.Event.eventId(), ntupleDataFormat.TrackingNtuple.getEvent(), ntupleDataFormat._RecoHitAdaptor.gluedHits(), ntupleDataFormat.Event.gluedHits(), ntupleDataFormat.TrackingNtuple.hasHits(), ntupleDataFormat.TrackingNtuple.hasSeeds(), ntupleDataFormat._RecoHitAdaptor.hits(), ntupleDataFormat.Seed.indexWithinAlgo(), ntupleDataFormat._RecoHitAdaptor.invalidHits(), ntupleDataFormat.TrackingParticle.isLooper(), ntupleDataFormat._DetIdStrAdaptor.layerStr(), ntupleDataFormat.InvalidHit.layerStr(), ntupleDataFormat.Event.lumi(), ntupleDataFormat.TrackingParticle.matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos(), ntupleDataFormat.TrackingParticle.matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntupleDataFormat.GluedHit.monoHit(), ntupleDataFormat.TrackingVertex.nDaughterTrackingParticles(), ntupleDataFormat.SimHit.nRecHits(), ntupleDataFormat._HitObject.nseeds(), ntupleDataFormat.GluedHit.nseeds(), ntupleDataFormat.Seeds.nSeedsForAlgo(), ntupleDataFormat.TrackingVertex.nSourceTrackingParticles(), ntupleDataFormat._HitObject.ntracks(), ntupleDataFormat.Vertex.nTracks(), ntupleDataFormat.TrackingParticle.parentVertex(), ntupleDataFormat._RecoHitAdaptor.phase2OTHits(), ntupleDataFormat.Event.phase2OTHits(), ntupleDataFormat._RecoHitAdaptor.pixelHits(), ntupleDataFormat.Event.pixelHits(), ntupleDataFormat.Event.run(), ntupleDataFormat.SeedMatchInfo.seed(), ntupleDataFormat.Track.seed(), ntupleDataFormat.Seeds.seedForAlgo(), ntupleDataFormat._HitObject.seeds(), ntupleDataFormat.Event.seeds(), ntupleDataFormat.GluedHit.seeds(), ntupleDataFormat.Seeds.seedsForAlgo(), ntupleDataFormat.SimHitMatchInfo.simHit(), ntupleDataFormat.TrackingParticle.simHits(), ntupleDataFormat._Collection.size(), ntupleDataFormat.TrackingVertex.sourceTrackingParticles(), ntupleDataFormat.GluedHit.stereoHit(), ntupleDataFormat._RecoHitAdaptor.stripHits(), ntupleDataFormat.Event.stripHits(), ntupleDataFormat.TrackMatchInfo.track(), ntupleDataFormat.Seed.track(), ntupleDataFormat.TrackingParticleMatchInfo.trackingParticle(), ntupleDataFormat.SimHit.trackingParticle(), ntupleDataFormat.Event.trackingParticles(), ntupleDataFormat.Event.trackingVertices(), ntupleDataFormat._HitObject.tracks(), ntupleDataFormat.Event.tracks(), ntupleDataFormat.Vertex.tracks(), ntupleDataFormat.TrackingNtuple.tree(), ntupleDataFormat.Track.vertex(), and ntupleDataFormat.Event.vertices().

FastTimerService_cff.range
range
Definition: FastTimerService_cff.py:34
createfilelist.int
int
Definition: createfilelist.py:10
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443