ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/src/HistosMuonsBase.cc
(Generate patch)

Comparing UserCode/HbbAnalysis/src/HistosMuonsBase.cc (file contents):
Revision 1.1 by amagnan, Fri Oct 2 11:05:53 2009 UTC vs.
Revision 1.3 by amagnan, Thu Feb 11 19:08:08 2010 UTC

# Line 40 | Line 40 | namespace HbbAnalysis {//namespace
40      p_muonType = aDir.make<TH1F>("p_muonType",";muon type;N_{muons}/type",5,0,5);
41      p_muonID = aDir.make<TH1F>("p_muonID",";muon ID;N_{good}/ID",15,0,15);
42  
43 +
44 +    p_trkIPd0 = aDir.make<TH1F>("p_trkIPd0",";d0 (from IP, mm);N_{entries}",100,0,20);
45 +    p_trkIPdz = aDir.make<TH1F>("p_trkIPdz",";dz (from IP, mm);N_{entries}",150,0,50);
46 +    p_trknHits = aDir.make<TH1F>("p_trknHits",";n_{hits};N_{entries}",50,0,50);
47 +
48      p_caloCompatvsPt = aDir.make<TH2F>("p_caloCompatvsPt",";p_{T} (GeV);caloCompatibility",20,0,100,100,0,1);
49      p_segCompatvsPt = aDir.make<TH2F>("p_segCompatvsPt",";p_{T} (GeV);segmentCompatibility",20,0,100,100,0,1);
50      p_nChambersvsPt = aDir.make<TH2F>("p_nChambersvsPt",";p_{T} (GeV);N_{chambers}",20,0,100,50,0,50);
# Line 164 | Line 169 | namespace HbbAnalysis {//namespace
169  
170            p_recoOverGen_vsEta[binEta]->Fill(aMuon.recoVars().pT/aMuon.genVars().pT);
171            p_recoOverGen_vsPt[binpt]->Fill(aMuon.recoVars().pT/aMuon.genVars().pT);
172 +          p_recoOverGen->Fill(aMuon.recoVars().pT/aMuon.genVars().pT);
173          }
174      
175          p_caloCompat->Fill(aMuon.idVars().caloCompat);
# Line 188 | Line 194 | namespace HbbAnalysis {//namespace
194          p_muonTypevsPt->Fill(aMuon.recoVars().pT,aMuon.idVars().type);
195          p_muonTypevsEta->Fill(aMuon.recoVars().eta,aMuon.idVars().type);
196          
197 +        p_trkIPd0->Fill(aMuon.trkVars().IPd0);
198 +        p_trkIPdz->Fill(aMuon.trkVars().IPdz);
199 +        p_trknHits->Fill(aMuon.trkVars().nHits);
200  
201          for (unsigned int id(0); id<idEff_.numberOfBins(); id++){
202            idEff_.incrementTotal(id);
# Line 208 | Line 217 | namespace HbbAnalysis {//namespace
217  
218            for (unsigned iIds(0); iIds<aMuon.idVars().ids.size(); iIds++){
219              unsigned short lValue = aMuon.idVars().ids.at(iIds);
220 <            assert(lValue < 15);
220 >            assert(lValue < 24);
221              if (ieta == 0) {
222                p_muonID->Fill(lValue);
223                p_muonIDvsPt->Fill(aMuon.recoVars().pT,lValue);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines