CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions

edm::ESProducerLooper Class Reference

#include <ESProducerLooper.h>

Inheritance diagram for edm::ESProducerLooper:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::EDLooper edm::ESProxyFactoryProducer edm::EDLooperBase edm::eventsetup::DataProxyProvider AlignmentProducer loopername PhysicsTools::MVATrainerLooper Pi0FixedMassWindowCalibration ZeeCalibration PhysicsTools::MVATrainerContainerLooperImpl< Record_t > PhysicsTools::MVATrainerLooperImpl< Record_t >

List of all members.

Public Member Functions

 ESProducerLooper ()
virtual std::set
< eventsetup::EventSetupRecordKey
modifyingRecords () const

Protected Member Functions

virtual void registerFactoryWithKey (const eventsetup::EventSetupRecordKey &iRecord, std::auto_ptr< eventsetup::ProxyFactoryBase > &iFactory, const std::string &iLabel=std::string())
void setIntervalFor (const eventsetup::EventSetupRecordKey &iKey, const IOVSyncValue &iTime, ValidityInterval &oInterval)

Private Member Functions

 ESProducerLooper (const ESProducerLooper &)
const ESProducerLooperoperator= (const ESProducerLooper &)

Detailed Description

Definition at line 34 of file ESProducerLooper.h.


Constructor & Destructor Documentation

ESProducerLooper::ESProducerLooper ( )

Definition at line 32 of file ESProducerLooper.cc.

{
}
edm::ESProducerLooper::ESProducerLooper ( const ESProducerLooper ) [private]

Member Function Documentation

std::set< eventsetup::EventSetupRecordKey > ESProducerLooper::modifyingRecords ( ) const [virtual]

Reimplemented from edm::EDLooperBase.

Definition at line 91 of file ESProducerLooper.cc.

                                         {
  return findingForRecords();
}
const ESProducerLooper& edm::ESProducerLooper::operator= ( const ESProducerLooper ) [private]
virtual void edm::ESProducerLooper::registerFactoryWithKey ( const eventsetup::EventSetupRecordKey iRecord,
std::auto_ptr< eventsetup::ProxyFactoryBase > &  iFactory,
const std::string &  iLabel = std::string() 
) [protected, virtual]

Reimplemented from edm::ESProxyFactoryProducer.

void ESProducerLooper::setIntervalFor ( const eventsetup::EventSetupRecordKey iKey,
const IOVSyncValue iTime,
ValidityInterval oInterval 
) [protected, virtual]

Implements edm::EventSetupRecordIntervalFinder.

Definition at line 61 of file ESProducerLooper.cc.

References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().

{
  //since non of the dependent records are valid, I will create one that is valid
  // at the beginning of time BUT must also be checked every request
  //oInterval = ValidityInterval(IOVSyncValue::beginOfTime(),
  //                             IOVSyncValue::invalidIOVSyncValue());
 //   }
  //} else {
    //Give one valid for all time
    oInterval = ValidityInterval(IOVSyncValue::beginOfTime(),
                                 IOVSyncValue::endOfTime());
  //}
}