| 1 | Amit asked me to write down the basic notes of the tutorial on creating a spectrum which I gave him few days ago. As I thought it might be useful for other people as well, I decided to put it in the trac. |
| 2 | However please keep in mind that this is far from being complete, might contain information that is valid only now and that it has not been checked for mistakes. |
| 3 | |
| 4 | == Ingredients == |
| 5 | |
| 6 | * energy-estimator |
| 7 | * ganymed-output for data |
| 8 | * ganymed-output for MC |
| 9 | * macro to calculate spectrum |
| 10 | |
| 11 | == Basic Steps and Rules == |
| 12 | |
| 13 | 1. Prepare ingredients |
| 14 | 1. **MAKE SURE** to |
| 15 | * use star files **produced the same way** for data and MC |
| 16 | * use the **same cuts** for data and MC |
| 17 | * use the **same disp parametrization** for data and MC |
| 18 | * use the **same energy estimator** for data and MC |
| 19 | 1. optimize energy parametrization |
| 20 | 1. run ganymed for data and MC |
| 21 | 1. run macro for spectrum |