CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PhotonConversionTrajectorySeedProducerFromSingleLeg Class Referencefinal
Inheritance diagram for PhotonConversionTrajectorySeedProducerFromSingleLeg:
edm::stream::EDProducer<>

Public Member Functions

PhotonConversionTrajectorySeedProducerFromSingleLegoperator= (const PhotonConversionTrajectorySeedProducerFromSingleLeg &)=delete
 
 PhotonConversionTrajectorySeedProducerFromSingleLeg (const edm::ParameterSet &)
 
 PhotonConversionTrajectorySeedProducerFromSingleLeg (const PhotonConversionTrajectorySeedProducerFromSingleLeg &)=delete
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~PhotonConversionTrajectorySeedProducerFromSingleLeg () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

Private Attributes

std::string _newSeedCandidates
 
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo_theFinder
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

Definition at line 16 of file PhotonConversionTrajectorySeedProducerFromSingleLeg.cc.

Constructor & Destructor Documentation

◆ PhotonConversionTrajectorySeedProducerFromSingleLeg() [1/2]

PhotonConversionTrajectorySeedProducerFromSingleLeg::PhotonConversionTrajectorySeedProducerFromSingleLeg ( const edm::ParameterSet conf)

Definition at line 31 of file PhotonConversionTrajectorySeedProducerFromSingleLeg.cc.

33  : _newSeedCandidates(conf.getParameter<std::string>("newSeedCandidates")) {
35  produces<TrajectorySeedCollection>(_newSeedCandidates);
36 }

References _newSeedCandidates, and _theFinder.

◆ ~PhotonConversionTrajectorySeedProducerFromSingleLeg()

PhotonConversionTrajectorySeedProducerFromSingleLeg::~PhotonConversionTrajectorySeedProducerFromSingleLeg ( )
inlineoverride

Definition at line 19 of file PhotonConversionTrajectorySeedProducerFromSingleLeg.cc.

19 { delete _theFinder; }

◆ PhotonConversionTrajectorySeedProducerFromSingleLeg() [2/2]

PhotonConversionTrajectorySeedProducerFromSingleLeg::PhotonConversionTrajectorySeedProducerFromSingleLeg ( const PhotonConversionTrajectorySeedProducerFromSingleLeg )
delete

Member Function Documentation

◆ operator=()

PhotonConversionTrajectorySeedProducerFromSingleLeg& PhotonConversionTrajectorySeedProducerFromSingleLeg::operator= ( const PhotonConversionTrajectorySeedProducerFromSingleLeg )
delete

◆ produce()

void PhotonConversionTrajectorySeedProducerFromSingleLeg::produce ( edm::Event ev,
const edm::EventSetup es 
)
override

Definition at line 38 of file PhotonConversionTrajectorySeedProducerFromSingleLeg.cc.

38  {
39  auto result = std::make_unique<TrajectorySeedCollection>();
40 
41  _theFinder->find(ev, es, *result);
42  result->shrink_to_fit();
44 }

References _newSeedCandidates, _theFinder, ev, PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find(), eostools::move(), and mps_fire::result.

Member Data Documentation

◆ _newSeedCandidates

std::string PhotonConversionTrajectorySeedProducerFromSingleLeg::_newSeedCandidates
private

◆ _theFinder

PhotonConversionTrajectorySeedProducerFromSingleLegAlgo* PhotonConversionTrajectorySeedProducerFromSingleLeg::_theFinder
private
PhotonConversionTrajectorySeedProducerFromSingleLeg::_theFinder
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo * _theFinder
Definition: PhotonConversionTrajectorySeedProducerFromSingleLeg.cc:28
PhotonConversionTrajectorySeedProducerFromSingleLeg::_newSeedCandidates
std::string _newSeedCandidates
Definition: PhotonConversionTrajectorySeedProducerFromSingleLeg.cc:27
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo::find
void find(const edm::Event &event, const edm::EventSetup &setup, TrajectorySeedCollection &output)
Definition: PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.cc:40
PhotonConversionTrajectorySeedProducerFromSingleLegAlgo
Definition: PhotonConversionTrajectorySeedProducerFromSingleLegAlgo.h:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
eostools.move
def move(src, dest)
Definition: eostools.py:511
ev
bool ev
Definition: Hydjet2Hadronizer.cc:95
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
mps_fire.result
result
Definition: mps_fire.py:311