CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
rrapi.RRApi Class Reference

Public Member Functions

def __init__
 
def columns
 
def count
 
def data
 
def dprint
 
def get
 
def report
 
def reports
 
def tables
 
def tags
 
def templates
 
def workspaces
 

Public Attributes

 app
 
 debug
 
 url
 

Detailed Description

RR API object

Definition at line 46 of file rrapi.py.

Constructor & Destructor Documentation

def rrapi.RRApi.__init__ (   self,
  url,
  debug = False 
)
Construct API object.
url: URL to RRv3 API, i.e. http://localhost:8080/rr_user
debug: should debug messages be printed out? Verbose!

Definition at line 51 of file rrapi.py.

51 
52  def __init__(self, url, debug = False):
53  """
54  Construct API object.
55  url: URL to RRv3 API, i.e. http://localhost:8080/rr_user
56  debug: should debug messages be printed out? Verbose!
57  """
58  self.debug = debug
59  self.url = re.sub("/*$", "/api/", url)
60  self.app = self.get(["app"])
61  self.dprint("app = ", self.app)
def __init__
Definition: rrapi.py:51
def get
Definition: rrapi.py:72
def dprint
Definition: rrapi.py:62

Member Function Documentation

def rrapi.RRApi.columns (   self,
  workspace,
  table 
)
Get columns for table for workspace (all apps)

Definition at line 139 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), KalmanAlignmentDataCollector.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), ora::NullTypeHandler.get(), edm::ObjectWithDict.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), ClusterCollectionFP420.get(), TMTQ.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::helper::AssociationIdenticalKeyReference.get(), ElectronDqmAnalyzerBase.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignSetup< Type >.get(), cond::persistency::KeyList.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), FWHandle.get(), ora::Monitoring.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), ora::NamedRef< T >.get(), edm::eventsetup::DataProxy.get(), edm::serviceregistry::ServiceWrapper< T >.get(), ConfObject.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), edm::EventSetup.get(), ora::SimpleTypeHandler< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), MP7FileReader.get(), pat::eventhypothesis::Looper< T >.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), rrapi.RRApi.get(), edmplugin::PluginFactory< R *(Args...)>.get(), fwlite::EventSetup.get(), edm::serviceregistry::ServicesManager.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edm::Event.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

140  def columns(self, workspace, table):
141  """
142  Get columns for table for workspace (all apps)
143  """
144  return self.get([workspace, table, "columns"])
def columns
Definition: rrapi.py:139
def get
Definition: rrapi.py:72
def rrapi.RRApi.count (   self,
  workspace,
  table,
  filter = None,
  query = None,
  tag = None 
)
Get number of rows for table for workspace with filter, query (all apps) or tag (USER app only)

Definition at line 151 of file rrapi.py.

References rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), KalmanAlignmentDataCollector.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), TMTQ.get(), edm::ObjectWithDict.get(), ora::NullTypeHandler.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), TPN.get(), ElectronDqmAnalyzerBase.get(), AlignSetup< Type >.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), ora::Monitoring.get(), FWHandle.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ora::NamedRef< T >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), FWEvePtr< T >.get(), pat::Flags::Core.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), ora::SimpleTypeHandler< T >.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), TAPD.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edmplugin::PluginManager.get(), edm::Event.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

152  def count(self, workspace, table, filter = None, query = None, tag = None):
153  """
154  Get number of rows for table for workspace with filter, query (all apps) or tag (USER app only)
155  """
156 
157  #
158  # Constructing request path
159  #
160 
161  req = [ workspace, table ]
162  if tag != None:
163  if self.app != "user":
164  raise RRApiError("Tags are possible only in user app")
165  else:
166  req.append(tag)
167  req.append("count")
168 
169  #
170  # Constructing filter/query payload
171  #
172 
173  filters = {}
174  if filter != None:
175  filters['filter'] = filter
176  if query != None:
177  filters['query'] = query
178 
179  return int(self.get(req, filters))
def count
Definition: rrapi.py:151
def get
Definition: rrapi.py:72
def rrapi.RRApi.data (   self,
  workspace,
  table,
  template,
  columns = None,
  filter = None,
  query = None,
  order = None,
  tag = None 
)
Get data for table for workspace with filter, query (all apps) or tag (USER app only)

Definition at line 180 of file rrapi.py.

References rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), edm::helper::CandMasterKeyReference.get(), cond::CondGetter.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), ora::TypeHandler.get(), edm::VectorInputSourceFactory.get(), KalmanAlignmentDataCollector.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), helper::MasterCollection< C1 >.get(), edm::MemberWithDict.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), TMTQ.get(), cond::Binary.get(), edm::ObjectWithDict.get(), ora::NullTypeHandler.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), TPN.get(), ElectronDqmAnalyzerBase.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignSetup< Type >.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), cond::persistency::KeyList.get(), cond::KeyList.get(), Counters.get(), ora::Monitoring.get(), FWHandle.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ora::NamedRef< T >.get(), edm::serviceregistry::ServiceWrapper< T >.get(), ConfObject.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), ora::Handle< T >.get(), DTRecoConditions.get(), FWEvePtr< T >.get(), pat::Flags::Core.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), TAPD.get(), ora::SimpleTypeHandler< T >.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), edm::SingleConsumerQ::ConsumerType.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), fwlite::EventSetup.get(), edm::serviceregistry::ServicesManager.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::FwdPtr< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), edm::Event.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), BeautifulSoup.Tag.get(), and join().

Referenced by cuy.FindIssue.__init__().

181  def data(self, workspace, table, template, columns = None, filter = None, query = None, order = None, tag = None):
182  """
183  Get data for table for workspace with filter, query (all apps) or tag (USER app only)
184  """
185 
186  #
187  # Check req parameters
188  #
189 
190  if type(workspace) != str:
191  raise RRApiError("workspace parameter must be str")
192 
193  #
194  # Constructing request path
195  #
196 
197  req = [ workspace, table, template ]
198  if columns != None:
199  req.append(",".join(columns))
200  else:
201  req.append("all")
202  if order != None:
203  req.append(",".join(order))
204  else:
205  req.append("none")
206  if tag != None:
207  if self.app != "user":
208  raise RRApiError("Tags are possible only in user app")
209  else:
210  req.append(tag)
211  req.append("data")
212 
213  #
214  # Constructing filter/query payload
215  #
216 
217  filters = {}
218  if filter != None:
219  filters['filter'] = filter
220  if query != None:
221  filters['query'] = query
222 
223  return self.get(req, filters)
def get
Definition: rrapi.py:72
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def data
Definition: rrapi.py:180
def rrapi.RRApi.dprint (   self,
  args 
)
Print debug information

Definition at line 62 of file rrapi.py.

References DTDigiToRawModule.debug, CSCDCCUnpacker.debug, CSCRPCData.debug, ALIUtils.debug, CSCTMBScope.debug, BxNumberFilter.debug, DTDigiToRaw.debug, EgammaProbeSelector.debug, HiggsToZZ4LeptonsSkimEff.debug, DTTTrigCorrectionFirst.debug, HiggsTo2GammaSkim.debug, HiggsToZZ4LeptonsPreFilter.debug, DTSegmentsTask.debug, pkg.AbstractPkg.debug, HiggsToZZ4LeptonsSkim.debug, CSCDCCEventData.debug, DTTPDeadWriter.debug, IsolatedParticlesGeneratedJets.debug, SiPixelRawToDigi.debug, DTTTrigWriter.debug, SiPixelDigiToRaw.debug, DTT0Calibration.debug, DTTriggerCheck.debug, DTDDUUnpacker.debug, DTT0CalibrationNew.debug, DTOccupancyPoint.debug, rrapi.RRApi.debug, DTEfficiencyTask.debug, LumiblockFilter.debug, DTNoiseComputation.debug, DTROS25Unpacker.debug, HeavyChHiggsToTauNuSkim.debug, HCALResponse.debug, DTRunConditionVar.debug, DTTTrigSyncT0Only.debug, DTAlbertoBenvenutiTask.debug, DTTTrigCalibration.debug, CSCDDUEventData.debug, DTDigiForNoiseTask.debug, DTChamberEfficiencyTask.debug, DTChamberEfficiency.debug, DTTMax.debug, CSCCLCTData.debug, PythiaFilterEMJetHeep.debug, DTNoiseTest.debug, DTVDriftCalibration.debug, PixelDataFormatter.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, BaseParticlePropagator.debug, RPCEfficiency.debug, CSCEventData.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, AlCaHOCalibProducer.debug, and CSCALCTHeader.debug.

Referenced by rrapi.RRApi.get().

62 
63  def dprint(self, *args):
64  """
65  Print debug information
66  """
67  if self.debug:
68  print "RRAPI:",
69  for arg in args:
70  print arg,
71  print
def dprint
Definition: rrapi.py:62
def rrapi.RRApi.get (   self,
  parts,
  data = None 
)
General API call (do not use it directly!)

Definition at line 72 of file rrapi.py.

References DTDigiToRawModule.debug, CSCRPCData.debug, CSCDCCUnpacker.debug, ALIUtils.debug, CSCTMBScope.debug, BxNumberFilter.debug, DTDigiToRaw.debug, EgammaProbeSelector.debug, HiggsToZZ4LeptonsSkimEff.debug, DTTTrigCorrectionFirst.debug, HiggsTo2GammaSkim.debug, HiggsToZZ4LeptonsPreFilter.debug, DTSegmentsTask.debug, pkg.AbstractPkg.debug, HiggsToZZ4LeptonsSkim.debug, IsolatedParticlesGeneratedJets.debug, CSCDCCEventData.debug, DTTPDeadWriter.debug, SiPixelRawToDigi.debug, DTTTrigWriter.debug, SiPixelDigiToRaw.debug, DTT0Calibration.debug, DTDDUUnpacker.debug, DTTriggerCheck.debug, DTT0CalibrationNew.debug, DTOccupancyPoint.debug, rrapi.RRApi.debug, DTEfficiencyTask.debug, DTNoiseComputation.debug, LumiblockFilter.debug, HeavyChHiggsToTauNuSkim.debug, DTROS25Unpacker.debug, DTTTrigSyncT0Only.debug, HCALResponse.debug, DTRunConditionVar.debug, DTTTrigCalibration.debug, DTAlbertoBenvenutiTask.debug, CSCDDUEventData.debug, DTDigiForNoiseTask.debug, DTChamberEfficiencyTask.debug, DTChamberEfficiency.debug, DTTMax.debug, CSCCLCTData.debug, PythiaFilterEMJetHeep.debug, DTVDriftCalibration.debug, DTNoiseTest.debug, PixelDataFormatter.debug, DTTTrigSyncFromDB.debug, CSCTMBData.debug, DTTTrigSyncTOFCorr.debug, BaseParticlePropagator.debug, RPCEfficiency.debug, CSCEventData.debug, CSCTMBHeader.debug, CSCALCTTrailer.debug, AlCaHOCalibProducer.debug, CSCALCTHeader.debug, dir, rrapi.RRApi.dprint(), join(), split, rrapi.RRApiError.url, LumiList.LumiList.url, and rrapi.RRApi.url.

Referenced by Options.Options.__getitem__(), betterConfigParser.BetterConfigParser.__updateDict(), rrapi.RRApi.columns(), rrapi.RRApi.count(), rrapi.RRApi.data(), betterConfigParser.BetterConfigParser.getCompares(), betterConfigParser.BetterConfigParser.getGeneral(), betterConfigParser.BetterConfigParser.getResultingSection(), rrapi.RRApi.report(), rrapi.RRApi.reports(), rrapi.RRApi.tables(), rrapi.RRApi.tags(), rrapi.RRApi.templates(), and rrapi.RRApi.workspaces().

72 
73  def get(self, parts, data = None):
74  """
75  General API call (do not use it directly!)
76  """
77 
78  #
79  # Constructing request path
80  #
81 
82  callurl = self.url + "/".join(urllib.quote(p) for p in parts)
83 
84  #
85  # Constructing data payload
86  #
87 
88  sdata = None
89  if data != None:
90  sdata = json.dumps(data)
91 
92  #
93  # Do the query and respond
94  #
95 
96  self.dprint(callurl, "with payload", sdata)
97 
98  resp = urllib.urlopen(callurl, sdata)
99 
100  has_getcode = "getcode" in dir(resp)
101  if self.debug:
102  if has_getcode:
103  self.dprint("Response", resp.getcode(), " ".join(str(resp.info()).split("\r\n")))
104  else:
105  self.dprint("Response", " ".join(str(resp.info()).split("\r\n")))
106 
107  if not has_getcode or resp.getcode() == 200:
108  rdata = resp.read()
109  if re.search("json", resp.info().gettype()):
110  try:
111  return json.loads(rdata)
112  except TypeError, e:
113  self.dprint(e)
114  return rdata
115  else:
116  return rdata
117  else:
118  raise RRApiError(resp)
def get
Definition: rrapi.py:72
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
dbl *** dir
Definition: mlp_gen.cc:35
double split
Definition: MVATrainer.cc:139
def dprint
Definition: rrapi.py:62
def rrapi.RRApi.report (   self,
  workspace,
  report 
)
Get report data (USER app only)

Definition at line 232 of file rrapi.py.

References rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), KalmanAlignmentDataCollector.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), TMTQ.get(), edm::ObjectWithDict.get(), ora::NullTypeHandler.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), TPN.get(), ElectronDqmAnalyzerBase.get(), AlignSetup< Type >.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), ora::Monitoring.get(), FWHandle.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ora::NamedRef< T >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), FWEvePtr< T >.get(), pat::Flags::Core.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), ora::SimpleTypeHandler< T >.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), TAPD.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edmplugin::PluginManager.get(), edm::Event.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

233  def report(self, workspace, report):
234  """
235  Get report data (USER app only)
236  """
237  if self.app != "user":
238  raise RRApiError("Reports available only in user app")
239  return self.get([workspace, report, "data"])
240 
def get
Definition: rrapi.py:72
def report
Definition: rrapi.py:232
def rrapi.RRApi.reports (   self,
  workspace 
)
Get available reports (USER app only)

Definition at line 224 of file rrapi.py.

References rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), KalmanAlignmentDataCollector.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), TMTQ.get(), edm::ObjectWithDict.get(), ora::NullTypeHandler.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), TPN.get(), ElectronDqmAnalyzerBase.get(), AlignSetup< Type >.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), ora::Monitoring.get(), FWHandle.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ora::NamedRef< T >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), FWEvePtr< T >.get(), pat::Flags::Core.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), ora::SimpleTypeHandler< T >.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), TAPD.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edmplugin::PluginManager.get(), edm::Event.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

225  def reports(self, workspace):
226  """
227  Get available reports (USER app only)
228  """
229  if self.app != "user":
230  raise RRApiError("Reports available only in user app")
231  return self.get([workspace, "reports"])
def get
Definition: rrapi.py:72
def reports
Definition: rrapi.py:224
def rrapi.RRApi.tables (   self,
  workspace 
)
Get tables for workspace (all apps)

Definition at line 133 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), KalmanAlignmentDataCollector.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), ora::NullTypeHandler.get(), edm::ObjectWithDict.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), ClusterCollectionFP420.get(), TMTQ.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::helper::AssociationIdenticalKeyReference.get(), ElectronDqmAnalyzerBase.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignSetup< Type >.get(), cond::persistency::KeyList.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), FWHandle.get(), ora::Monitoring.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), ora::NamedRef< T >.get(), edm::eventsetup::DataProxy.get(), edm::serviceregistry::ServiceWrapper< T >.get(), ConfObject.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), edm::EventSetup.get(), ora::SimpleTypeHandler< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), MP7FileReader.get(), pat::eventhypothesis::Looper< T >.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), rrapi.RRApi.get(), edmplugin::PluginFactory< R *(Args...)>.get(), fwlite::EventSetup.get(), edm::serviceregistry::ServicesManager.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edm::Event.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

134  def tables(self, workspace):
135  """
136  Get tables for workspace (all apps)
137  """
138  return self.get([workspace, "tables"])
def tables
Definition: rrapi.py:133
def get
Definition: rrapi.py:72
def rrapi.RRApi.tags (   self)
Get version tags (USER app only)

Definition at line 119 of file rrapi.py.

References rrapi.RRApi.app, HiGenEvtSelectorFactory.get(), CSCFakeCrosstalkMap.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), APVCyclePhaseCollection.get(), edm::helper::CandMasterKeyReference.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), KalmanAlignmentDataCollector.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), TMTQ.get(), edm::ObjectWithDict.get(), ora::NullTypeHandler.get(), ClusterCollectionFP420.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), edm::helper::AssociationIdenticalKeyReference.get(), TPN.get(), ElectronDqmAnalyzerBase.get(), AlignSetup< Type >.get(), edm::ConstRespectingPtr< T >.get(), edm::extensioncord::ECGetterBase< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), edm::Association< C >.get(), cond::persistency::KeyList.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), ora::Monitoring.get(), FWHandle.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), edm::eventsetup::DataProxy.get(), ora::NamedRef< T >.get(), ConfObject.get(), edm::serviceregistry::ServiceWrapper< T >.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), FWEvePtr< T >.get(), pat::Flags::Core.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), ora::SimpleTypeHandler< T >.get(), edm::CloningPtr< T, P >.get(), edm::EventSetup.get(), TAPD.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), pat::eventhypothesis::Looper< T >.get(), MP7FileReader.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), edmplugin::PluginFactory< R *(Args...)>.get(), rrapi.RRApi.get(), edm::serviceregistry::ServicesManager.get(), fwlite::EventSetup.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::FwdPtr< T >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edmplugin::PluginManager.get(), edm::Event.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), edm::Ptr< T >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

120  def tags(self):
121  """
122  Get version tags (USER app only)
123  """
124  if self.app != "user":
125  raise RRApiError("Tags call is possible only in user app")
126  return self.get(["tags"])
def get
Definition: rrapi.py:72
def tags
Definition: rrapi.py:119
def rrapi.RRApi.templates (   self,
  workspace,
  table 
)
Get output templates for table for workspace (all apps)

Definition at line 145 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), KalmanAlignmentDataCollector.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), ora::NullTypeHandler.get(), edm::ObjectWithDict.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), ClusterCollectionFP420.get(), TMTQ.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::helper::AssociationIdenticalKeyReference.get(), ElectronDqmAnalyzerBase.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignSetup< Type >.get(), cond::persistency::KeyList.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), FWHandle.get(), ora::Monitoring.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), ora::NamedRef< T >.get(), edm::eventsetup::DataProxy.get(), edm::serviceregistry::ServiceWrapper< T >.get(), ConfObject.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), edm::EventSetup.get(), ora::SimpleTypeHandler< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), MP7FileReader.get(), pat::eventhypothesis::Looper< T >.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), rrapi.RRApi.get(), edmplugin::PluginFactory< R *(Args...)>.get(), fwlite::EventSetup.get(), edm::serviceregistry::ServicesManager.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edm::Event.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

146  def templates(self, workspace, table):
147  """
148  Get output templates for table for workspace (all apps)
149  """
150  return self.get([workspace, table, "templates"])
def templates
Definition: rrapi.py:145
def get
Definition: rrapi.py:72
def rrapi.RRApi.workspaces (   self)
Get workspaces (all apps)

Definition at line 127 of file rrapi.py.

References CSCFakeCrosstalkMap.get(), HiGenEvtSelectorFactory.get(), pat::eventhypothesis::DynCastCandPtr< T >.get(), HcalPulseContainmentManager.get(), cond::CondGetter.get(), edm::helper::CandMasterKeyReference.get(), APVCyclePhaseCollection.get(), cond::persistency::CondGetter.get(), edm::PresenceFactory.get(), edm::InputSourceFactory.get(), KalmanAlignmentDataCollector.get(), edm::VectorInputSourceFactory.get(), ora::TypeHandler.get(), HcalHistogramDigi.get(), l1t::UnpackerFactory.get(), PixelDigiCollection.get(), edm::Factory.get(), OOTPileupCorrectionColl.get(), lhef::BranchingRatios.get(), ora::SharedSession.get(), StorableDoubleMap< T >.get(), reco::componenthelper::SingleComponent< C, T, F >.get(), edm::MemberWithDict.get(), helper::MasterCollection< C1 >.get(), DigiCollectionFP420.get(), l1t::PackerFactory.get(), cond::CoralServiceFactory.get(), ora::ContainerIterator.get(), edm::stream::impl::dummy_ptr.get(), cond::Binary.get(), ora::NullTypeHandler.get(), edm::ObjectWithDict.get(), RecoCollectionFP420.get(), TrackCollectionFP420.get(), ClusterCollectionFP420.get(), TMTQ.get(), pat::Flags.get(), CSCTriggerContainer< T >.get(), DTKeyedConfigCache.get(), TPN.get(), edm::helper::AssociationIdenticalKeyReference.get(), ElectronDqmAnalyzerBase.get(), edm::extensioncord::ECGetterBase< T >.get(), edm::ConstRespectingPtr< T >.get(), pat::eventhypothesis::DynCastCandPtr< reco::Candidate >.get(), AlignSetup< Type >.get(), cond::persistency::KeyList.get(), edm::Association< C >.get(), DTRecoUncertainties.get(), cond::KeyList.get(), Counters.get(), reco::componenthelper::MultipleComponents< C, T, F, S >.get(), FWHandle.get(), ora::Monitoring.get(), pat::UserData.get(), EventWithHistory.get(), edmplugin::PluginCapabilities.get(), ora::VoidStarHandler.get(), pos::PixelROCStatus.get(), ora::NamedRef< T >.get(), edm::eventsetup::DataProxy.get(), edm::serviceregistry::ServiceWrapper< T >.get(), ConfObject.get(), edmplugin::PluginFactoryManager.get(), l1t::PackingSetupFactory.get(), DTRecoConditions.get(), ora::Handle< T >.get(), pat::Flags::Core.get(), FWEvePtr< T >.get(), helper::MasterCollection< edm::View< T > >.get(), pat::EventHypothesis.get(), ora::UniqueRef< T >.get(), edm::ExtensionCord< T >.get(), mayown_ptr< T, N >.get(), edm::EventSetup.get(), ora::SimpleTypeHandler< T >.get(), TAPD.get(), edm::CloningPtr< T, P >.get(), fwlite::Record.get(), DTHVHandler.get(), edm::RefToBaseProd< T >.get(), MP7PacketReader.get(), ConditionDumperInEdm.get(), edm::SingleConsumerQ::ConsumerType.get(), ora::Record.get(), coral_bridge::AuthenticationCredentialSet.get(), MP7FileReader.get(), pat::eventhypothesis::Looper< T >.get(), edm::ServiceRegistry.get(), jsoncollector::JsonMonPtr.get(), SiStripConfObject.get(), CaloMiscalibMapHcal.get(), pat::Flags::Overlap.get(), edm::SingleConsumerQ::ProducerType.get(), rrapi.RRApi.get(), edmplugin::PluginFactory< R *(Args...)>.get(), fwlite::EventSetup.get(), edm::serviceregistry::ServicesManager.get(), InputTagDistributorService.get(), L1TriggerKey.get(), edm::RangeMap< ID, C, P >.get(), ora::AnyTypeHandler< T >.get(), edm::EdmEventItemGetter< RefType >.get(), edm::IDVectorMap< ID, C, P >.get(), edm::FwdPtr< T >.get(), edm::MallocOptionSetter.get(), FWEventItem.get(), DTT0.get(), DTTPGParameters.get(), DTLVStatus.get(), ora::Ptr< T >.get(), edm::RefToBase< T >.get(), edm::helper::IndexRangeAssociation.get(), pat::Flags::Selection.get(), DTTtrig.get(), edm::eventsetup::EventSetupRecord.get(), DTHVStatus.get(), edm::Event.get(), edmplugin::PluginManager.get(), DTRangeT0.get(), SiPixelClusterShapeCache.get(), edm::eventsetup::ComponentFactory< T >.get(), DTDeadFlag.get(), pat::eventhypothesis::AcceptAllFilter.get(), CaloMiscalibMapEcal.get(), pat::Flags::Isolation.get(), edm::RefProd< T >.get(), python.seqvaluedict.seqdict.get(), DTPerformance.get(), DTMtime.get(), DTStatusFlag.get(), DDXMLElement.get(), edm::AssociativeIterator< KeyRefType, AssociativeCollection, ItemGetter >.get(), edm::ValueMap< T >.get(), MuonDigiCollection< IndexType, DigiType >.get(), DataFormats_MuonReco::dictionary::edm::Ptr< T >.get(), edm::Ptr< T >.get(), edm::SoATuple< Args >.get(), edm::FwdRef< C, T, F >.get(), cond::persistency::RowBuffer< Columns >.get(), reco::LeafRefCandidateT< T >.get(), cscdqm::Cache.get(), edm::MultiAssociation< C >.get(), reco::TaggingVariableList.get(), DQMStore::IGetter.get(), reco::Candidate.get(), edm::Ref< C, T, F >.get(), cond::persistency::TableDescription< Types >.get(), Json::Value.get(), reco::LeafCandidate.get(), pos::PixelConfigFile.get(), cond::persistency::QueryIterator< Types >.get(), edm::Ref< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value, typename refhelper::FindTrait< std::vector< E >, typename refhelper::ValueTrait< std::vector< E > >::value >::value >.get(), DQMStore.get(), cond::persistency::UpdateBuffer.get(), cond::persistency::DeleteBuffer.get(), and BeautifulSoup.Tag.get().

128  def workspaces(self):
129  """
130  Get workspaces (all apps)
131  """
132  return self.get(["workspaces"])
def get
Definition: rrapi.py:72
def workspaces
Definition: rrapi.py:127

Member Data Documentation

rrapi.RRApi.app

Definition at line 59 of file rrapi.py.

Referenced by rrapi.RRApi.count(), rrapi.RRApi.data(), rrapi.RRApi.report(), rrapi.RRApi.reports(), and rrapi.RRApi.tags().

rrapi.RRApi.debug

Definition at line 57 of file rrapi.py.

Referenced by rrapi.RRApi.dprint(), and rrapi.RRApi.get().

rrapi.RRApi.url

Definition at line 58 of file rrapi.py.

Referenced by rrapi.RRApi.get().