Difference: OliverGutscheElsChargeMisidentificationStudies22XWrapUp (1 vs. 3)

Revision 318 Jul 2009 - Main.OliverGutsche

Line: 1 to 1
 
META TOPICPARENT name="OliverGutsche"
Line: 29 to 29
 

Code

Added:
>
>
  • important: all previous studies in 22X used an electron isolation without the ecal and hcal components, now fixed
  Show code  Hide code 
<--/twistyPlugin twikiMakeVisibleInline-->
    //Event Loop
    unsigned int nEvents = tree->GetEntries();
Line: 69 to 71
  if ( els_p4()[els].pt() < 10. ) continue;

// if ( goodElectronWithoutIsolation(els) ) continue;

Changed:
<
<
if ( goodElectronIsolated(els) ) continue;
>
>
if ( goodElectronIsolated(els,true) ) continue;
  if ( conversionElectron(els) ) continue; // Yanjun's conversion removal // if ( conversionElectron_PIXHIT(els) ) continue;
Line: 128 to 130
 
comment reco efficiency [%] barrel reco efficiency [%] forward reco efficiency [%] charge misidentification rate [%] barrel charge misidentification rate [%] forward charge misidentification rate [%]
no cuts 94.130 96.291 89.967 2.555 0.884 4.983
goodElectronWithoutIsolation 87.945 91.939 81.107 1.999 0.725 3.962
Changed:
<
<
goodElectronIsolated 87.514 91.842 80.240 1.870 0.704 3.690
goodElectronIsolated + ConversionVeto (Puneeth) 86.123 91.558 77.424 1.568 0.665 3.041
goodElectronIsolated + ConversionVeto (Puneeth+Yanjun) 85.853 91.558 76.812 1.563 0.665 3.041
goodElectronIsolated + ConversionVeto (Puneeth) + Veto electrons which don't agree with assoc. track charge 84.295 90.828 74.117 0.424 0.138 0.912
>
>
goodElectronIsolated 82.494 87.380 74.260 1.827 0.707 3.634
goodElectronIsolated + ConversionVeto (Puneeth) 81.323 87.132 71.903 1.554 0.671 3.039
goodElectronIsolated + ConversionVeto (Puneeth+Yanjun) 81.077 87.132 71.344 1.550 0.671 3.041
goodElectronIsolated + ConversionVeto (Puneeth) + Veto electrons which don't agree with assoc. track charge 79.643 86.434 68.898 0.414 0.138 0.901
  * chosen operation point: goodElectronIsolated + ConversionVeto (Puneeth) + Veto electrons which don't agree with assoc. track charge
Line: 143 to 145
 

Different samples

Sample reco efficiency [%] barrel reco efficiency [%] forward reco efficiency [%] charge misidentification rate [%] barrel charge misidentification rate [%] forward charge misidentification rate [%]
Changed:
<
<
SingleElectrons 84.295 90.828 74.117 0.424 0.138 0.912
WZ 85.776 90.689 65.651 0.270 0.147 0.668
WW 88.738 93.059 78.342 0.302 0.067 0.848
ZZ 84.298 88.795 67.418 0.168 0.072 0.463
W+Jets 86.275 92.216 74.454 0.279 0.090 0.654
Z+Jets 85.766 90.059 75.808 0.241 0.090 0.601
TT+Jets 86.722 89.976 70.255 0.194 0.093 0.761
tW 88.158 90.959 74.319 0.165 0.091 0.702
>
>
SingleElectrons 79.643 86.434 68.898 0.414 0.138 0.901
WZ 64.361 73.444 50.295 0.295 0.181 0.682
WW 68.069 74.263 58.649 0.211 0.063 0.640
ZZ 63.110 70.772 49.774 0.155 0.064 0.488
W+Jets 66.892 74.008 56.144 0.274 0.084 0.681
Z+Jets 69.771 75.245 58.780 0.213 0.089 0.535
TT+Jets 61.578 66.503 47.559 0.187 0.088 0.799
tW 67.245 72.534 53.947 0.108 0.085 0.547
 

WZ

Revision 214 Jul 2009 - Main.OliverGutsche

Line: 1 to 1
 
META TOPICPARENT name="OliverGutsche"
Added:
>
>

Studies of Electron Charge Misidentification Rate in 22X: Wrap Up

Sample(s)

  • primary study:
    • full statistics of /RelValSingleElectronFlatPt5To100/CMSSW_2_2_7_IDEAL_V12_v1/GEN-SIM-RECO
      • 1 Million electron particle gun events, abs(η) < 2.4 , 5 < pT < 100 GeV
      • each event contains particle gun particle and its anti-particle with opposite kinematics
  • physics samples:
    • WZ: WZ_incl_Summer08_IDEAL_V11_redigi_v1
    • WW: WW_Summer08_IDEAL_V11_redigi_v1
    • ZZ: ZZ_Summer08_IDEAL_V11_redigi_v1
    • W+Jets:WJets-madgraph_Summer08_IDEAL_V11_redigi_v1
    • Dyee, DYmm, DYtt: ZJets-madgraph_Summer08_IDEAL_V11_redigi_v1
    • Ttbar: TTJets-madgraph_Fall08_IDEAL_V11_redigi_v10
    • Tw: SingleTop_tWChannel_Summer08_IDEAL_V11_redigi_v3

Basic selection

  • true:
    • genps particle with genps_id == +-11
    • pT >= 10 GeV
  • reco:
    • els_p4 pT >= 10 GeV

Code

Show code  Hide code 

<--/twistyPlugin twikiMakeVisibleInline-->
    //Event Loop
    unsigned int nEvents = tree->GetEntries();
    // nEvents = 100;
    for( unsigned int event = 0; event < nEvents; ++event) {
      cms2.GetEntry(event);
      ++nEventsTotal;
      
      if ( nEventsTotal%10000 == 0 ) {
   std::cout << "Event: " << nEventsTotal << endl;
      }

      // loop over true electrons
      for ( unsigned int els = 0;
       els < genps_p4().size();
       ++els ) {

   // check for true electron
   if ( TMath::Abs(genps_id()[els]) != 11 ) continue;

   // check for pT >= 10 GeV
   if ( genps_p4()[els].pt() < 10. ) continue;

   // fill true histrograms
   els_pt_sim->Fill(genps_p4()[els].pt());
   els_eta_sim->Fill(genps_p4()[els].eta());

      }

      // loop over reco electrons
      for (unsigned int els = 0; 
           els < els_p4().size(); 
      ++els) {

   // cuts

   // check for pT >= 10 GeV
   if ( els_p4()[els].pt() < 10. ) continue;

//    if ( !goodElectronWithoutIsolation(els) ) continue;
   if ( !goodElectronIsolated(els) ) continue;
   if ( conversionElectron(els) ) continue;
   // Yanjun's conversion removal
//    if ( conversionElectron_PIXHIT(els) ) continue;

   // check how many electrons don't have an associated track
   els_trkId->Fill(els_trkidx().at(els));

   // tmp charge variable
   double charge = els_charge().at(els);

   // if electron has associated track and track charge is not equal to electron charge, veto
    int trk = els_trkidx().at(els);
   if ( (trk >= 0) && (charge != trks_charge().at(trk)) ) {
     continue;
   }

   // exclude reco electron which is not a true electron
   if ( abs(els_mc_id()[els]) != 11 ) continue;

   // fill reco
   els_pt_reco->Fill(els_p4().at(els).Pt());
   els_eta_reco->Fill(els_p4().at(els).eta());

   // fill reco_corCharge
   if ( (charge == -1 && els_mc_id().at(els) == 11) || (charge == 1 && els_mc_id().at(els) == -11) ) {
     els_pt_reco_corCharge->Fill(els_p4().at(els).Pt());
     els_eta_reco_corCharge->Fill(els_p4().at(els).eta());
   }

   // fill recosim
   els_pt_recosim->Fill(els_mc_p4().at(els).Pt());
   els_eta_recosim->Fill(els_mc_p4().at(els).eta());

   // correct charge identified
   if ( (charge == -1 && els_mc_id().at(els) == 11) || (charge == 1 && els_mc_id().at(els) == -11) ) {

     els_pt_recosim_corCharge->Fill(els_mc_p4().at(els).Pt());
     els_eta_recosim_corCharge->Fill(els_mc_p4().at(els).eta());

     // incorrect charge identified
   } else {

     els_pt_recosim_incorCharge->Fill(els_mc_p4().at(els).Pt());
     els_eta_recosim_incorCharge->Fill(els_mc_p4().at(els).eta());
   }

      }
      
    }
    
  }
<--/twistyPlugin-->

Single Electron studies

 
comment reco efficiency [%] barrel reco efficiency [%] forward reco efficiency [%] charge misidentification rate [%] barrel charge misidentification rate [%] forward charge misidentification rate [%]
Deleted:
<
<
  2.69 88.5 72.1 0.413 0.134 0.89
 \ No newline at end of file
Added:
>
>
no cuts 94.130 96.291 89.967 2.555 0.884 4.983
goodElectronWithoutIsolation 87.945 91.939 81.107 1.999 0.725 3.962
goodElectronIsolated 87.514 91.842 80.240 1.870 0.704 3.690
goodElectronIsolated + ConversionVeto (Puneeth) 86.123 91.558 77.424 1.568 0.665 3.041
goodElectronIsolated + ConversionVeto (Puneeth+Yanjun) 85.853 91.558 76.812 1.563 0.665 3.041
goodElectronIsolated + ConversionVeto (Puneeth) + Veto electrons which don't agree with assoc. track charge 84.295 90.828 74.117 0.424 0.138 0.912

* chosen operation point: goodElectronIsolated + ConversionVeto (Puneeth) + Veto electrons which don't agree with assoc. track charge


Different samples

Sample reco efficiency [%] barrel reco efficiency [%] forward reco efficiency [%] charge misidentification rate [%] barrel charge misidentification rate [%] forward charge misidentification rate [%]
SingleElectrons 84.295 90.828 74.117 0.424 0.138 0.912
WZ 85.776 90.689 65.651 0.270 0.147 0.668
WW 88.738 93.059 78.342 0.302 0.067 0.848
ZZ 84.298 88.795 67.418 0.168 0.072 0.463
W+Jets 86.275 92.216 74.454 0.279 0.090 0.654
Z+Jets 85.766 90.059 75.808 0.241 0.090 0.601
TT+Jets 86.722 89.976 70.255 0.194 0.093 0.761
tW 88.158 90.959 74.319 0.165 0.091 0.702

WZ

WZ/RecoEfficiencyPt WZ/ChargeMisIdRatePt
WZ/RecoEfficiencyEta WZ/ChargeMisIdRateEta

WW

WW/RecoEfficiencyPt WW/ChargeMisIdRatePt
WW/RecoEfficiencyEta WW/ChargeMisIdRateEta

ZZ

ZZ/RecoEfficiencyPt ZZ/ChargeMisIdRatePt
ZZ/RecoEfficiencyEta ZZ/ChargeMisIdRateEta

W+Jets

WJets/RecoEfficiencyPt WJets/ChargeMisIdRatePt
WJets/RecoEfficiencyEta WJets/ChargeMisIdRateEta

Z+Jets

ZJets/RecoEfficiencyPt ZJets/ChargeMisIdRatePt
ZJets/RecoEfficiencyEta ZJets/ChargeMisIdRateEta

TT+Jets

TTJets/RecoEfficiencyPt TTJets/ChargeMisIdRatePt
TTJets/RecoEfficiencyEta TTJets/ChargeMisIdRateEta

tW

tW/RecoEfficiencyPt tW/ChargeMisIdRatePt
tW/RecoEfficiencyEta tW/ChargeMisIdRateEta

Revision 114 Jul 2009 - Main.OliverGutsche

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="OliverGutsche"
comment reco efficiency [%] barrel reco efficiency [%] forward reco efficiency [%] charge misidentification rate [%] barrel charge misidentification rate [%] forward charge misidentification rate [%]
  2.69 88.5 72.1 0.413 0.134 0.89
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback