Tags:
, view all tags

TFadcEvent

 void SetTriggerTime(int i, Int_t triggerTime);
 void SetTriggerFlags(int i, UShort_t triggerFlags);
 void SetClockPeriod(Double_t dt) { fClockPeriod = dt; }
 void SetTriggerGate(Double_t dT) { fTriggerGate = dT; }
 void SetNTriggerFound(Int_t t) { fNTriggerFound = t; }

 static const int kNChannels; //
 static const int kNSamples;  //

 // The following functions all take the argument in normal counting convention
 // i.e.: i = [1, kMaxFadcTriggers] !!!!!!!
 Int_t GetTriggerTime(int i) const;
 UShort_t GetTriggerFlags(int i) const;
 Int_t GetTmin(int i) const;
 Int_t GetTmax(int i) const;

 Double_t GetClockPeriod() const { return fClockPeriod; }
 Double_t GetTriggerGate() const { return fTriggerGate; }
 int GetNrAnodes(){ return fNAnodes; };
 int GetNrStrips(){ return fNStrips; };
 Int_t GetNTriggerFound() { return fNTriggerFound; }

 // For the following two functions, both arguments are in
 // normal counting convention, i.e. 1, 2, 3,... Max
 TFadcAnode* AddAnode(UShort_t wire, UShort_t trigger); 
 TFadcStrip* AddStrip(UShort_t wire, UShort_t trigger);

 TClonesArray *GetAnodes() const { return fAnodes; }
 TClonesArray *GetStrips() const { return fStrips; }

TFadcAnode

class TFadcAnode : public TFadcWire

TFadcWire

TFadcPulse* GetPulse(int n); // Index n = [1, fNPulses]
TFadcPulse* GetPulses();

Int_t GetNPulses(){ return fNPulses; };
UShort_t GetWireNumber(){ return fWireNumber; };
UShort_t GetTriggerNumber(){ return fTriggerNumber; };

int AddPulse(TFadcPulse *p);
void SetNPulses(Int_t n){ fNPulses = n; };
void SetWireNumber(UShort_t w){ fWireNumber = w; };
void SetTriggerNumber(UShort_t t){ fTriggerNumber = t; };

TFadcPulse

/******************* Data Members Access ***********************/
Short_t GetMaxHeight() const { return MaxHeight; };
Int_t GetIntegral() const { return Integral; };
Int_t GetLeftTime() const { return LeftTime; };
Int_t GetCenterTime() const { return CenterTime; };
Short_t GetThreshold() const { return Threshold; };
Short_t GetLength() const { return Length; };
Bool_t GetOvershoot() const { return Overshoot; };

void SetMaxHeight(Short_t max){ MaxHeight = max; };
void SetIntegral(Int_t integ){ Integral = integ; };
void SetLeftTime(Int_t ltime){ LeftTime = ltime; };
void SetCenterTime(Int_t ctime){ CenterTime = ctime; };
void SetThreshold(Short_t thr){ Threshold = thr; };
void SetLength(Short_t l){ Length = l; };
void SetOvershoot(Bool_t b){ Overshoot = b; };
void CopyPulse(const TFadcPulse &p);

Typical Usage

Typical write in TFadcAnalysis

Typical read example TFadcAnalysis.cpp::printAnodesAndStrips

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 2011-04-07 - PeterKammel
 
  • Edit
  • Attach
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