TWiki> ATLAS Web>AtlfastCorrectors10TevV15 (revision 4)EditAttach


Efficiencies and Contaminations

I have produced a revised set of efficiencies and contaminations for e, gamma and jets using athena version 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
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

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 to our run directory.

  • IMPORTANT- You will have to included a bug fix in the, 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

Timing Study

A timing Study for Atlfast and AtlfastC was carried out in Version 14.5.0 and Version The samples used in this study where ttbar and Z->ee EVGEN samples. The EVGEN datasets where then put into job option that produces an Atlfast AOD. With the AOD we create a corrected AOD using 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 job option to produce an Atlfast AOD.


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

Changes to

  • Remember only EVGEN datasets can be read into

  • Input dataset to, which is located in (need to get_file

  • Add ChronoStat service at the end of (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" )
MemStatAuditor.OutputLevel = INFO


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

Changes to

Timing Table

Results of the Timing Study

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

Timing Samples

Information on the datasets and AODs.

AMI Z->ee

  • [[][mc08.106050.PythiaZee_1Lepton.evgen.EVNT.e347_tid039177]]

AMI ttbar

  • [[][mc08.105206.AcerMCttbarHerwig.evgen.EVNT.e429_tid071788]]

Location of EVGEN datasets

  • Z->ee

  • ttbar

Location of Atlfast AODS

  • Z->ee

  • ttbar


-- MichaelWright - 2010-03-03

Edit | Attach | Watch | Print version | History: r25 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2010-03-04 - MichaelWright
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback