CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
MuonTrackCleanerBase Class Referenceabstract

#include <MuonTrackCleanerBase.h>

Inheritance diagram for MuonTrackCleanerBase:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper GlobalMuonTrackCleaner MuonTrackCleaner TeVMuonTrackCleaner

Classes

struct  muonMomentumType
 
struct  todoListEntryType
 

Public Member Functions

 MuonTrackCleanerBase (const edm::ParameterSet &)
 
 ~MuonTrackCleanerBase ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Types

enum  { kInnerTrack, kOuterTrack, kLink, kTeV }
 

Protected Member Functions

muonMomentumType getMuonMomentum (const reco::Candidate &)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
virtual void produceTrackExtras (edm::Event &, const edm::EventSetup &)=0
 
virtual void produceTracks (edm::Event &, const edm::EventSetup &)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Protected Attributes

double dRmatch_
 
int maxWarnings_tooFew_
 
int maxWarnings_tooMany_
 
std::string moduleLabel_
 
int numWarnings_tooFew_
 
int numWarnings_tooMany_
 
bool removeDuplicates_
 
edm::InputTag srcSelectedMuons_
 
std::vector< todoListEntryTypetodoList_
 
int type_
 
int verbosity_
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Base class for modules producing collections of reco::Tracks in Z –> mu+ mu- event from which the two muons are removed (later to be replaced by simulated tau decay products)

Authors
Christian Veelken, LLR
Version
Revision:
1.1
Id:
MuonTrackCleanerBase.h,v 1.1 2013/03/30 16:41:11 veelken Exp

Definition at line 30 of file MuonTrackCleanerBase.h.

Member Enumeration Documentation

anonymous enum
protected

Constructor & Destructor Documentation

MuonTrackCleanerBase::MuonTrackCleanerBase ( const edm::ParameterSet cfg)
explicit

Definition at line 14 of file MuonTrackCleanerBase.cc.

MuonTrackCleanerBase::~MuonTrackCleanerBase ( )
inline

Definition at line 34 of file MuonTrackCleanerBase.h.

34 {}

Member Function Documentation

MuonTrackCleanerBase::muonMomentumType MuonTrackCleanerBase::getMuonMomentum ( const reco::Candidate muon_candidate)
protected

Definition at line 98 of file MuonTrackCleanerBase.cc.

void MuonTrackCleanerBase::produce ( edm::Event evt,
const edm::EventSetup es 
)
protectedvirtual

Implements edm::EDProducer.

Definition at line 92 of file MuonTrackCleanerBase.cc.

virtual void MuonTrackCleanerBase::produceTrackExtras ( edm::Event ,
const edm::EventSetup  
)
protectedpure virtual
void MuonTrackCleanerBase::produceTracks ( edm::Event evt,
const edm::EventSetup es 
)
protectedvirtual

Definition at line 122 of file MuonTrackCleanerBase.cc.

Member Data Documentation

double MuonTrackCleanerBase::dRmatch_
protected

Definition at line 63 of file MuonTrackCleanerBase.h.

int MuonTrackCleanerBase::maxWarnings_tooFew_
protected

Definition at line 71 of file MuonTrackCleanerBase.h.

int MuonTrackCleanerBase::maxWarnings_tooMany_
protected

Definition at line 69 of file MuonTrackCleanerBase.h.

std::string MuonTrackCleanerBase::moduleLabel_
protected
int MuonTrackCleanerBase::numWarnings_tooFew_
protected

Definition at line 72 of file MuonTrackCleanerBase.h.

int MuonTrackCleanerBase::numWarnings_tooMany_
protected

Definition at line 70 of file MuonTrackCleanerBase.h.

bool MuonTrackCleanerBase::removeDuplicates_
protected

Definition at line 64 of file MuonTrackCleanerBase.h.

edm::InputTag MuonTrackCleanerBase::srcSelectedMuons_
protected

Definition at line 52 of file MuonTrackCleanerBase.h.

std::vector<todoListEntryType> MuonTrackCleanerBase::todoList_
protected
int MuonTrackCleanerBase::type_
protected

Definition at line 67 of file MuonTrackCleanerBase.h.

Referenced by RandomRunSource.RandomRunSource::insertInto().

int MuonTrackCleanerBase::verbosity_
protected