ATLFAST CORRECTORS VERSION 15.6.1.2 FOR 10TEV

Efficiencies and Contaminations

I have produced a revised set of efficiencies and contaminations for e, gamma and jets using athena version 15.6.1.2. Here I will present the new efficiencies and investigate the cause of efficiencies and contaminations changes. I will start by giving details on how to produce the efficiencies and contaminations.

Producing Efficiencies and Contaminations

Checking Out And Setting Up AnalysisSkeleton.py

Before we can produce the efficiencies and contaminations we must check out the effmisid package. Once you have set up CMT and CVS we can checkout effmisid package (consult logfile ATLFAST-EFF-CON.txt for a quick guide on how to do this).

When checking out effmisid remember to make a new directory to check effmisid into.

Once effmisid is checked out you will find the following files.

  • Analysis2.cxx
  • Analysis2.h
  • AnalysisSkeleton.cxx
  • AnalysisSkeleton.h
  • mytry.C
  • mytry_eta.C
  • AnalysisSkeleton_jobOptions.py

I will describe briefly the purpose of the files. Analysis2.cxx and Analysis2.h create histograms of the ntuples from the truth and reconstructed containers. mytry.C and mytry_eta.C plot the efficiencies and contaminations from the histograms. mytry.C and mytry_eta.C also produces the .dat files that are used in AtlfastC.

AnalysisSkeleton.cxx and AnalysisSkeleton.h are responsible for making the ntuple from a AOD dataset (e.g. Z->ee). You must copy these two files to src and UserAnalysis directories in the athena PhysicsAnalysis package you set up. Once These files are copied, compile CMT by using

CMT bro gmake

. We are now ready to run athena with our new AnalysisSkeleton. First, we must copy AnalysisSkeleton_jobOptions.py to our run directory.

  • IMPORTANT- You will have to included a bug fix in the AnalysisSkeleton_jobOptions.py, as the container name for Tower jets has change in version 15 from version 14. The line of code that you have to insert is shown below.

import JetRec.ParticleJetCompatibility

We can now run over a sample and start to produce efficiencies. I have included a logfile below that outlines the steps for producing efficiencies.

Electron Efficiencies and Contaminations using a Z->ee dataset

The efficiencies presented here are produced using version 15.6.1.2 of athena. I will compare these efficiencies with version 14.5.0 efficiencies produced by Catherine Wright and version 15 efficiencies from the e/gamma group.

Loose Electrons

Fig 1.1 Fig 1.2 Fig 1.3 Fig 1.4

Fig1.5 Fig 1.6 Fig1.7 Fig1.8

Medium Electrons

Fig2.1 Fig2.2 Fig2.3 Fig2.4 Fig2.5

Fig2.6 Fig2.7 Fig2.8

Tight Electrons

Fig3.1 Fig3.2 Fig3.3 Fig3.4 Fig3.5

Fig3.6 Fig3.7 Fig3.8

Electron Efficiencies and Contaminations using a ttbar dataset

Loose Electrons

Fig4.1 Fig4.2 Fig4.3 Fig4.4 Fig4.5

Fig4.6 Fig4.7 Fig4.8

Medium Electrons

Fig5.1 Fig5.2 Fig5.3 Fig5.4 Fig5.5

Fig5.6 Fig5.7 Fig5.8

Tight Electrons

Fig6.1 Fig6.2 Fig6.3 Fig6.4 Fig6.5

Fig6.6 Fig6.7 Fig6.8

Photon Efficiencies and Contaminations using a H->gamgam dataset

Photon Efficiency
Fig7.1 Fig7.2

Photon to Electron Contamination

Fig8.1 Fig8.2 Fig8.3 Fig8.4 Fig8.5

Fig8.6

Photon to C4 Jet Contamination

Fig9.1 Fig9.2

Photon to Muid Muon Contamination

Fig10.1 Fig10.2

C4 Jet Efficiencies and Contaminations using JetJet datasets

Timing Study

A timing Study for Atlfast and AtlfastC was carried out in Version 14.5.0 and Version 15.6.1.2. The samples used in this study where ttbar and Z->ee EVGEN samples. The EVGEN datasets where then put into POOLtoAtlfasttoAOD.py job option that produces an Atlfast AOD. With the AOD we create a corrected AOD using AtlfastC_AODtoAOD.py job option, resulting in an AOD with applied efficiencies to replicate the full simulation AODs.

It must also be noted that we can use the PythiatoAtlfasttoAOD.py job option to produce an Atlfast AOD.

Running POOLtoAtlfasttoAOD.py

I will now discuss the steps that where taken to produce an Atlfast AOD (I have included a Logfile below).

Changes to POOLtoAtlfasttoAOD.py

  • Remember only EVGEN datasets can be read into POOLtoAtlfasttoAOD.py.

  • Input dataset to Atlfast_ReadPOOLFile.py, which is located in POOLtoAtlfasttoAOD.py (need to get_file Atlfast_ReadPOOLFile.py)

  • Add ChronoStat service at the end of POOLtoAtlfasttoAOD.py (This outputs the running time of Atlfast and all the Algorithms used).

# Use auditors
theApp.Dlls += [ "GaudiAud" ]
#
# write out a summary of the time spent
# write out a short message upon entering or leaving each algorithm
#
theAuditorSvc.Auditors  += [ "NameAuditor" ]
ChronoStatSvc = Service ( "ChronoStatSvc")
#ChronoStatSvc.NumberOfSkippedEventsForMemStat = 50
theAuditorSvc.Auditors  += [ "MemStatAuditor" ]
MemStatAuditor = theAuditorSvc.auditor( "MemStatAuditor" )
theApp.AuditAlgorithms=True 
MemStatAuditor.OutputLevel = INFO
#theApp.AuditServices=True

Running AtlfastC_AODtoAOD.py

I will now discuss the steps that where taken to produce an AtlfastC AOD (I have included a Logfile below).

Changes to AtlfastC_AODtoAOD.py

  • Edit the input of AtlfastC_AODtoAOD.py to the output of POOLtoAtlfasttoAOD.py.

Timing Table

Results of the Timing Study

Version   |  Sample   |  ATLFAST  |  ATLFASTC  | ATLFASTC(All ALG EFF ON)
------------------------------------------------------------------------
14.5.0        Z->ee
15.6.1.2      Z->ee
         
14.5.0        ttbar
15.6.1.2      ttbar

Timing Samples

Information on the EVGEN and AOD datasets.

AMI Z->ee

AMI ttbar

Location of EVGEN datasets

  • Z->ee

/data/atlas07/mwright/V14-Zee-EVGEN-MIKE/

  • ttbar

/data/atlas04/mwright/ATLFAST/ttSamples/

Location of Atlfast AODS

  • Z->ee

/data/atlas07/mwright/ATLFAST/Timings/Zee/AtlFast/

  • ttbar

/data/atlas04/mwright/ATLFAST/ttSamples/ttAtlfastOutput

Running AtlFast And AtlFastC Logfiles

PrintOut

Loose Electrons

Fig 1.1 Fig 1.2 Fig 1.3 Fig 1.4

Fig1.5 Fig 1.6 Fig1.7 Fig1.8

Medium Electrons

Fig2.1 Fig2.2 Fig2.3 Fig2.4 Fig2.5

Fig2.6 Fig2.7 Fig2.8

Tight Electrons

Fig3.1 Fig3.2 Fig3.3 Fig3.4 Fig3.5

Fig3.6 Fig3.7 Fig3.8

Electron Efficiencies and Contaminations using a ttbar dataset

Loose Electrons

Fig4.1 Fig4.2 Fig4.3 Fig4.4 Fig4.5

Fig4.6 Fig4.7 Fig4.8

Medium Electrons

Fig5.1 Fig5.2 Fig5.3 Fig5.4 Fig5.5

Fig5.6 Fig5.7 Fig5.8

Tight Electrons

Fig6.1 Fig6.2 Fig6.3 Fig6.4 Fig6.5

Fig6.6 Fig6.7 Fig6.8

Photon Efficiencies and Contaminations using a H->gamgam dataset

Photon Efficiency
Fig7.1 Fig7.2

Photon to Electron Contamination

Fig8.1 Fig8.2 Fig8.3 Fig8.4 Fig8.5

Fig8.6

Photon to C4 Jet Contamination

Fig9.1 Fig9.2

Photon to Muid Muon Contamination

Fig10.1 Fig10.2

-- MichaelWright - 2010-03-03

Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatC ALLOutputCanvasEtaALL_electron_electron.C r1 manage 11.2 K 2010-03-08 - 16:47 MichaelWright LooseElecEffEta
JPEGjpg LooseElecElec.jpg r2 r1 manage 17.7 K 2010-03-18 - 16:18 MichaelWright  
JPEGjpg LooseElecElecEta.jpg r2 r1 manage 15.3 K 2010-03-18 - 16:18 MichaelWright  
JPEGjpg LooseElecElecEtattbarZee.jpg r1 manage 15.2 K 2010-03-18 - 16:46 MichaelWright  
JPEGjpg LooseElecElecZeettsample.jpg r1 manage 17.5 K 2010-03-18 - 16:46 MichaelWright  
JPEGjpg LooseElecJet.jpg r2 r1 manage 15.9 K 2010-03-18 - 16:18 MichaelWright  
JPEGjpg LooseElecJetEta.jpg r2 r1 manage 12.8 K 2010-03-18 - 16:18 MichaelWright  
JPEGjpg LooseElecJetEtattbarZee.jpg r1 manage 12.3 K 2010-03-18 - 16:55 MichaelWright  
JPEGjpg LooseElecJetttbarZee.jpg r1 manage 15.6 K 2010-03-18 - 16:55 MichaelWright  
JPEGjpg LooseElecMuidMuon.jpg r2 r1 manage 15.7 K 2010-03-18 - 16:19 MichaelWright  
JPEGjpg LooseElecMuidMuonEta.jpg r2 r1 manage 12.4 K 2010-03-18 - 16:19 MichaelWright  
JPEGjpg LooseElecMuidMuonEtaZeettbar.jpg r1 manage 12.0 K 2010-03-18 - 17:01 MichaelWright  
JPEGjpg LooseElecMuidMuonttbarZee.jpg r1 manage 15.3 K 2010-03-18 - 17:01 MichaelWright  
JPEGjpg LooseElecPhoEta.jpg r2 r1 manage 14.1 K 2010-03-18 - 16:19 MichaelWright  
JPEGjpg LooseElecPhoEtaZeettbar.jpg r1 manage 12.8 K 2010-03-18 - 16:49 MichaelWright  
JPEGjpg LooseElecPhoton.jpg r2 r1 manage 14.5 K 2010-03-18 - 16:19 MichaelWright  
JPEGjpg LooseElecPhotonZeettsamples.jpg r1 manage 13.7 K 2010-03-18 - 16:49 MichaelWright  
JPEGjpg MedElecElec.jpg r2 r1 manage 18.2 K 2010-03-18 - 16:21 MichaelWright  
JPEGjpg MedElecElecEta.jpg r2 r1 manage 18.4 K 2010-03-18 - 16:21 MichaelWright  
JPEGjpg MedElecElecEtattbarZee.jpg r1 manage 18.0 K 2010-03-18 - 17:08 MichaelWright  
JPEGjpg MedElecElecttbarZee.jpg r1 manage 17.9 K 2010-03-18 - 17:08 MichaelWright  
JPEGjpg MediumElecJet.jpg r2 r1 manage 14.2 K 2010-03-18 - 16:21 MichaelWright  
JPEGjpg MediumElecJetEta.jpg r2 r1 manage 13.8 K 2010-03-18 - 16:21 MichaelWright  
JPEGjpg MediumElecJetEtattbarZee.jpg r1 manage 12.3 K 2010-03-18 - 17:08 MichaelWright  
JPEGjpg MediumElecJetttbarZee.jpg r1 manage 12.7 K 2010-03-18 - 17:09 MichaelWright  
JPEGjpg MediumElecMuidMuon.jpg r3 r2 r1 manage 11.9 K 2010-03-18 - 16:22 MichaelWright  
JPEGjpg MediumElecMuidMuonEta.jpg r2 r1 manage 12.1 K 2010-03-18 - 16:22 MichaelWright  
JPEGjpg MediumElecMuidMuonEtattbarZee.jpg r1 manage 11.9 K 2010-03-18 - 17:09 MichaelWright  
JPEGjpg MediumElecMuidMuonttbarZee.jpg r1 manage 15.0 K 2010-03-18 - 17:10 MichaelWright  
JPEGjpg MediumElecPho.jpg r2 r1 manage 13.5 K 2010-03-18 - 16:22 MichaelWright  
JPEGjpg MediumElecPhoEta.jpg r2 r1 manage 12.8 K 2010-03-18 - 16:22 MichaelWright  
JPEGjpg MediumElecPhoEtattbarZee.jpg r1 manage 12.8 K 2010-03-18 - 17:10 MichaelWright  
JPEGjpg MediumElecPhoZeettbar.jpg r1 manage 12.1 K 2010-03-18 - 17:10 MichaelWright  
JPEGjpg PhoJet.jpg r2 r1 manage 16.8 K 2010-03-18 - 16:16 MichaelWright  
JPEGjpg PhoJetEta.jpg r2 r1 manage 16.6 K 2010-03-18 - 16:16 MichaelWright  
JPEGjpg PhoLooseElec.jpg r2 r1 manage 19.4 K 2010-03-18 - 16:14 MichaelWright  
JPEGjpg PhoLooseElecEta.jpg r4 r3 r2 r1 manage 16.1 K 2010-03-18 - 16:30 MichaelWright  
JPEGjpg PhoMediumElec.jpg r2 r1 manage 16.5 K 2010-03-18 - 16:15 MichaelWright  
JPEGjpg PhoMediumElecEta.jpg r2 r1 manage 12.9 K 2010-03-18 - 16:15 MichaelWright  
JPEGjpg PhoMuidMuon.jpg r2 r1 manage 15.7 K 2010-03-18 - 16:17 MichaelWright  
JPEGjpg PhoMuidMuonEta.jpg r2 r1 manage 12.3 K 2010-03-18 - 16:17 MichaelWright  
JPEGjpg PhoPho.jpg r2 r1 manage 20.5 K 2010-03-18 - 16:15 MichaelWright  
JPEGjpg PhoPhoEta.jpg r2 r1 manage 16.8 K 2010-03-18 - 16:15 MichaelWright  
JPEGjpg PhoTightElec.jpg r2 r1 manage 16.1 K 2010-03-18 - 16:16 MichaelWright  
JPEGjpg PhoTightElecEta.jpg r2 r1 manage 12.7 K 2010-03-18 - 16:16 MichaelWright  
JPEGjpg TigElecElec.jpg r2 r1 manage 19.1 K 2010-03-18 - 16:23 MichaelWright  
JPEGjpg TigElecElecEta.jpg r5 r4 r3 r2 r1 manage 15.9 K 2010-03-18 - 17:30 MichaelWright  
JPEGjpg TigElecElecEtattbarZee.jpg r1 manage 16.1 K 2010-03-18 - 17:35 MichaelWright  
JPEGjpg TigElecElecttbarZee.jpg r1 manage 18.8 K 2010-03-18 - 17:35 MichaelWright  
JPEGjpg TigElecJet.jpg r2 r1 manage 17.3 K 2010-03-18 - 16:23 MichaelWright  
JPEGjpg TigElecJetttbarZee.jpg r1 manage 15.6 K 2010-03-18 - 17:35 MichaelWright  
JPEGjpg TigElecMuidMuon.jpg r2 r1 manage 10.6 K 2010-03-18 - 16:25 MichaelWright  
JPEGjpg TigElecMuidMuonttbarZee.jpg r1 manage 10.7 K 2010-03-18 - 17:36 MichaelWright  
JPEGjpg TigElecPho.jpg r2 r1 manage 16.4 K 2010-03-18 - 16:25 MichaelWright  
JPEGjpg TigElecPhottbarZee.jpg r1 manage 15.0 K 2010-03-18 - 17:36 MichaelWright  
JPEGjpg TightElecJetEta.jpg r2 r1 manage 14.2 K 2010-03-18 - 16:23 MichaelWright  
JPEGjpg TightElecJetEtattbarZee.jpg r1 manage 12.3 K 2010-03-18 - 17:35 MichaelWright  
JPEGjpg TightElecMuidMuonEta.jpg r2 r1 manage 12.0 K 2010-03-18 - 16:24 MichaelWright  
JPEGjpg TightElecMuidMuonEtattbarZee.jpg r1 manage 11.9 K 2010-03-18 - 17:36 MichaelWright  
JPEGjpg TightElecPhoEta.jpg r2 r1 manage 14.4 K 2010-03-18 - 16:25 MichaelWright  
JPEGjpg TightElecPhoEtattbarZee.jpg r1 manage 12.8 K 2010-03-18 - 17:36 MichaelWright  
Edit | Attach | Print version | History: r25 | r15 < r14 < r13 < r12 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r13 - 2010-03-22 - MichaelWright
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback