4// Suffix on literals need to be space (later gcc compiler makes it an error) - first wave of fixes
5//
6// Revision 1.26 2007/07/12 20:10:35 fisyak
7// Add forward declaration for ROOT 5.16
8//
9// Revision 1.25 2005/07/23 03:37:34 perev
10// IdTruth + Cleanup
11//
12// Revision 1.24 2004/03/18 04:05:02 caines
13// Remove from global scope variables used in debug mode as they shouldnt be there and caused erratic behaviour, also initialise some variables that valgrind was complaining about - didnt really need to as they are sent back from function which initialises them properly always but doesnt hurt
14//
15// Revision 1.23 2003/09/10 19:47:36 perev
16// ansi corrs
17//
18// Revision 1.22 2003/09/02 17:59:08 perev
19// gcc 3.2 updates + WarnOff
20//
21// Revision 1.21 2003/07/18 17:15:40 caines
22// Fix Pedoffset to be 20 not 10 change variables to int from floats to avoid casting problems, fix that when pedestal goes negative we dont
23//
24// Revision 1.20 2003/01/21 01:27:44 jeromel
25// hfile->write(0 while NULL caused spurious crash.
26// Took the oportunity to add GetCVS()
27// Some maniaco-compulsive //! alignement fixes ...
28//
29// Revision 1.19 2002/09/20 19:35:25 caines
30// Change building of file name
31//
32// Revision 1.18 2002/09/19 16:17:49 caines
33// Add code to do Juns gain calibration
34//
35// Revision 1.17 2002/05/09 16:55:08 munhoz
36// add reading bad anodes from DB
37//
38// Revision 1.16 2002/04/22 14:52:54 caines
39// Add the .h too
40//
41// Revision 1.15 2002/01/11 22:49:22 caines
42// Fix sequence merging bugs-hopefully
43//
44// Revision 1.14 2001/12/13 03:08:17 caines
45// Can now subtract common mode noise via black anodes 239 and 2
46//
47// Revision 1.13 2001/10/19 23:31:34 caines
48// Correct problem that if anodes were missing didnt do average common mode noise calc
49//
50// Revision 1.12 2001/09/26 18:42:48 caines
51// Fix 2 anode subtraction routines
52//
53// Revision 1.11 2001/09/16 22:24:26 caines
54// Fix for when SVT isnt in every event
55//
56// Revision 1.10 2001/08/24 20:57:46 caines
57// Do common mode noise suppression from first two anodes
58//
59// Revision 1.9 2001/07/25 14:47:47 caines
60// Fix filling histogram only when debug is on
61//
62// Revision 1.8 2001/07/22 20:31:29 caines
63// Better tuning for real data. Common mode noise calc and sub. Avoid overlapping seq. Fill histograms only in debug