BmnRoot
Loading...
Searching...
No Matches
BmnTOF1Conteiner.cxx
Go to the documentation of this file.
1/*
2 * To change this license header, choose License Headers in Project Properties.
3 * To change this template file, choose Tools | Templates
4 * and open the template in the editor.
5 */
6
7#include "BmnTOF1Conteiner.h"
8
9//--------------------------------------------------------------------------------------------------------------------------------------
14//--------------------------------------------------------------------------------------------------------------------------------------
15BmnTOF1Conteiner::BmnTOF1Conteiner(Short_t plane, Short_t strip, Float_t timeL, Float_t timeR, Float_t time,
16 Float_t widthL, Float_t widthR, Float_t width,
17 Float_t x, Float_t y, Float_t z,
18 Float_t timeT0, Float_t widthT0, Float_t TOF,
19 Short_t IndL, Short_t IndR)
20{
21 fPlane = plane;
22 fStrip = strip;
23 fTimeL = timeL;
24 fTimeR = timeR;
25 fTime = time;
26 fWidthL = widthL;
27 fWidthR = widthR;
28 fWidth = width;
29 fX = x;
30 fY = y;
31 fZ = z;
32 fTimeT0 = timeT0;
33 fWidthT0 = widthT0;
34 fTOF = TOF;
35 fIndexL = IndL;
36 fIndexR = IndR;
37}
38
39void BmnTOF1Conteiner::SetParameters (Short_t plane, Short_t strip, Float_t timeL, Float_t timeR, Float_t time,
40 Float_t widthL, Float_t widthR, Float_t width, Float_t x, Float_t y, Float_t z,
41 Float_t timeT0, Float_t widthT0, Float_t TOF,
42 Short_t IndL, Short_t IndR)
43{
44 fPlane = plane;
45 fStrip = strip;
46 fTimeL = timeL;
47 fTimeR = timeR;
48 fTime = time;
49 fWidthL = widthL;
50 fWidthR = widthR;
51 fWidth = width;
52 fX = x;
53 fY = y;
54 fZ = z;
55 fTimeT0 = timeT0;
56 fWidthT0 = widthT0;
57 fTOF = TOF;
58 fIndexL = IndL;
59 fIndexR = IndR;
60}
61//--------------------------------------------------------------------------------------------------------------------------------------
63{
64 fPlane = -1;
65 fStrip = -1;
66 fTimeL = -1;
67 fTimeR = -1;
68 fTime = -1;
69 fWidthL = -1;
70 fWidthR = -1;
71 fWidth = -1;
72 fX = -1000;
73 fY = -1000;
74 fZ = -1000;
75 fTimeT0 = -1;
76 fWidthT0 = -1;
77}
78
void SetParameters(Short_t plane, Short_t strip, Float_t timeL, Float_t timeR, Float_t time, Float_t widthL, Float_t widthR, Float_t width, Float_t x, Float_t y, Float_t z, Float_t timeT0, Float_t widthT0, Float_t TOF=0, Short_t indL=0, Short_t IndR=0)