*
* $Id: gpdhit.inc,v 3.7 2006/05/02 18:00:10 cafagna Exp $
*
* $Log: gpdhit.inc,v $
* Revision 3.7  2006/05/02 18:00:10  cafagna
* Bugs fixed in TOF set definition, TOF hit back to the original naming scheme
*
* Revision 3.6  2006/04/10 00:07:21  cafagna
* The P0 range in ND hit changed
*
* Revision 3.5  2006/04/09 23:28:55  cafagna
* Several new things, among this: ND and CARD
*
* Revision 3.4  2005/12/20 12:21:04  cafagna
* gpnd directory added along with ND files
*
* Revision 3.3  2005/06/21 02:42:09  cafagna
* Major modification to the geometry and to the random number chain
*
*     Revision 3.2 2003/12/17 11:32:49 pamela CALO SIMULATION COMPLETED:
*     geometry and special tracking parameters updated and simulation
*     checked by a comparison with the Trieste's standalone Monte Carlo
*     simulation
*
* Revision 3.1.1.1  2002/07/11 16:01:59  cafagna
* First GPAMELA release on CVS
*
*
*
* gpdhit.inc
*
*CMZ :  3.00/00 25/01/2002  16.54.40  by  Marialuigia Ambriola
*CMZ :  2.03/00 31/10/2000  09.49.36  by  Francesco Cafagna
*CMZ :  2.01/00 05/04/2000  14.35.17  by  Marialuigia Ambriola
*CMZ :  2.00/00 25/02/2000  19.00.48  by  Francesco Cafagna
*CMZ :  1.02/00 22/10/99  15.38.16  by  Francesco Cafagna
*CMZ :  1.00/02 04/04/96  15.41.47  by  Francesco Cafagna
*-- Author :    Francesco Cafagna   13/02/96
*
* Data block for GPHIT common
*
#if defined(GPAMELA_INTER)
* Interactive case. The average position inside the set has been stored
      DATA CHTOF/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
C ML:
C      DATA CHTRD/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
C     +           'EREL','PATH','IPAR','P0  '/
      DATA (CHTRD(I),I=1,12)/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +                        'EREL','PATH','IPAR','P0  ','ETR ','NTR '/
C END ML.
      DATA CHCAT/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHCAS/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHSPE/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +           'EREL','PATH','IPAR','P0  '/
      DATA CHND/ 'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHCARD/'XAVE','YAVE','ZAVE','XOUT','YOUT','ZOUT',
     +            'EREL','TIME','PATH','IPAR','P0  '/
#endif
#if !defined(GPAMELA_INTER)
      DATA CHTOF/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
C ML:
C      DATA CHTRD/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
C     +           'EREL','PATH','IPAR','P0  '/
      DATA (CHTRD(I),I=1,12)/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +           'EREL','PATH','IPAR','P0  ','ETR ','NTR '/
C END ML.
      DATA CHCAT/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHCAS/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHSPE/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +           'EREL','PATH','IPAR','P0  '/
C ML:
      DATA CHND/ 'XIN','YIN','ZIN','XOUT','YOUT','ZOUT',
     +           'EREL','TIME','PATH','IPAR','P0  '/
      DATA CHCARD/'XIN ','YIN ','ZIN ','XOUT','YOUT','ZOUT',
     +            'EREL','TIME','PATH','IPAR','P0  '/

C +SELF.
#endif
#if defined(GPAMELA_GARFIELD)
      DATA CHTRD(13),CHTRD(14)/'EGAR','NGAR'/
#endif
C END ML.
      DATA CHCAL/'XAVE','YAVE','ZAVE','EREL'/
      DATA CHCALI/'MAP ','ESTR'/
* No packing required for the last CAL hit to use the GSCHIT routine
      DATA NBHTOF/NHTOF*32/,NBHTRD/NHTRD*32/,
     +     NBHCAT/NHCAT*32/,NBHCAS/NHCAS*32/,NBHSPE/NHSPE*32/,
     +     NBHCAL/NHCAL*32/,NBHCALI/NHCALI*32/,NBHND/NHND*32/,
     +     NBHCARD/NHCARD*32/
* The coordinates have to be always positive. We need microns for XYZ and eV.
* Time is in second but we need psec.
      DATA OHTOF/6*100.,0.,0.,0.,0.,0./,
*ML:
*     +     FHTOF/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
     +     FHTOF/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
*END ML.
C ML:
C      DATA OHTRD/6*100.,0.,0.,0.,0./,
C     +     FHTRD/6*10000.,1.E12,10000.,1.,1.E3/
#if !defined(GPAMELA_GARFIELD)
      DATA OHTRD/6*100.,0.,0.,0.,0.,0.,0./,
     +     FHTRD/6*10000.,1.E12,10000.,1.,1.E7,1.E12,1./
#endif
#if defined(GPAMELA_GARFIELD)
      DATA OHTRD/6*100.,0.,0.,0.,0.,0.,0.,0.,0./,
     +     FHTRD/6*10000.,1.E12,10000.,1.,1.E7,1.E12,1.,1.E12,1./
#endif
C END ML.
      DATA OHCAT/6*100.,0.,0.,0.,0.,0./,
     +     FHCAT/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
      DATA OHCAS/6*100.,0.,0.,0.,0.,0./,
     +     FHCAS/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
      DATA OHCARD/6*100.,0.,0.,0.,0.,0./,
     +     FHCARD/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
      DATA OHSPE/6*100.,0.,0.,0.,0./,
     +     FHSPE/6*10000.,1.E9,10000.,1.,1.E3/
*EM:
*ml: 21/03/2003:
c       DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/
cml      DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E5/
c      DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/
      DATA OHCAL/3*100.,0./,FHCAL/3*10000.,1.E9/
      DATA OHCALI/0.,0./,FHCALI/1.,1.E9/
*end ml.
*END EM.
      DATA OHND/6*100.,0.,0.,0.,0.,0./,
     +     FHND/6*10000.,1.E9,1.E12,10000.,1.,1.E3/
