The TTrific class defines the observables and algorithms used when analyzing TIGRESS data.
Public Types | |
enum | ETrificBits { ETrificBits::kPositionCalculated = BIT(0), ETrificBits::kRangeCalculated = BIT(1), ETrificBits::kBit2 = BIT(2), ETrificBits::kBit3 = BIT(3), ETrificBits::kBit4 = BIT(4), ETrificBits::kBit5 = BIT(5), ETrificBits::kBit6 = BIT(6), ETrificBits::kBit7 = BIT(7) } |
Public Member Functions | |
TTrific () | |
TTrific (const TTrific &) | |
~TTrific () override | |
void | AddFragment (const std::shared_ptr< const TFragment > &, TChannel *chan) override |
void | BuildHits () override |
void | Clear (Option_t *="") override |
void | ClearTransients () override |
void | Copy (TObject &) const override |
virtual TDetectorHit * | GetHit (const int &) const |
virtual const std::vector< TDetectorHit * > & | GetHitVector () const |
virtual Short_t | GetMultiplicity () const override |
TVector3 | GetPosition (Int_t detectorNumber) |
TVector3 | GetPosition () |
Int_t | GetRange () |
virtual Short_t | GetSingMultiplicity () const |
TTrificHit * | GetTrificHit (const int &i) const |
TTrificHit * | GetTrificSingHit (const int &i) const |
TTrificHit * | GetTrificXHit (const int &i) const |
TTrificHit * | GetTrificYHit (const int &i) const |
virtual Short_t | GetXMultiplicity () const |
void | GetXYGrid () |
virtual Short_t | GetYMultiplicity () const |
TTrific & | operator= (const TTrific &) |
void | Print (Option_t *opt="") const override |
void | Print (std::ostream &out) const override |
Static Public Member Functions | |
static bool | SetCoreWave () |
static void | SetCustomTargetChamber (Double_t distance) |
static void | SetSharc (Double_t distance=650.57) |
static void | SetTip (Double_t distance=600.) |
Public Attributes | |
TVector3 | fParticle = TVector3(0,0,0) |
Int_t | fRange = 0 |
Static Public Attributes | |
static const double | fInitialSpacingCart = 28.0 |
static const double | fSpacingCart = 13.0 |
static double | fTargetToWindowCart = 700.0 |
Protected Attributes | |
std::vector< TDetectorHit * > | fHits |
Private Attributes | |
std::vector< TTrificHit * > | fSingFragments |
TTransientBits< UShort_t > | fTrificBits |
std::vector< TTrificHit * > | fXFragments |
std::vector< TTrificHit * > | fYFragments |
Static Private Attributes | |
static const double | fAngle = (60./180.)*TMath::Pi() |
static Int_t | fGridX = 0 |
static Int_t | fGridY = 0 |
static const TVector3 | fNormalGridVec = TVector3(0,-TMath::Cos(fAngle),TMath::Sin(fAngle)) |
static bool | fSetCoreWave = false |
static const double | fXmm [12] ={-33,-27,-21,-15,-9,-3,3,9,15,21,27,33} |
static const double | fYmm [12] ={42,36,28,20,12,4,-4,-12,-20,-28,-36,-42} |
#include <TTrific.h>
|
strong |
TTrific::TTrific | ( | ) |
Definition at line 41 of file TTrific.cxx.
References Clear().
TTrific::TTrific | ( | const TTrific & | rhs | ) |
Definition at line 49 of file TTrific.cxx.
References Copy().
|
override |
Definition at line 71 of file TTrific.cxx.
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 98 of file TTrific.cxx.
References TMnemonic::ArraySubPosition(), TDetector::fHits, fSingFragments, fXFragments, fYFragments, TChannel::GetMnemonic(), TMnemonic::kX, and TMnemonic::kY.
|
inlineoverridevirtual |
|
override |
!
Definition at line 122 of file TTrific.cxx.
References TDetector::Clear(), TDetector::fHits, fSingFragments, fTrificBits, fXFragments, and fYFragments.
Referenced by TTrific().
|
inlineoverridevirtual |
!
Reimplemented from TDetector.
Definition at line 60 of file TTrific.h.
References TDetector::ClearTransients(), fParticle, fRange, and fTrificBits.
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 57 of file TTrific.cxx.
References TDetector::Copy(), fSetCoreWave, fSingFragments, fTrificBits, fXFragments, and fYFragments.
Referenced by operator=(), and TTrific().
|
virtualinherited |
Definition at line 70 of file TDetector.cxx.
References TDetector::fHits.
Referenced by exAnalysis(), TBgo::GetBgoHit(), TCSM::GetCSMHit(), TDescant::GetDescantHit(), TEagle::GetEagleHit(), TEmma::GetEmmaHit(), TGenericDetector::GetGenericDetectorHit(), TLaBrBgo::GetLaBrBgoHit(), TFippsLaBr::GetLaBrHit(), TLaBr::GetLaBrHit(), TPaces::GetPacesHit(), TS3::GetS3Hit(), TSceptar::GetSceptarHit(), TSharc::GetSharcHit(), TSiLi::GetSiLiHit(), TTAC::GetTACHit(), TFippsTAC::GetTACHit(), TTdrClover::GetTdrCloverHit(), TTdrPlastic::GetTdrPlasticHit(), TTdrSiLi::GetTdrSiLiHit(), TTdrTigress::GetTdrTigressHit(), TTigress::GetTigressHit(), TTip::GetTipHit(), GetTrificHit(), TZeroDegree::GetZeroDegreeHit(), and MakeAnalysisHistograms().
|
inlinevirtualinherited |
Reimplemented in TGriffin.
Definition at line 64 of file TDetector.h.
References TDetector::fHits.
Referenced by TSuppressed::CreateSuppressed(), TSuppressed::CreateSuppressedAddback(), TFipps::FixCrossTalk(), TIfin::FixCrossTalk(), TTdrClover::GetAddbackMultiplicity(), TTdrTigress::GetAddbackMultiplicity(), TFipps::GetAddbackMultiplicity(), TIfin::GetAddbackMultiplicity(), TTdrClover::GetSuppressedAddbackMultiplicity(), TTdrTigress::GetSuppressedAddbackMultiplicity(), TFipps::GetSuppressedMultiplicity(), and TIfin::GetSuppressedMultiplicity().
|
inlineoverridevirtual |
TVector3 TTrific::GetPosition | ( | Int_t | detectorNumber | ) |
!
Definition at line 161 of file TTrific.cxx.
References fInitialSpacingCart, fSpacingCart, fTargetToWindowCart, and GetPosition().
TVector3 TTrific::GetPosition | ( | ) |
!
Definition at line 192 of file TTrific.cxx.
References fAngle, fGridX, fGridY, fInitialSpacingCart, fParticle, fSpacingCart, fTargetToWindowCart, fTrificBits, fXFragments, fXmm, fYFragments, fYmm, GetXYGrid(), kPositionCalculated, TTransientBits< T >::SetBit(), and TTransientBits< T >::TestBit().
Referenced by GetPosition().
Int_t TTrific::GetRange | ( | ) |
!
Definition at line 323 of file TTrific.cxx.
References fGridX, fGridY, fRange, fSingFragments, fTrificBits, fXFragments, fYFragments, GetXYGrid(), kRangeCalculated, TTransientBits< T >::SetBit(), and TTransientBits< T >::TestBit().
|
inlinevirtual |
Definition at line 71 of file TTrific.h.
References fSingFragments.
|
inline |
Definition at line 50 of file TTrific.h.
References TDetector::GetHit().
|
inline |
Definition at line 53 of file TTrific.h.
References fSingFragments.
|
inline |
Definition at line 51 of file TTrific.h.
References fXFragments.
|
inline |
Definition at line 52 of file TTrific.h.
References fYFragments.
|
inlinevirtual |
Definition at line 69 of file TTrific.h.
References fXFragments.
void TTrific::GetXYGrid | ( | ) |
!
Definition at line 141 of file TTrific.cxx.
References fGridX, fGridY, fXFragments, fYFragments, and TDetectorHit::GetDetector().
Referenced by GetPosition(), and GetRange().
|
inlinevirtual |
Definition at line 70 of file TTrific.h.
References fYFragments.
|
override |
!
Definition at line 76 of file TTrific.cxx.
|
overridevirtual |
!
Reimplemented from TDetector.
Definition at line 82 of file TTrific.cxx.
References TDetector::fHits, fSingFragments, fXFragments, and fYFragments.
|
inlinestatic |
|
inlinestatic |
Definition at line 76 of file TTrific.h.
References fTargetToWindowCart.
|
inlinestatic |
Definition at line 74 of file TTrific.h.
References fTargetToWindowCart.
|
inlinestatic |
Definition at line 75 of file TTrific.h.
References fTargetToWindowCart.
|
staticprivate |
Definition at line 128 of file TTrific.h.
Referenced by GetPosition().
|
staticprivate |
Definition at line 126 of file TTrific.h.
Referenced by GetPosition(), GetRange(), and GetXYGrid().
|
staticprivate |
Definition at line 127 of file TTrific.h.
Referenced by GetPosition(), GetRange(), and GetXYGrid().
|
protectedinherited |
Definition at line 72 of file TDetector.h.
Referenced by TSiLi::AddCluster(), TEaglePulser::AddFragment(), TFippsPulser::AddFragment(), TGenericDetector::AddFragment(), TPaces::AddFragment(), TTdrSiLi::AddFragment(), TBgo::AddFragment(), TSiLi::AddFragment(), TTip::AddFragment(), TSceptar::AddFragment(), TTdrPlastic::AddFragment(), TTAC::AddFragment(), TFippsTAC::AddFragment(), TEagle::AddFragment(), TDescant::AddFragment(), TZeroDegree::AddFragment(), TTdrClover::AddFragment(), TTdrTigress::AddFragment(), TFipps::AddFragment(), TIfin::AddFragment(), AddFragment(), TLaBr::AddFragment(), TFippsLaBr::AddFragment(), TTigress::AddFragment(), TEmma::BuildHits(), TCSM::BuildHits(), TSharc::BuildHits(), TTigress::BuildHits(), TSharc::Clear(), TDetector::Clear(), TEmma::Clear(), Clear(), TDetector::ClearTransients(), TDetector::Copy(), TSiLi::GetAddbackMultiplicity(), TTigress::GetAddbackMultiplicity(), TFipps::GetFippsHit(), TDetector::GetHit(), TDetector::GetHitVector(), TIfin::GetIfinHit(), TDetector::GetMultiplicity(), GetMultiplicity(), TSharc::GetSize(), TFippsLaBr::GetSuppressedMultiplicity(), TLaBr::GetSuppressedMultiplicity(), TTdrTigress::GetSuppressedMultiplicity(), TTdrClover::GetSuppressedMultiplicity(), TSiLi::Print(), TTdrSiLi::Print(), TTAC::Print(), TPaces::Print(), TFippsTAC::Print(), TTip::Print(), TZeroDegree::Print(), TTdrPlastic::Print(), TSceptar::Print(), TEagle::Print(), TDetector::Print(), TDescant::Print(), TEmma::Print(), TFippsLaBr::Print(), TLaBr::Print(), Print(), TTigress::Print(), TSiLi::UseFitCharge(), and TDetector::~TDetector().
|
static |
Definition at line 114 of file TTrific.h.
Referenced by TTrificHit::GetPosition(), and GetPosition().
TVector3 TTrific::fParticle = TVector3(0,0,0) |
Int_t TTrific::fRange = 0 |
|
staticprivate |
! Flag for Waveforms ON/OFF
Definition at line 97 of file TTrific.h.
Referenced by Copy(), and SetCoreWave().
|
private |
Definition at line 101 of file TTrific.h.
Referenced by AddFragment(), Clear(), Copy(), GetRange(), GetSingMultiplicity(), GetTrificSingHit(), and Print().
|
static |
Definition at line 113 of file TTrific.h.
Referenced by TTrificHit::GetPosition(), and GetPosition().
|
static |
Definition at line 115 of file TTrific.h.
Referenced by TTrificHit::GetPosition(), GetPosition(), SetCustomTargetChamber(), SetSharc(), and SetTip().
|
private |
Definition at line 103 of file TTrific.h.
Referenced by Clear(), ClearTransients(), Copy(), GetPosition(), and GetRange().
|
private |
Definition at line 99 of file TTrific.h.
Referenced by AddFragment(), Clear(), Copy(), GetPosition(), GetRange(), GetTrificXHit(), GetXMultiplicity(), GetXYGrid(), and Print().
|
staticprivate |
Definition at line 120 of file TTrific.h.
Referenced by GetPosition().
|
private |
Definition at line 100 of file TTrific.h.
Referenced by AddFragment(), Clear(), Copy(), GetPosition(), GetRange(), GetTrificYHit(), GetXYGrid(), GetYMultiplicity(), and Print().
|
staticprivate |
Definition at line 122 of file TTrific.h.
Referenced by GetPosition().