Difference: TFadcEvent (1 vs. 2)

Revision 22011-04-07 - PeterKammel

Line: 1 to 1
 
META TOPICPARENT name="MuCapPhysicsAnalysisPK"
Changed:
<
<
Typical write
>
>

 
Changed:
<
<
00030 void SetNTriggerFound(Int_t t) { fNTriggerFound = t; }

00026 void SetTriggerTime(int i, Int_t triggerTime); 00027 void SetTriggerFlags(int i, UShort_t triggerFlags);

00050 TFadcAnode* AddAnode(UShort_t wire, UShort_t trigger); 00051 TFadcStrip* AddStrip(UShort_t wire, UShort_t trigger);

int AddPulse ( TFadcPulse *p)

void SetMaxHeight (Short_t max)
void SetIntegral (Int_t integ)
void SetLeftTime (Int_t ltime)
void SetCenterTime (Int_t ctime)
void SetThreshold (Short_t thr)
void SetLength (Short_t l)
void SetOvershoot (Bool_t b)

Typical read example

TFadcAnalysis.cpp::printAnodesAndStrips

The private data members are used via accessor functions private:

00057 Int_t fNTriggerFound;

00058 Int_t *fTriggerTime; //[fNTriggerFound] time in ~ns of the hardware trigger

00059 UShort_t *fTriggerFlags; //[fNTriggerFound] which hardware trigger

00061 Double_t fClockPeriod;

00062 Double_t fTriggerGate;

00064 //************************************************

00066 int fNAnodes;

00067 TClonesArray *fAnodes;

00070 int fNStrips;

00071 TClonesArray *fStrips

>
>
Typical write 00030 void SetNTriggerFound(Int_t t) { fNTriggerFound = t; } 00026 void SetTriggerTime(int i, Int_t triggerTime); 00027 void SetTriggerFlags(int i, UShort_t triggerFlags); 00050 TFadcAnode* AddAnode(UShort_t wire, UShort_t trigger); 00051 TFadcStrip* AddStrip(UShort_t wire, UShort_t trigger); int AddPulse ( TFadcPulse p) | void | SetMaxHeight (Short_t max) | | void | SetIntegral (Int_t integ) | | void | SetLeftTime (Int_t ltime) | | void | SetCenterTime (Int_t ctime) | | void | SetThreshold (Short_t thr) | | void | SetLength (Short_t l) | | void | SetOvershoot (Bool_t b) | Typical read example TFadcAnalysis.cpp::printAnodesAndStrips The private data members are used via accessor functions private: 00057 Int_t fNTriggerFound; 00058 Int_t *fTriggerTime; //[fNTriggerFound] time in ~ns of the hardware trigger 00059 UShort_t *fTriggerFlags; //[fNTriggerFound] which hardware trigger 00061 Double_t fClockPeriod; 00062 Double_t fTriggerGate; 00064 //*********************************************** 00066 int fNAnodes; 00067 TClonesArray *fAnodes; 00070 int fNStrips; 00071 TClonesArray *fStrips

Revision 12011-04-07 - PeterKammel

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="MuCapPhysicsAnalysisPK"
Typical write

00030 void SetNTriggerFound(Int_t t) { fNTriggerFound = t; }

00026 void SetTriggerTime(int i, Int_t triggerTime); 00027 void SetTriggerFlags(int i, UShort_t triggerFlags);

00050 TFadcAnode* AddAnode(UShort_t wire, UShort_t trigger); 00051 TFadcStrip* AddStrip(UShort_t wire, UShort_t trigger);

int AddPulse ( TFadcPulse *p)

void SetMaxHeight (Short_t max)
void SetIntegral (Int_t integ)
void SetLeftTime (Int_t ltime)
void SetCenterTime (Int_t ctime)
void SetThreshold (Short_t thr)
void SetLength (Short_t l)
void SetOvershoot (Bool_t b)

Typical read example

TFadcAnalysis.cpp::printAnodesAndStrips

The private data members are used via accessor functions private:

00057 Int_t fNTriggerFound;

00058 Int_t *fTriggerTime; //[fNTriggerFound] time in ~ns of the hardware trigger

00059 UShort_t *fTriggerFlags; //[fNTriggerFound] which hardware trigger

00061 Double_t fClockPeriod;

00062 Double_t fTriggerGate;

00064 //************************************************

00066 int fNAnodes;

00067 TClonesArray *fAnodes;

00070 int fNStrips;

00071 TClonesArray *fStrips

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback