#include <IsoDepositVetoFactory.h>
Static Public Member Functions | |
static reco::isodeposit::AbsVeto * | make (const char *string, edm::ConsumesCollector &iC) |
static reco::isodeposit::AbsVeto * | make (const char *string, reco::isodeposit::EventDependentAbsVeto *&evdep, edm::ConsumesCollector &iC) |
Definition at line 8 of file IsoDepositVetoFactory.h.
|
static |
Returns a pointer to an AbsVeto defined by the string. The calling code owns the pointer, and must delete it at the end. An exception will be thrown if the resulting AbsVeto depends on the edm::Event
Definition at line 72 of file IsoDepositVetoFactory.cc.
References Exception, and runTheMatrix::ret.
Referenced by pat::helper::IsoDepositIsolator::IsoDepositIsolator(), make(), PFCandIsolatorFromDeposits::SingleDeposit::SingleDeposit(), and CandIsolatorFromDeposits::SingleDeposit::SingleDeposit().
|
static |
As above, but will allow also AbsVetos which depend from the edm::Event If the resulting veto is dependent on the edm::Event, the value of the second pointer will be set to non-zero Note that both pointers will point to the same object, so you have to delete it only once.
Definition at line 82 of file IsoDepositVetoFactory.cc.
References Exception, first, make(), match(), contentValuesFiles::number, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and remoteMonitoring_LED_IterMethod_cfg::threshold.