![]() |
![]() |
Classes | |
class | BranchDummy |
class | EdmDataAccessor |
Functions | |
def | all |
def | eq |
def | ne |
def python::Vispa::Plugins::EdmBrowser::EdmDataAccessor::all | ( | container | ) |
Definition at line 18 of file EdmDataAccessor.py.
00018 : 00019 # loop over ROOT::TTree and similar 00020 if hasattr(container,'GetEntries'): 00021 try: 00022 entries = container.GetEntries() 00023 for entry in xrange(entries): 00024 yield entry 00025 except: 00026 raise cmserror("Looping of %s failed" %container) 00027 # loop over std::vectors and similar 00028 elif hasattr(container, 'size'): 00029 # convert std::map to std::vector<std::pair> 00030 if hasattr(container, 'ids'): 00031 container = container.ids() 00032 try: 00033 entries = container.size() 00034 for entry in xrange(entries): 00035 yield container[entry] 00036 except: 00037 pass 00038 # loop over c buffer 00039 #elif hasattr(container,'begin') and hasattr(container,'end'): 00040 # begin=container.begin() 00041 # end=container.end() 00042 # while (begin!=end): 00043 # yield begin.__deref__() 00044 # begin.__preinc__() 00045
def python::Vispa::Plugins::EdmBrowser::EdmDataAccessor::eq | ( | self, | |
other | |||
) |
Definition at line 13 of file EdmDataAccessor.py.
Referenced by DEutils< T >::DEDigi(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), KinematicConstrainedVertexFitter::fit(), HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing(), DTBtiChip::keepTrigPatt(), StraightLineBarrelCylinderCrossing::pathLength(), StraightLineCylinderCrossing::pathLength(), DTBtiTrigData::print(), stor::DQMEventProcessor::processNextDQMEvent(), loopername::produce(), prodname::produce(), HcalTB04Analysis::qieAnalysis(), DTTracoTrigData::setEqIn(), DTTracoTrigData::setEqOut(), and HcalTB04Analysis::xtalAnalysis().
00013 : 00014 return id(self)==id(other)
def python::Vispa::Plugins::EdmBrowser::EdmDataAccessor::ne | ( | self, | |
other | |||
) |
Definition at line 15 of file EdmDataAccessor.py.
Referenced by L1TGCT::analyze(), L1RCTElectronIsolationCard::calcElectronCandidates(), DumpGctDigis::doEM(), EcalRawToRecHitRoI::Egamma(), TwoVBGenFilter::filter(), LQGenFilter::filter(), FastL1GlobalAlgo::isEMCand(), MultipleKinematicConstraint::numberOfEquations(), SiPixelDQMRocLevelAnalyzer::RocSumOneModule(), L1RCTRegion::setNEEt(), L1RCTRegion::setNEHE_FG(), L1RCT::shareNeighbors(), and cscdqm::Utility::SignificanceLevelHigh().
00015 : 00016 return id(self)!=id(other) 00017 # PhysicsTools.PythonAnalysis.cmstools