]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - ITS/AliITSEventHeader.cxx
following coverity, fix for case of invalid DET string passed to GetNalignable
[u/mrichter/AliRoot.git] / ITS / AliITSEventHeader.cxx
... / ...
CommitLineData
1#include "AliITSEventHeader.h"
2////////////////////////////////////////////////////
3// Base class to define //
4// ITS Event Header //
5// //
6// Origin: E. Crescio crescio@to.infn.it //
7// //
8////////////////////////////////////////////////////
9
10ClassImp(AliITSEventHeader)
11
12
13//_____________________________________________________________
14 AliITSEventHeader::AliITSEventHeader():AliDetectorEventHeader(),
15fEventTypeSDD(),
16fJitterSDD(0)
17{
18 //
19 // Defaulst Constructor
20 //
21
22 SetEventTypeSDD();
23
24 for(Int_t idet=0;idet<3;idet++){
25 fL1TriggerType[idet]=0;
26 fOrbitNumber[idet]=0;
27 fBunchCross[idet]=0;
28 fBlockAttr[idet]=0;
29 fTriggerClass[idet]=0;
30 fStatusBits[idet]=0;
31 fMiniEvId[idet]=0;
32 fSubDet[idet]=0;
33 fVersion[idet]=0;
34 }
35
36
37}
38
39//_____________________________________________________________
40AliITSEventHeader::AliITSEventHeader(const char* name):AliDetectorEventHeader(name),
41fEventTypeSDD(),
42fJitterSDD(-123)
43{
44 //
45 // Constructor
46 //
47 SetEventTypeSDD();
48 for(Int_t idet=0;idet<3;idet++){
49 fL1TriggerType[idet]=0;
50 fOrbitNumber[idet]=0;
51 fBunchCross[idet]=0;
52 fBlockAttr[idet]=0;
53 fTriggerClass[idet]=0;
54 fStatusBits[idet]=0;
55 fMiniEvId[idet]=0;
56 fSubDet[idet]=0;
57 fVersion[idet]=0;
58 }
59
60
61}
62
63
64
65
66