38 TS3& operator=(const
TS3&);
39 TS3& operator=(
TS3&&) noexcept = default;
40 ~
TS3() override = default;
95 static TVector3
GetPosition(
int ring,
int sector,
bool smear =
false);
96 static TVector3
GetPosition(
int ring,
int sector,
double offsetphi,
double offsetZ,
bool sectorsdownstream,
107 hit.ClearTransients();
110 hit.ClearTransients();
113 hit.ClearTransients();
117 void Copy(TObject&)
const override;
118 void Clear(Option_t* opt =
"all")
override;
119 void Print(Option_t* opt =
"")
const override;
120 void Print(std::ostream& out)
const override;
153 ClassDefOverride(
TS3, 4)
virtual TDetectorHit * GetHit(const int &index) const
void SetTargetDistance(double dist)
static bool SectorPreference()
!
static TTransientBits< UShort_t > fGlobalS3Bits
Global Bit.
static int fRingNumber
for geometery
Int_t GetPixelMultiplicity()
std::vector< TS3Hit > fS3PixelHits
! transient vector to hold the on-the-fly calculated pixel hits
Bool_t TestBitNumber(ES3Bits bit) const
TS3Hit * GetS3Hit(const int &i) const
std::vector< TS3Hit > fS3RingHits
vector to store hits of the ring side
static bool PreferenceSector(bool set=true)
!
void SetFrontBackEOffset(double de)
Set fractional allowed energy difference.
static double fOffsetPhiSet
!
void SetFrontBackEnergy(double de)
Set fractional allowed energy difference.
void Clear(Option_t *opt="all") override
!
Short_t GetRingMultiplicity() const
TS3Hit * GetRingHit(const int &i)
static Bool_t TestGlobalBit(ES3GlobalBits bit)
static bool KeepShared()
!
TS3(TS3 &&) noexcept=default
void ClearTransients() override
!
@ kPreSector
Preference sector energy when building pixels.
@ kKeepShared
When kMultHit, reconstruct rather than discard charge sharing.
@ kMultHit
Attempt to reconstruct multi strip-hit events.
std::vector< TS3Hit > fS3SectorHits
vector to store hits of the sector side
static int fSectorNumber
!
static TVector3 GetPosition(int ring, int sector, bool smear=false)
TS3Hit * GetPixelHit(const int &i)
static bool SetMultiHit(bool set=true)
!
static double fInnerDiameter
!
static double fOffsetPhiCon
!
void AddFragment(const std::shared_ptr< const TFragment > &, TChannel *) override
!
void SetPixels(bool flag=true)
TTransientBits< UChar_t > fS3Bits
flags for transient members
static bool SetKeepShared(bool set=true)
!
static double fOuterDiameter
!
static double fFrontBackEnergy
!
static double fTargetDistance
!
TS3Hit * GetSectorHit(const int &i)
static double fFrontBackOffset
!
Short_t GetSectorMultiplicity() const
void SetBitNumber(ES3Bits bit, Bool_t set=true)
static void SetGlobalBit(ES3GlobalBits bit, Bool_t set=true)
void Copy(TObject &) const override
void BuildHits() override
no need to build any hits, everything already done in AddFragment
static Int_t fFrontBackTime
!
void SetFrontBackTime(int time)
Set absolute allow time difference.
void Print(Option_t *opt="") const override
!
void SetBit(T bit, Bool_t flag)
Bool_t TestBit(T bit) const