/[PAMELA software]/PamCut/CaloCuts/CaloNotIntCut/CaloNotIntCut.cpp
ViewVC logotype

Diff of /PamCut/CaloCuts/CaloNotIntCut/CaloNotIntCut.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by pam-fi, Tue Nov 24 14:42:31 2009 UTC revision 1.5 by pam-fi, Thu Jul 8 14:00:29 2010 UTC
# Line 10  Line 10 
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
# Line 29  int CaloNotIntCut::Check(PamLevel2 *even Line 36  int CaloNotIntCut::Check(PamLevel2 *even
36        
37      }      }
38    }    }
39    #endif /* NO_CALOAXIS */
40        
41    if (_pamTrack) { // PAMELA track    if (_pamTrack) { // PAMELA track
42    

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23