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 11 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

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 17 of file ntupleDataFormat.py.

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

Member Function Documentation

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

Definition at line 38 of file ntupleDataFormat.py.

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

38  def __getitem__(self, index):
39  """Get object 'index' in the collection."""
40  return self._objclass(self._tree, index)
41 
def ntupleDataFormat._Collection.__iter__ (   self)
Returns generator for the objects.

Definition at line 42 of file ntupleDataFormat.py.

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

42  def __iter__(self):
43  """Returns generator for the objects."""
44  for index in range(self.size()):
45  yield self._objclass(self._tree, index)
46 
def ntupleDataFormat._Collection.__len__ (   self)
Number of objects in the collection.

Definition at line 34 of file ntupleDataFormat.py.

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

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

Member Data Documentation

ntupleDataFormat._Collection._objclass
private
ntupleDataFormat._Collection._sizeBranch
private

Definition at line 27 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Collection.size().

ntupleDataFormat._Collection._tree
private

Definition at line 26 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Object.__getattr__(), ntupleDataFormat.BeamSpot.__getattr__(), ntupleDataFormat._Collection.__getitem__(), ntupleDataFormat._Collection.__iter__(), ntupleDataFormat.TrackingNtuple.__iter__(), ntupleDataFormat._SimHitMatchAdaptor._nMatchedSimHits(), ntupleDataFormat._TrackingParticleMatchAdaptor._nMatchedTrackingParticles(), ntupleDataFormat.Event.beamspot(), ntupleDataFormat.TrackingParticle.bestMatchingTrack(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticle(), ntupleDataFormat._TrackingParticleMatchAdaptor.bestMatchingTrackingParticleFromFirstHit(), ntupleDataFormat.TrackingVertex.daughterTrackingParticles(), ntupleDataFormat.TrackingParticle.decayVertices(), ntupleDataFormat._DetIdStrAdaptor.detIdStr(), 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.TrackingParticle.matchedSeedInfos(), ntupleDataFormat._SimHitMatchAdaptor.matchedSimHitInfos(), ntupleDataFormat.TrackingParticle.matchedTrackInfos(), ntupleDataFormat._TrackingParticleMatchAdaptor.matchedTrackingParticleInfos(), ntupleDataFormat.GluedHit.monoHit(), ntupleDataFormat._HitObject.nseeds(), ntupleDataFormat.Seeds.nSeedsForAlgo(), ntupleDataFormat._HitObject.ntracks(), ntupleDataFormat.TrackingParticle.parentVertex(), ntupleDataFormat._RecoHitAdaptor.phase2OTHits(), ntupleDataFormat.Event.phase2OTHits(), ntupleDataFormat._RecoHitAdaptor.pixelHits(), ntupleDataFormat.Event.pixelHits(), 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().