1 #ifndef TESTRESOLUTION_CC
2 #define TESTRESOLUTION_CC
21 : theMuonLabel_(iConfig.getParameter<
edm::
InputTag>(
"MuonLabel")),
25 theMuonType_(iConfig.getParameter<
int>(
"MuonType")),
26 theRootFileName_(iConfig.getUntrackedParameter<
std::
string>(
"OutputFileName")) {
30 sigmaPt_ =
new TProfile(
"sigmaPtOverPt",
"sigmaPt/Pt vs muon Pt", 1000, 0, 100);
40 TCanvas
canvas(
"sigmaPtOverPt",
"sigmaPt/Pt vs muon Pt", 1000, 800);
42 sigmaPt_->GetXaxis()->SetTitle(
"Pt(GeV)");
74 std::vector<reco::LeafCandidate>
muons;
91 std::vector<reco::LeafCandidate>::const_iterator recMuon =
muons.begin();
92 for (; recMuon !=
muons.end(); ++recMuon) {
101 #endif // TESTRESOLUTION_CC