CMS 3D CMS Logo

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

Public Member Functions

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

Private Attributes

 _objclass
 
 _sizeBranch
 
 _tree
 

Detailed Description

Adaptor class representing a collection of objects.

Concrete collection classes should inherit from this class.

Definition at line 10 of file ntupleDataFormat.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

Definition at line 16 of file ntupleDataFormat.py.

16  def __init__(self, tree, sizeBranch, objclass):
17  """Constructor.
18 
19  Arguments:
20  tree -- TTree object
21  sizeBranch -- Name of the branch to be used in size()
22  objclass -- Class to be used for the objects in __getitem__()
23  """
24  super(_Collection, self).__init__()
25  self._tree = tree
26  self._sizeBranch = sizeBranch
27  self._objclass = objclass
28 
def __init__(self, dataset, job_number, job_id, job_name, isDA, isMC, applyBOWS, applyEXTRACOND, extraconditions, runboundary, lumilist, intlumi, maxevents, gt, allFromGT, alignmentDB, alignmentTAG, apeDB, apeTAG, bowDB, bowTAG, vertextype, tracktype, refittertype, ttrhtype, applyruncontrol, ptcut, CMSSW_dir, the_dir)

Member Function Documentation

◆ __getitem__()

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

Definition at line 37 of file ntupleDataFormat.py.

References ntupleDataFormat._Collection._objclass, datamodel.Event._tree, ntupleDataFormat._Collection._tree, output.OutputTree._tree, python.cmstools.EventTree._tree, and output.FullOutput._tree.

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

◆ __iter__()

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

Definition at line 41 of file ntupleDataFormat.py.

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

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

◆ __len__()

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

Definition at line 33 of file ntupleDataFormat.py.

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

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

◆ size()

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

Definition at line 29 of file ntupleDataFormat.py.

References ntupleDataFormat._Collection._sizeBranch, datamodel.Event._tree, ntupleDataFormat._Collection._tree, output.OutputTree._tree, python.cmstools.EventTree._tree, output.FullOutput._tree, and createfilelist.int.

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

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

Member Data Documentation

◆ _objclass

ntupleDataFormat._Collection._objclass
private

◆ _sizeBranch

ntupleDataFormat._Collection._sizeBranch
private

Definition at line 26 of file ntupleDataFormat.py.

Referenced by ntupleDataFormat._Collection.size().

◆ _tree

ntupleDataFormat._Collection._tree
private

Definition at line 25 of file ntupleDataFormat.py.

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