#include <MuonAnalysis/MomentumScaleCalibration/plugins/TestResolution.cc>
Public Member Functions | |
TestResolution (const edm::ParameterSet &) | |
~TestResolution () | |
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< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | endJob () |
template<typename T > | |
std::vector< reco::LeafCandidate > | fillMuonCollection (const std::vector< T > &tracks) |
Private Attributes | |
int | eventCounter_ |
edm::EDGetTokenT< reco::MuonCollection > | glbMuonsToken_ |
TFile * | outputFile_ |
std::auto_ptr< ResolutionFunction > | resolutionFunction_ |
edm::EDGetTokenT< reco::TrackCollection > | saMuonsToken_ |
TProfile * | sigmaPt_ |
edm::InputTag | theMuonLabel_ |
int | theMuonType_ |
std::string | theRootFileName_ |
edm::EDGetTokenT< reco::TrackCollection > | tracksToken_ |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 53 of file TestResolution.h.
|
explicit |
Definition at line 20 of file TestResolution.cc.
References gather_cfg::cout, eventCounter_, edm::ParameterSet::getUntrackedParameter(), outputFile_, resolutionFunction_, sigmaPt_, AlCaHLTBitMon_QueryRunRegistry::string, and theRootFileName_.
TestResolution::~TestResolution | ( | ) |
Definition at line 39 of file TestResolution.cc.
References svgfig::canvas(), gather_cfg::cout, eventCounter_, outputFile_, and sigmaPt_.
|
privatevirtual |
Definition at line 66 of file TestResolution.cc.
References gather_cfg::cout, DEFINE_FWK_MODULE, eventCounter_, fillMuonCollection(), edm::Event::getByToken(), glbMuonsToken_, electronCleaner_cfi::muons, resolutionFunction_, saMuonsToken_, sigmaPt_, theMuonType_, l1t::tracks, and tracksToken_.
|
inlineprivatevirtual |
|
inlineprivate |
Definition at line 62 of file TestResolution.h.
References RPCpg::mu, metsig::muon, electronCleaner_cfi::muons, mathSSE::sqrt(), and HiIsolationCommonParameters_cff::track.
Referenced by analyze().
|
private |
Definition at line 92 of file TestResolution.h.
Referenced by analyze(), TestResolution(), and ~TestResolution().
|
private |
Definition at line 82 of file TestResolution.h.
Referenced by analyze().
|
private |
Definition at line 88 of file TestResolution.h.
Referenced by TestResolution(), and ~TestResolution().
|
private |
Definition at line 94 of file TestResolution.h.
Referenced by analyze(), and TestResolution().
|
private |
Definition at line 83 of file TestResolution.h.
Referenced by analyze().
|
private |
Definition at line 90 of file TestResolution.h.
Referenced by analyze(), TestResolution(), and ~TestResolution().
|
private |
Definition at line 81 of file TestResolution.h.
|
private |
Definition at line 86 of file TestResolution.h.
Referenced by analyze().
|
private |
Definition at line 87 of file TestResolution.h.
Referenced by TestResolution().
|
private |
Definition at line 84 of file TestResolution.h.
Referenced by analyze().