78 for (
unsigned int i = 0;
i < nQualities; ++
i) {
91 fs->
make<TH1F>(Form(
"invPtErr_%s",
quality), Form(
"track 1/p_{T} error (%s)",
quality), 100, 0, 0.1);
95 fs->
make<TH1F>(Form(
"nHits_%s",
quality), Form(
"track number of total hits (%s)",
quality), 60, 0, 60);
98 fs->
make<TProfile>(Form(
"pxbHitsEta_%s",
quality), Form(
"#hits in Pixel Barrel (%s)",
quality), 100, 0, 3);
100 fs->
make<TProfile>(Form(
"pxeHitsEta_%s",
quality), Form(
"#hits in Pixel Endcap (%s)",
quality), 100, 0, 3);
102 Form(
"tibHitsEta_%s",
quality), Form(
"#hits in Tracker Inner Barrel (%s)",
quality), 100, 0, 3);
104 Form(
"tobHitsEta_%s",
quality), Form(
"#hits in Tracker Outer Barrel (%s)",
quality), 100, 0, 3);
106 Form(
"tidHitsEta_%s",
quality), Form(
"#hits in Tracker Inner Disk (%s)",
quality), 100, 0, 3);
108 fs->
make<TProfile>(Form(
"tecHitsEta_%s",
quality), Form(
"#hits in Tracker Endcap (%s)",
quality), 100, 0, 3);
125 std::vector<const reco::Track *>
tracks;
143 for (pat::MuonCollection::const_iterator iter = muonsHandle->begin(); iter != muonsHandle->end(); ++iter) {
146 if (
track.isNonnull())
155 for (
unsigned int i = 0;
i < nQualities; ++
i) {
165 for (std::vector<const reco::Track *>::const_iterator iter =
tracks.begin(); iter !=
tracks.end(); ++iter) {
197 plots.pxbHitsEta->Fill(absEta,
hits.numberOfValidPixelBarrelHits());
198 plots.pxeHitsEta->Fill(absEta,
hits.numberOfValidPixelEndcapHits());
199 plots.tibHitsEta->Fill(absEta,
hits.numberOfValidStripTIBHits());
200 plots.tobHitsEta->Fill(absEta,
hits.numberOfValidStripTOBHits());
201 plots.tidHitsEta->Fill(absEta,
hits.numberOfValidStripTIDHits());
202 plots.tecHitsEta->Fill(absEta,
hits.numberOfValidStripTECHits());