#include <MuonAnalysis/MomentumScaleCalibration/plugins/TestResolution.cc>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
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::unique_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::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 51 of file TestResolution.cc.
|
explicit |
Definition at line 97 of file TestResolution.cc.
References gather_cfg::cout, eventCounter_, edm::ParameterSet::getUntrackedParameter(), outputFile_, resolutionFunction_, sigmaPt_, AlCaHLTBitMon_QueryRunRegistry::string, and theRootFileName_.
|
override |
Definition at line 115 of file TestResolution.cc.
References svgfig::canvas(), gather_cfg::cout, eventCounter_, outputFile_, and sigmaPt_.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 140 of file TestResolution.cc.
References gather_cfg::cout, eventCounter_, fillMuonCollection(), glbMuonsToken_, iEvent, PDWG_BPHSkim_cff::muons, resolutionFunction_, saMuonsToken_, sigmaPt_, theMuonType_, tracks, and tracksToken_.
|
inlineprivate |
Definition at line 59 of file TestResolution.cc.
References amptDefaultParameters_cff::mu, HLT_2022v12_cff::muon, PDWG_BPHSkim_cff::muons, mathSSE::sqrt(), HLT_2022v12_cff::track, and tracks.
Referenced by analyze().
|
private |
Definition at line 89 of file TestResolution.cc.
Referenced by analyze(), TestResolution(), and ~TestResolution().
|
private |
Definition at line 79 of file TestResolution.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file TestResolution.cc.
Referenced by TestResolution(), and ~TestResolution().
|
private |
Definition at line 91 of file TestResolution.cc.
Referenced by analyze(), and TestResolution().
|
private |
Definition at line 80 of file TestResolution.cc.
Referenced by analyze().
|
private |
Definition at line 87 of file TestResolution.cc.
Referenced by analyze(), TestResolution(), and ~TestResolution().
|
private |
Definition at line 78 of file TestResolution.cc.
|
private |
Definition at line 83 of file TestResolution.cc.
Referenced by analyze().
|
private |
Definition at line 84 of file TestResolution.cc.
Referenced by TestResolution().
|
private |
Definition at line 81 of file TestResolution.cc.
Referenced by analyze().