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