View Javadoc

1   package org.lcsim.lcio;
2   
3   /**
4    *
5    * @author tonyj
6    */
7   public interface LCIOConstants
8   {
9      //int MAJORVERSION = 1;
10     //int MINORVERSION = 60;
11     int MAJORVERSION = 2;
12     int MINORVERSION = 0;
13      
14     // bits in flag words
15     // SimCalorimeterHit (CH)
16     int CHBIT_LONG = 31;
17     
18     // long(1) - short(0) , incl./excl. position
19     int CHBIT_BARREL = 30;
20     
21     // barrel(1) - endcap(0)
22     int CHBIT_ID1 = 29;
23     
24     // cellid1 stored
25     int CHBIT_PDG = 28; // deprecated
26     
27     int CHBIT_STEP = 28;
28     
29     int RCHBIT_LONG = 31;
30     
31     // store energy error
32     int RCHBIT_ENERGY_ERROR = 26;
33  
34     // long(1) - short(0) , incl./excl. position
35     int RCHBIT_BARREL = 30;
36  
37     // barrel(1) - endcap(0) 
38     int RCHBIT_ID1 = 29;
39  
40     // cellid1 stored
41     int RCHBIT_NO_PTR = 28;
42  
43     // 1: pointer tag not added
44     int RCHBIT_TIME = 27;
45     
46     // 1: time information stored
47     // SimTrackerHit
48     int THBIT_BARREL = 31;
49     
50     // barrel(1) - endcap(0)   
51     int THBIT_MOMENTUM = 30 ; 
52     
53     // CellID1 stored for SimTrackerHit and TrackerHit.
54     int THBIT_ID1 = 29;
55  
56     // momentum of particle stored(1) - not stored(0)
57     // Tracks
58     int TRBIT_HITS = 31;
59     
60     // hits stored(1) - not stored(0)
61     // Cluster
62     int CLBIT_HITS = 31;
63     
64     // hits stored(1) - not stored(0)
65     // TPCHit
66     int TPCBIT_RAW = 31;
67     
68     // raw data stored(1) - not stored(0)
69     int TPCBIT_NO_PTR = 30;
70     
71     //  cellid1 stored
72     int TRAWBIT_ID1 = 31;
73     
74     // SimTrackerHit references stored (1) - not stored (0).
75     // FIXME: Non-standard LCIO constant.  Needs to be propagated to lcio standalone project.
76     //int RTHBIT_HITS = 27;
77     
78     // 1: pointer tag not added (needed for TrackerHit)
79     // LCRelation
80     //  public const int LCREL_ONE2MANY = 31 ; // relation is one to many
81     int LCREL_WEIGHTED = 31;
82     
83     // relations has weights
84     // LCGenericObject
85     int GOBIT_FIXED = 31;
86     
87     int BITTransient = 16 ;
88     int BITDefault   = 17 ;
89     int BITSubset    = 18 ;
90     
91     String runRecordName = "LCRunHeader";
92     String runBlockName = "RunHeader";
93     String eventRecordName = "LCEvent";
94     String eventBlockName = "Event";
95     String eventHeaderRecordName = "LCEventHeader";
96     String eventHeaderBlockName = "EventHeader";
97     
98     String references = "_References";
99  }