Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcDCWire.h
Go to the documentation of this file.
1#ifndef ROOT_THcDCWire
2#define ROOT_THcDCWire
3
5// //
6// THcDCWire //
7// //
9#include "TObject.h"
10
12
13class THcDCWire : public TObject {
14
15public:
16
17 THcDCWire( Int_t num=0, Double_t pos=0.0, Double_t offset=0.0, Double_t sigma=0.0,
18 Int_t readoutside=0,
19 THcDCTimeToDistConv* ttd=NULL ) :
21 fReadoutSide(readoutside), fTTDConv(ttd) {}
22 virtual ~THcDCWire() {}
23
24 // Get and Set Functions
25 Int_t GetNum() const { return fNum; }
26 Int_t GetFlag() const { return fFlag; }
27 Double_t GetPos() const { return fPos; }
28 Double_t GetTOffset() const { return fTOffset; }
29 Double_t GetSigma() const { return fSigmaWire; }
32
33 void SetNum (Int_t num) {fNum = num;}
34 void SetFlag (Int_t flag) {fFlag = flag;}
35 void SetPos (Double_t pos) { fPos = pos; }
36 void SetTOffset (Double_t tOffset){ fTOffset = tOffset; }
37 void SetSigma(Double_t tSigma){ fSigmaWire = tSigma; }
38 void SetTTDConv (THcDCTimeToDistConv * ttdConv){ fTTDConv = ttdConv;}
39
40protected:
41 Int_t fNum; //Wire Number
42 Int_t fFlag; //Flag for errors (e.g. Bad wire)
43 Double_t fPos; //Position within the plane
44 Double_t fTOffset; //Timing Offset
45 Double_t fSigmaWire; //Added SIgma per Wire --Carlos
46 Int_t fReadoutSide; // Side where wire is read out. 1-4 is T/R/B/L from beam view for new chambers.
48
49private:
52
53 ClassDef(THcDCWire,0) // Drift Chamber Wire class
54};
55
57
58#endif
int Int_t
double Double_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
string::size_type pos
Base class for algorithms to convert time into perpendicular drift distance.
Class representing a drift chamber wire.
Definition THcDCWire.h:13
Double_t GetSigma() const
Definition THcDCWire.h:29
Int_t fReadoutSide
Definition THcDCWire.h:46
virtual ~THcDCWire()
Definition THcDCWire.h:22
Double_t GetPos() const
Definition THcDCWire.h:27
void SetTOffset(Double_t tOffset)
Definition THcDCWire.h:36
void SetSigma(Double_t tSigma)
Definition THcDCWire.h:37
THcDCWire(const THcDCWire &)
Time to Distance Converter.
Double_t GetTOffset() const
Definition THcDCWire.h:28
Double_t fPos
Definition THcDCWire.h:43
void SetPos(Double_t pos)
Definition THcDCWire.h:35
void SetFlag(Int_t flag)
Definition THcDCWire.h:34
THcDCTimeToDistConv * fTTDConv
Definition THcDCWire.h:47
Int_t GetReadoutSide()
Definition THcDCWire.h:30
void SetNum(Int_t num)
Definition THcDCWire.h:33
Int_t fNum
Definition THcDCWire.h:41
Int_t GetFlag() const
Definition THcDCWire.h:26
Double_t fTOffset
Definition THcDCWire.h:44
THcDCWire & operator=(const THcDCWire &)
THcDCWire(Int_t num=0, Double_t pos=0.0, Double_t offset=0.0, Double_t sigma=0.0, Int_t readoutside=0, THcDCTimeToDistConv *ttd=NULL)
Definition THcDCWire.h:17
Double_t fSigmaWire
Definition THcDCWire.h:45
void SetTTDConv(THcDCTimeToDistConv *ttdConv)
Definition THcDCWire.h:38
Int_t fFlag
Definition THcDCWire.h:42
THcDCTimeToDistConv * GetTTDConv()
Definition THcDCWire.h:31
Int_t GetNum() const
Definition THcDCWire.h:25
const Double_t sigma