]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloConstants.h
Refactoring and moving some PHOS code which will be used for both calorimeters to...
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloConstants.h
CommitLineData
178dd351 1//-*- Mode: C++ -*-
2// $Id: AliHLTCALOConstants.h 34622 2009-09-04 13:22:01Z odjuvsla $
3
4/**************************************************************************
5 * This file is property of and copyright by the Experimental Nuclear *
6 * Physics Group, Dep. of Physics *
7 * University of Oslo, Norway, 2006 *
8 * *
9 * Author: Per Thomas Hille perthi@fys.uio.no for the ALICE DCS Project. *
10 * Contributors are mentioned in the code where appropriate. *
11 * Please report bugs to perthi@fys.uio.no *
12 * *
13 * Permission to use, copy, modify and distribute this software and its *
14 * documentation strictly for non-commercial purposes is hereby granted *
15 * without fee, provided that the above copyright notice appears in all *
16 * copies and that both the copyright notice and this permission notice *
17 * appear in the supporting documentation. The authors make no claims *
18 * about the suitability of this software for any purpose. It is *
19 * provided "as is" without express or implied warranty. *
20 **************************************************************************/
21
22#ifndef ALIHLTCALOCONSTANTS_H
23#define ALIHLTCALOCONSTANTS_H
24
25namespace CaloHLTConst
26{
27 // const int ALTROMAXTRALERSIZE = 7;
28 // const int DDLBLOCKSIZE = 5;
29
30 // const int NZROWSRCU = 56; /**<Number of rows per module*/
31 // const int NXCOLUMNSRCU = 16;
32 // const int NZROWSMOD = 56; /**<Number of rows per module*/
33 // const int NXCOLUMNSMOD = 64; /**<Number of columns per module*/
34 // const int NGAINS = 2; /**<Number of gains per ALTRO channel*/
35
36 const int NALTROS = 4; /**<Number of ALTROs per frontend card*/
37 const int NALTROCHANNELS = 16;
38 const int NBRANCHES = 2;
39 const int CSPSPERFEE = 32;
40 const int NGAINS = 2;
41 const int HIGHGAIN = 1;
42 const int LOWGAIN = 0;
43 const int MAXBINVALUE = 1023;
44 const int ALTROMAXSAMPLES = 1008; /**<The maximum number of samples of the ALTRO*/
45 const int ALTROMAXPRESAMPLES = 15;
46
47
48 // const int NDATATYPES = 10;
49
50 // const int PFMAXPATHLENGTH = 256;
51
52
53#ifndef __CINT__
54 const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
55#endif
56
57 // const int PFDEFAULTNSAMPLES = 70;
58 // const int PFDEFAULTSTARTINDEX = 0;
59
60 // const int DEFAULTTAU = 2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
61 // const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
62
63 // const int MODULE0 = 0;
64 // const int MODULE1 = 1;
65 // const int MODULE2 = 2;
66 // const int MODULE3 = 3;
67 // const int MODULE4 = 4;
68
69 // const int CSPSPERFEE = 32;
70
71 // const int RCU0 = 0;
72 // const int RCU1 = 1;
73 // const int RCU2 = 2;
74 // const int RCU3 = 3;
75
76
77 // const int Z0 = 0;
78 // const int Z1 = 1;
79 // const int X0 = 0;
80 // const int X1 = 1;
81
82 // const int NMODULES = 5; /**<Number of modules of the PHOS detector*/
83 // const int NRCUS = 4; /**<Number of RCUs per Module*/
84
85 // NRCUSPERMODULE
86
87 // const int NRCUSPERMODULE = 4 ; /**<Number of RCUs per Module*/
88 // const int NRCUSPERTOTAL = NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for PHOS*/
89 // const int NFEECS = 14; /**<Number of Frontend cards per branch*/
90
91
92 const int MAXHOSTS = 20;
93 const int DEFAULTEVENTPORT = 42001;
94}
95
96
97#endif
98
99