10 |
|
|
11 |
int CaloNotIntCut::Check(PamLevel2 *event) { |
int CaloNotIntCut::Check(PamLevel2 *event) { |
12 |
|
|
13 |
|
#ifndef NO_CALOAXIS |
14 |
if ( (!(_xCaloAxis) || !(_yCaloAxis)) && !(_pamTrack) ) { // check that one of the two possible initializations has been correctly done |
if ( (!(_xCaloAxis) || !(_yCaloAxis)) && !(_pamTrack) ) { // check that one of the two possible initializations has been correctly done |
15 |
return 0; |
return 0; |
16 |
} |
} |
17 |
|
#else |
18 |
|
if ( !(_pamTrack) ) { // check that the initialization has been correctly done |
19 |
|
return 0; |
20 |
|
} |
21 |
|
#endif /* NO_CALOAXIS */ |
22 |
|
|
23 |
|
#ifndef NO_CALOAXIS |
24 |
if (!(_pamTrack)) { // CALOAXIS track |
if (!(_pamTrack)) { // CALOAXIS track |
25 |
|
|
26 |
// energy released along the event axis in the calo / total energy release in the calo |
// energy released along the event axis in the calo / total energy release in the calo |
36 |
|
|
37 |
} |
} |
38 |
} |
} |
39 |
|
#endif /* NO_CALOAXIS */ |
40 |
|
|
41 |
if (_pamTrack) { // PAMELA track |
if (_pamTrack) { // PAMELA track |
42 |
|
|