# Difference: AlexeiPavlinovTB2011PublishPicts (1 vs. 2)

#### Revision 22011-01-21 - AlexeiPavlinov

Line: 1 to 1

 META TOPICPARENT name="AlexeiPavlinovTwikiTB"
>
>
-- AlexeiPavlinov - 21-Jan-2011

## Test beam "publish"(performance) plot - PS data.

To make progress with the energy scale and non-linearity we need to "publish" a few things from the test beam analysis, to be included in an EMCal analysis note. These are things which must be compared to MC, to be sure that we have the MC under control.
Line: 9 to 12

#### The number of cells per cluster at each momenta.

>
>

• pdf file: Presentation for EMCAL phone meeting at Jan 20,2011 by Alexei Pavlinov.
Deleted:
<
<
You can read the list of histograms with next peace of code:
Line: 26 to 29
TH1 *h = dynamic_cast(l->At(i)); // i is index of hist
>
>

#### Correction function - "measured" non-linearity function : ration Pbeam/Prec vs Prec,

relative resolution - 100.*(rms of Prec)/Prec vs Pbeam. Below is c-code for all numbers which you need for calculation of resolution and correction function.
```  // pIdeal - initial beam momenta
// p         - reconstruction value of beam momenta
// ep       - error of p
// res      - rms of p

double  pIdeal[np]=    {   0.5,   0.75,   1.0,  1.25,   1.5,   2.0,   3.0,   4.0,   5.0,    6.0};
double   p[np] =       {0.4509,  0.7223, 0.9894, 1.258, 1.518, 2.042, 3.061, 4.064, 5.05, 6.000};
double  ep[np] =       {0.0007,  0.001, 0.0012, 0.002, 0.002, 0.002, 0.002, 0.004, 0.01, 0.002};
double   res[np]     = { 17.36,  12.52,  10.21,  8.74, 8.30,  7.48,  5.98,  5.20,  5.20,  4.57};
double  eresStat[np] = {  0.14,   0.15,   0.12,  0.16, 0.10,  0.09,  0.07,  0.09,  0.11,  0.02};

```

• Correction function, threshold is 2 amp unit (~ 30 MeV):

Changed:
<
<
-- AlexeiPavlinov - 21-Jan-2011
>
>

• Resolution function

 META FILEATTACHMENT attachment="PS_th2_NcellsInCluster.root" attr="" comment="" date="1295640861" name="PS_th2_NcellsInCluster.root" path="PS_th2_NcellsInCluster.root" size="4942" stream="PS_th2_NcellsInCluster.root" tmpFilename="/usr/tmp/CGItemp13523" user="pavlinov" version="1"
>
>
 META FILEATTACHMENT attachment="LinVsPrecTh30MeV_NOV27.gif" attr="" comment="Correction function, threshold is 2 amp unit (~ 30 MeV)" date="1295645704" name="LinVsPrecTh30MeV_NOV27.gif" path="LinVsPrecTh30MeV_NOV27.gif" size="18943" stream="LinVsPrecTh30MeV_NOV27.gif" tmpFilename="/usr/tmp/CGItemp13542" user="pavlinov" version="1" attachment="ResVsPTh30MeV_NOV27.gif" attr="" comment="Resolution" date="1295647376" name="ResVsPTh30MeV_NOV27.gif" path="ResVsPTh30MeV_NOV27.gif" size="13679" stream="ResVsPTh30MeV_NOV27.gif" tmpFilename="/usr/tmp/CGItemp13550" user="pavlinov" version="1"

#### Revision 12011-01-21 - AlexeiPavlinov

Line: 1 to 1
>
>
 META TOPICPARENT name="AlexeiPavlinovTwikiTB"

## Test beam "publish"(performance) plot - PS data.

To make progress with the energy scale and non-linearity we need to "publish" a few things from the test beam analysis, to be included in an EMCal analysis note. These are things which must be compared to MC, to be sure that we have the MC under control. We have data for 10 values of beam momenta - 0.5, 0.75, 1, 1.25, 1.5, 2, 3, 4, 5 and 6 GeV.

### Cell threshold is 2 adc units (~30 MeV)

#### The number of cells per cluster at each momenta.

• pdf file: Presentation for EMCAL phone meeting at Jan 20,2011 by Alexei Pavlinov.

You can read the list of histograms with next peace of code:

```    TFile f("PS_th2_NcellsInCluster.root","READ");
TIter nextkey(f.GetListOfKeys());
int nKeys = f.GetListOfKeys()->GetSize();
printf("\t Keys %i \n", nKeys); // Should be one
TKey *key=(TKey*)nextkey(); // get first key (only one exist)
TList *l = dynamic_cast<TList *>(obj);
TH1 *h = dynamic_cast<TH1 *>(l->At(i));  // i is index of hist
```

-- AlexeiPavlinov - 21-Jan-2011

 META FILEATTACHMENT attachment="PS_th2_NcellsInCluster.root" attr="" comment="" date="1295640861" name="PS_th2_NcellsInCluster.root" path="PS_th2_NcellsInCluster.root" size="4942" stream="PS_th2_NcellsInCluster.root" tmpFilename="/usr/tmp/CGItemp13523" user="pavlinov" version="1"

Copyright &© 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback