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

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

Member Function Documentation

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

Definition at line 36 of file ntupleDataFormat.py.

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

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

Definition at line 40 of file ntupleDataFormat.py.

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

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

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

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

Member Data Documentation

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

Definition at line 25 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Collection.size().

ntupleDataFormat._Collection._tree
private

Definition at line 24 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().