]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CALO/AliHLTCaloConstants.h
Per Thomas: removing cout statement from event loop
[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*/
3800a654 34
35
36 // const int NGAINS = 2; /**<Number of gains per ALTRO channel*/
178dd351 37
38 const int NALTROS = 4; /**<Number of ALTROs per frontend card*/
39 const int NALTROCHANNELS = 16;
40 const int NBRANCHES = 2;
41 const int CSPSPERFEE = 32;
42 const int NGAINS = 2;
43 const int HIGHGAIN = 1;
44 const int LOWGAIN = 0;
45 const int MAXBINVALUE = 1023;
46 const int ALTROMAXSAMPLES = 1008; /**<The maximum number of samples of the ALTRO*/
47 const int ALTROMAXPRESAMPLES = 15;
48
49
50 // const int NDATATYPES = 10;
51
52 // const int PFMAXPATHLENGTH = 256;
53
54
55#ifndef __CINT__
56 const unsigned char PFVECTORDIR[] = "/HLT/PHOS/PFVectors";
57#endif
58
59 // const int PFDEFAULTNSAMPLES = 70;
60 // const int PFDEFAULTSTARTINDEX = 0;
61
62 // const int DEFAULTTAU = 2; /**<Assume that the signal rise time of the altrp pulses is 2 us (nominal value of the electronics)*/
63 // const int DEFAULTFS = 10; /**<Assume that the signal is samples with 10 MHZ samle rate*/
64
65 // const int MODULE0 = 0;
66 // const int MODULE1 = 1;
67 // const int MODULE2 = 2;
68 // const int MODULE3 = 3;
69 // const int MODULE4 = 4;
70
71 // const int CSPSPERFEE = 32;
72
73 // const int RCU0 = 0;
74 // const int RCU1 = 1;
75 // const int RCU2 = 2;
76 // const int RCU3 = 3;
77
78
79 // const int Z0 = 0;
80 // const int Z1 = 1;
81 // const int X0 = 0;
82 // const int X1 = 1;
83
84 // const int NMODULES = 5; /**<Number of modules of the PHOS detector*/
85 // const int NRCUS = 4; /**<Number of RCUs per Module*/
86
87 // NRCUSPERMODULE
88
89 // const int NRCUSPERMODULE = 4 ; /**<Number of RCUs per Module*/
90 // const int NRCUSPERTOTAL = NMODULES*NRCUSPERMODULE; /**<Total number of RCUs for PHOS*/
91 // const int NFEECS = 14; /**<Number of Frontend cards per branch*/
92
93
94 const int MAXHOSTS = 20;
95 const int DEFAULTEVENTPORT = 42001;
96}
97
98
99#endif
100
101