]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGGA/PHOSTasks/PHOS_embedding/Readme
Cumulative update
[u/mrichter/AliRoot.git] / PWGGA / PHOSTasks / PHOS_embedding / Readme
1 These are tasks to perform PHOS embedding. Steps are following:
2 1. Steering macro Embeding.C reads list of data ESDs to embed and calculates number of events
3 2. Performs simulation of the same number of events, using enclosed Config.C 
4    (single pi0 per event with flat or Hagedorn spectrum)
5    then simulated signals are reconstructed clusters and converted to AOD
6    There are several special moments:
7    - no noise is added to digits in simulation (special setting in sim.C)
8    - all digits are copied to CaloCells (threshold is zero in cpecial RecoParams) 
9 3. Then class AliPHOSEmbedding is called
10    - read data ESDs, extract PHOS calocells, convert them to PHOSDigits
11    - run default reconstruction to avoid possible problems with different 
12      OCDBs used now and in official reconstruction. Apply final calibration if necessary
13    - merge digits with (re-calibrated if necessary) signal digits
14    - reconstruct digits with embedding signal (with final calibration if necessary)
15 4. As a result of all these procedures AliAODout file is produced with
16    - MC information about embedded pi0s
17    - standard CaloClosters, CaloCells with final calibration
18    - Embedded CaloClusters, embedded CaloCells with final calibration
19 5. Run analysis with
20    - AliAnalysisTaskPi0Efficiency: Signal (nominator in efficiency calculation) is any cluster with 
21      contribution from simulated pi0s. Only for cross-check, this appoach is not quite correct at high accupancy.
22    - AliAnalysisTaskPi0DiffEfficiency: correct approach, Signal (nominator in efficiency calculation) is
23      difference between Real inv. mass distribution after and before embedding.
24
25 Note that to perform MC simulation one needs either access to official OCDB (Why do I need TPC drift velocity to simulate PHOS????)
26 or local copy of OCDB. Also histograms with new/old calibrations should be provided if necessary.
27