10#ifndef CRIB_TMUXDATA_H
11#define CRIB_TMUXDATA_H
13#include "TDataObject.h"
80 Double_t
GetT(Int_t index = 0)
const;
93 void Copy(TObject &dest)
const override;
99 void Clear(Option_t *opt =
"")
override;
Represents data from the MUX module (E1, E2, P1, P2, T).
static const Int_t kNRAW
Number of raw data elements (E1, E2, P1, P2, Trigger).
Double_t fP2
Second position value.
Double_t fP1
First position value.
void SetE2(Double_t value)
Set the second energy value.
Double_t GetE1() const
Get the first energy value.
std::vector< Double_t > fTVec
Vector of timing values from MHTDC.
Double_t GetP2() const
Get the second position value.
ClassDefOverride(TMUXData, 2)
Double_t fE2
Second energy value.
void PushTiming(Double_t value)
Add a new timing value.
void Copy(TObject &dest) const override
Copy the contents of this object to another TObject.
~TMUXData() override
Destructor.
Double_t GetP1() const
Get the first position value.
void SetP1(Double_t value)
Set the first position value.
Double_t fE1
First energy value.
Double_t fTiming
Timing value for the trigger.
void Clear(Option_t *opt="") override
Clear the object's contents.
void SetE1(Double_t value)
Set the first energy value.
Double_t GetT(Int_t index=0) const
Get the timing value at a specific index.
void SetTrig(Double_t value)
Set the timing value.
Double_t GetE2() const
Get the second energy value.
void SetP2(Double_t value)
Set the second position value.
TMUXData & operator=(const TMUXData &rhs)
Copy assignment operator.
Double_t GetTrig() const
Get the timing value.