Protection against wrong trigger bc mask pattern
[u/mrichter/AliRoot.git] / T0 / AliT0Dqclass.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /* $Id$ */
17
18 ///////////////////////////////////////////////////////////////////////////////
19 //                                                                           //
20 // Output of T0 DAQ                                                          //
21 //                                                                           //
22 ///////////////////////////////////////////////////////////////////////////////
23
24 #include "AliT0Dqclass.h"
25
26 ClassImp(AliT0Dqclass)
27
28 //________________________________________________________________
29 AliT0Dqclass::AliT0Dqclass()
30 {
31 //  fHistMeanPed=0;
32   Reset();
33 }
34
35 //________________________________________________________________
36 AliT0Dqclass::AliT0Dqclass(const char* name)
37 {
38   // Constructor
39   TString namst = "Calib_";
40   namst += name;
41   SetName(namst.Data());
42   SetTitle(namst.Data());
43 //  fHistMeanPed=0;
44   Reset();
45 }
46
47
48 //________________________________________________________________
49 AliT0Dqclass::~AliT0Dqclass()
50 {
51 //  CleanHistos();
52 }
53
54 //________________________________________________________________
55 void AliT0Dqclass::Reset()
56 {
57   // Reset
58   memset(fTime,0,24*sizeof(Float_t));
59   memset(fAmplitude,0,24*sizeof(Float_t));
60 }                                                                                       
61
62
63 //________________________________________________________________
64 void  AliT0Dqclass::Print(Option_t *) const
65 {
66
67
68