CMS 3D CMS Logo

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

#include <MuonAnalyzer.h>

Inheritance diagram for ExampleMuonAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &event, const edm::EventSetup &eventSetup)
 
virtual void beginJob ()
 
virtual void endJob ()
 
 ExampleMuonAnalyzer (const edm::ParameterSet &pset)
 Constructor. More...
 
virtual ~ExampleMuonAnalyzer ()
 Destructor. More...
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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 ()
 

Private Attributes

TH1F * h4MuInvMass
 
TH1I * hChamberMatched
 
TH1F * hEHcal
 
TH1F * hMuCaloCompatibility
 
TH1I * hMuIdAlgo
 
TH1F * hMuIso03CaloComb
 
TH1F * hMuIso03SumPt
 
TH1I * hMuonType
 
TH1F * hMuSegCompatibility
 
TH1I * hNMuons
 
TH1F * hPtRec
 
TH2F * hPtReso
 
TH1F * hPtSTATKDiff
 
edm::EDGetTokenT
< pat::MuonCollection
theMuonToken
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- 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)
 

Detailed Description

Analyzer of the muon objects

Author
R. Bellan - CERN ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch

Definition at line 25 of file MuonAnalyzer.h.

Constructor & Destructor Documentation

ExampleMuonAnalyzer::ExampleMuonAnalyzer ( const edm::ParameterSet pset)

Constructor.

Definition at line 28 of file MuonAnalyzer.cc.

ExampleMuonAnalyzer::~ExampleMuonAnalyzer ( )
virtual

Destructor.

Definition at line 34 of file MuonAnalyzer.cc.

Member Function Documentation

void ExampleMuonAnalyzer::analyze ( const edm::Event event,
const edm::EventSetup eventSetup 
)
virtual

simple selection... Do not want to write here my super-secret Higgs analysis ;-)

Implements edm::EDAnalyzer.

Definition at line 68 of file MuonAnalyzer.cc.

void ExampleMuonAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 37 of file MuonAnalyzer.cc.

void ExampleMuonAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 64 of file MuonAnalyzer.cc.

Member Data Documentation

TH1F* ExampleMuonAnalyzer::h4MuInvMass
private

Definition at line 63 of file MuonAnalyzer.h.

TH1I* ExampleMuonAnalyzer::hChamberMatched
private

Definition at line 56 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hEHcal
private

Definition at line 48 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hMuCaloCompatibility
private

Definition at line 54 of file MuonAnalyzer.h.

TH1I* ExampleMuonAnalyzer::hMuIdAlgo
private

Definition at line 57 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hMuIso03CaloComb
private

Definition at line 61 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hMuIso03SumPt
private

Definition at line 60 of file MuonAnalyzer.h.

TH1I* ExampleMuonAnalyzer::hMuonType
private

Definition at line 50 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hMuSegCompatibility
private

Definition at line 55 of file MuonAnalyzer.h.

TH1I* ExampleMuonAnalyzer::hNMuons
private

Definition at line 45 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hPtRec
private

Definition at line 46 of file MuonAnalyzer.h.

TH2F* ExampleMuonAnalyzer::hPtReso
private

Definition at line 47 of file MuonAnalyzer.h.

TH1F* ExampleMuonAnalyzer::hPtSTATKDiff
private

Definition at line 51 of file MuonAnalyzer.h.

edm::EDGetTokenT<pat::MuonCollection> ExampleMuonAnalyzer::theMuonToken
private

Definition at line 42 of file MuonAnalyzer.h.