Hall C ROOT/C++ Analyzer (hcana)
Loading...
Searching...
No Matches
THcHallCSpectrometer Class Reference

A standard Hall C spectrometer apparatus. More...

#include <THcHallCSpectrometer.h>

Inheritance diagram for THcHallCSpectrometer:
Collaboration diagram for THcHallCSpectrometer:

Classes

struct  reconTerm
 

Public Member Functions

virtual void AddEvtType (int evtype)
 
virtual Int_t BestTrackSimple ()
 Choose best track based on Chisq.
 
virtual Int_t BestTrackUsingPrune ()
 Choose best track after pruning.
 
virtual Int_t BestTrackUsingScin ()
 Choose best track using closeness to scintillator hits.
 
virtual void CalculateTargetQuantities (THaTrack *track, Double_t &gbeam_y, Double_t &xptar, Double_t &ytar, Double_t &yptar, Double_t &delta)
 Transport focal plane track to target.
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
virtual void EnforcePruneLimits ()
 Enforce minimum values for the prune cuts.
 
virtual Int_t FindVertices (TClonesArray &tracks)
 Reconstruct target coordinates.
 
Double_t GetBetaAtPcentral () const
 
virtual Int_t GetNumTypes ()
 
Double_t GetParticleMass () const
 
Bool_t GetTrSorting () const
 
Bool_t InsideDipoleExitWindow (Double_t x_fp, Double_t xp_fp, Double_t y_fp, Double_t yp_fp)
 
virtual Bool_t IsMyEvent (Int_t evtype) const
 
virtual Bool_t IsPresent ()
 
virtual Int_t ReadDatabase (const TDatime &date)
 Loads parameters to characterize a Hall C spectrometer.
 
virtual Int_t ReadRunDatabase (const TDatime &date)
 
virtual void SetEvtType (int evtype)
 
Bool_t SetTrSorting (Bool_t set=kFALSE)
 
 THcHallCSpectrometer (const char *name, const char *description)
 
virtual Int_t TrackCalc ()
 
virtual Int_t TrackTimes (TClonesArray *tracks)
 
virtual ~THcHallCSpectrometer ()
 
- Public Member Functions inherited from THaSpectrometer
virtual Int_t AddDetector (THaDetector *det, Bool_t quiet=false, Bool_t first=false)
 
virtual Int_t AddPidParticle (const char *shortname, const char *name, Double_t mass, Int_t charge=0)
 
virtual Int_t CalcPID ()
 
virtual void Clear (Option_t *opt="")
 
virtual Int_t CoarseReconstruct ()
 
virtual Int_t CoarseTrack ()
 
virtual void DefinePidParticles ()
 
Double_t GetCollDist () const
 
THaTrackGetGoldenTrack () const
 
Int_t GetNpidDetectors () const
 
Int_t GetNpidParticles () const
 
Int_t GetNTracks () const
 
Double_t GetPcentral () const
 
Double_t GetPhiGeo () const
 
Double_t GetPhiSph () const
 
THaPidDetectorGetPidDetector (Int_t i) const
 
THaParticleInfoGetPidParticleInfo (Int_t i) const
 
const TVector3GetPointingOffset () const
 
Double_t GetThetaGeo () const
 
Double_t GetThetaSph () const
 
const TRotationGetToLabRot () const
 
const TRotationGetToTraRot () const
 
TClonesArrayGetTrackPID () const
 
TClonesArrayGetTracks () const
 
virtual const TVector3GetVertex () const
 
virtual Bool_t HasVertex () const
 
virtual EStatus Init (const TDatime &run_time)
 
Bool_t IsDone (UInt_t stage) const
 
Bool_t IsPID () const
 
void LabToTransport (const TVector3 &vertex, const TVector3 &pvect, Double_t *ray) const
 
virtual void LabToTransport (const TVector3 &vertex, const TVector3 &pvect, TVector3 &tvertex, Double_t *ray) const
 
virtual Int_t Reconstruct ()
 
void SetCentralAngles (Double_t th, Double_t ph, Bool_t bend_down)
 
void SetGoldenTrack (THaTrack *t)
 
void SetPID (Bool_t b=true)
 
virtual Int_t Track ()
 
virtual void TrackToLab (THaTrack &track, TVector3 &pvect) const
 
virtual void TransportToLab (Double_t p, Double_t th, Double_t ph, TVector3 &pvect) const
 
virtual ~THaSpectrometer ()
 
- Public Member Functions inherited from THaApparatus
virtual Int_t Begin (THaRunBase *r=nullptr)
 
virtual Int_t End (THaRunBase *r=nullptr)
 
virtual THaDetectorGetDetector (const char *name)
 
TListGetDetectors ()
 
Int_t GetNumDets () const
 
virtual void Print (Option_t *opt="") const
 
virtual void SetDebugAll (Int_t level)
 
virtual ~THaApparatus ()
 
- Public Member Functions inherited from THaAnalysisObject
const char * GetClassName () const
 
const char * GetConfig () const
 
virtual const char * GetDBFileName () const
 
Int_t GetDebug () const
 
TDatime GetInitDate () const
 
const char * GetPrefix () const
 
TString GetPrefixName () const
 
EStatus Init ()
 
virtual Int_t InitOutput (THaOutput *)
 
Bool_t IsInit () const
 
Bool_t IsOK () const
 
Bool_t IsOKOut () const
 
virtual FILE * OpenFile (const TDatime &date)
 
virtual FILE * OpenRunDBFile (const TDatime &date)
 
THaAnalysisObjectoperator= (const THaAnalysisObject &&)=delete
 
THaAnalysisObjectoperator= (const THaAnalysisObject &)=delete
 
void SetConfig (const char *label)
 
virtual void SetDebug (Int_t level)
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
EStatus Status () const
 
 THaAnalysisObject ()
 
 THaAnalysisObject (const THaAnalysisObject &&)=delete
 
 THaAnalysisObject (const THaAnalysisObject &)=delete
 
virtual ~THaAnalysisObject ()
 
- Public Member Functions inherited from TNamed
void Clear (Option_t *option="") override
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
void Copy (TObject &named) const override
 
virtual void FillBuffer (char *&buffer)
 
const char * GetName () const override
 
const char * GetTitle () const override
 
ULong_t Hash () const override
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
- Public Member Functions inherited from TObject
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
 TObject ()
 
 TObject (const TObject &object)
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
virtual ~TObject ()
 
- Public Member Functions inherited from THaTrackingModule
THaTrackGetTrack ()
 
THaTrackInfoGetTrackInfo ()
 
 THaTrackingModule ()
 
void TrkIfoClear ()
 
virtual ~THaTrackingModule ()=default
 
- Public Member Functions inherited from THaVertexModule
virtual const TVector3GetVertexError () const
 
virtual void VertexClear ()
 
virtual ~THaVertexModule ()=default
 

Protected Member Functions

Bool_t HMSDipoleExitWindow (Double_t x_dip, Double_t y_dip)
 
void InitializeReconstruction ()
 
Bool_t SHMSDipoleExitWindow (Double_t x_dip, Double_t y_dip)
 
- Protected Member Functions inherited from THaSpectrometer
virtual void ListInit ()
 
virtual void PidInit ()
 
 THaSpectrometer (const char *name, const char *description)
 
- Protected Member Functions inherited from THaApparatus
 THaApparatus ()
 
 THaApparatus (const char *name, const char *description)
 
- Protected Member Functions inherited from THaAnalysisObject
virtual const char * ClassNameHere (const char *) const
 
Int_t DefineVarsFromList (const RVarDef *list, EMode mode, const char *def_prefix="", const char *comment_subst="") const
 
Int_t DefineVarsFromList (const VarDef *list, EMode mode=kDefine, const char *def_prefix="", const char *comment_subst="") const
 
Int_t DefineVarsFromList (const void *list, EType type, EMode mode, const char *def_prefix="", const char *comment_subst="") const
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
THaAnalysisObjectFindModule (const char *name, const char *classname, bool do_error=true)
 
virtual const char * Here (const char *) const
 
Int_t LoadDB (FILE *f, const TDatime &date, const DBRequest *req, Int_t search=0) const
 
virtual void MakePrefix ()
 
void MakePrefix (const char *basename)
 
Int_t RemoveVariables ()
 
 THaAnalysisObject (const char *name, const char *description)
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
- Protected Member Functions inherited from THaVertexModule
 THaVertexModule ()
 

Protected Attributes

std::vector< Int_teventtypes
 
Double_t fAngOffset_x
 
Double_t fAngOffset_y
 
Double_t fAngSlope_x
 
Double_t fAngSlope_y
 
THcDCfDC
 
Double_t fDeltaOffset
 
Double_t fDetOffset_x
 
Double_t fDetOffset_y
 
Int_t fGoodTrack
 
THcHodoscopefHodo
 
Double_t fHodoCenter3
 
Double_t fHodoCenter4
 
Double_t fMispointing_x
 
Double_t fMispointing_y
 
Int_t fNPlanes
 
Int_t fNReconTerms
 
Int_t fNtracks
 
Double_t fOopCentralOffset
 
Double_t fPartMass
 
Double_t fPCentralOffset
 
Double_t fPhi_lab
 
Double_t fPhiOffset
 
Bool_t fPresent
 
Double_t fPruneBeta
 
Double_t fPruneChiBeta
 
Double_t fPruneDelta
 
Double_t fPruneDf
 
Double_t fPruneDipoleExit
 
Double_t fPruneFpTime
 
Double_t fPruneNPMT
 
Double_t fPruneSelect
 
Double_t fPruneXp
 
Double_t fPruneYp
 
Double_t fPruneYtar
 
std::vector< reconTermfReconTerms
 
Double_t fSatCorr
 
Double_t fScin2XdZpos
 
Double_t fScin2XSpacing
 
Double_t fScin2XZpos
 
Double_t fScin2YdZpos
 
Double_t fScin2YSpacing
 
Double_t fScin2YZpos
 
Double_t fSelBetaMax
 
Double_t fSelBetaMin
 
Double_t fSeldEdX1Max
 
Double_t fSeldEdX1Min
 
Double_t fSelEtMax
 
Double_t fSelEtMin
 
Double_t fSelNDegreesMin
 
Int_t fSelUsingPrune
 
Int_t fSelUsingScin
 
Double_t fTheta_lab
 
Double_t fThetaCentralOffset
 
Double_t fThetaOffset
 
Bool_t fUseHMSDipoleExitWindow
 
Bool_t fUseSHMSDipoleExitWindow
 
Double_t fZTrueFocus
 
- Protected Attributes inherited from THaSpectrometer
Double_t fCollDist
 
Double_t fCosPhGeo
 
Double_t fCosPhSph
 
Double_t fCosThGeo
 
Double_t fCosThSph
 
THaTrackfGoldenTrack
 
TListfNonTrackingDetectors
 
Double_t fPcentral
 
Double_t fPhiGeo
 
Double_t fPhiSph
 
Bool_t fPID
 
TObjArrayfPidDetectors
 
TObjArrayfPidParticles
 
TVector3 fPointingOffset
 
Double_t fSinPhGeo
 
Double_t fSinPhSph
 
Double_t fSinThGeo
 
Double_t fSinThSph
 
UInt_t fStagesDone
 
Double_t fThetaGeo
 
Double_t fThetaSph
 
TRotation fToLabRot
 
TRotation fToTraRot
 
TListfTrackingDetectors
 
TClonesArrayfTrackPID
 
TClonesArrayfTracks
 
- Protected Attributes inherited from THaApparatus
TListfDetectors
 
- Protected Attributes inherited from THaAnalysisObject
TString fConfig
 
Int_t fDebug
 
TObjectfExtra
 
TDatime fInitDate
 
Bool_t fIsInit
 
Bool_t fIsSetup
 
std::map< std::string, UInt_tfMessages
 
UInt_t fNEventsWithWarnings
 
Bool_t fOKOut
 
char * fPrefix
 
UInt_t fProperties
 
EStatus fStatus
 
 kConfigOverride
 
 kNeedsRunDB
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from THaTrackingModule
THaTrackfTrk
 
THaTrackInfo fTrkIfo
 
- Protected Attributes inherited from THaVertexModule
TVector3 fVertex
 
TVector3 fVertexError
 
Bool_t fVertexOK
 

Static Protected Attributes

static const UInt_t kSortTracks = BIT(16)
 
- Static Protected Attributes inherited from THaSpectrometer
static const Int_t kInitTrackMultiplicity
 

Additional Inherited Members

- Public Types inherited from THaSpectrometer
enum  EStagesDone
 
- Public Types inherited from THaAnalysisObject
enum  EMode
 
enum  EStatus
 
enum  EType
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from THaAnalysisObject
static Int_t DefineVarsFromList (const void *list, EType type, EMode mode, const char *def_prefix, const TObject *obj, const char *prefix, const char *here, const char *comment_subst="")
 
static void GeoToSph (Double_t th_geo, Double_t ph_geo, Double_t &th_sph, Double_t &ph_sph)
 
static Bool_t IntersectPlaneWithRay (const TVector3 &xax, const TVector3 &yax, const TVector3 &org, const TVector3 &ray_start, const TVector3 &ray_vect, Double_t &length, TVector3 &intersect)
 
static Int_t LoadDB (FILE *file, const TDatime &date, const DBRequest *request, const char *prefix, Int_t search=0, const char *here="THaAnalysisObject::LoadDB")
 
static void PrintObjects (Option_t *opt="")
 
static void SphToGeo (Double_t th_sph, Double_t ph_sph, Double_t &th_geo, Double_t &ph_geo)
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Static Public Member Functions inherited from THaTrackingModule
static const RVarDef * GetRVarDef ()
 
- Static Public Member Functions inherited from THaVertexModule
static const RVarDef * GetRVarDef ()
 
- Public Attributes inherited from THaSpectrometer
 kCoarseRecon
 
 kCoarseTrack
 
 kReconstruct
 
 kTracking
 
- Public Attributes inherited from THaAnalysisObject
 kDefine
 
 kDelete
 
 kFileError
 
 kInitError
 
 kNotinit
 
 kOK
 
 kRVarDef
 
 kVarDef
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Types inherited from THaAnalysisObject
enum  EProperties
 

Detailed Description

A standard Hall C spectrometer apparatus.

The usual name of this object is either "H", "P", "S" for HMS, suPerHMS, or SOS respectively

Defines the functions FindVertices() and TrackCalc(), which are common to the HMS, SHMS and SOS.

FindVertices() transports all the tracks in focal plane transport coordinates to the target using the method CalculateTargetQuantities() which uses the standard optics polynomials. The tracks are then rotated to the LAB coordinate system where +Z points to beam dump, +Y is up, and +X is beam left. The Golden track is then selected using one of the methods BestTrackSimple(), BestTrackUsingPrune(), BestTrackUsingScin(), depending on parameter settings.

Author
S. A. Wood

Definition at line 36 of file THcHallCSpectrometer.h.

Constructor & Destructor Documentation

◆ THcHallCSpectrometer()

THcHallCSpectrometer::THcHallCSpectrometer ( const char *  name,
const char *  description 
)

Definition at line 110 of file THcHallCSpectrometer.cxx.

◆ ~THcHallCSpectrometer()

THcHallCSpectrometer::~THcHallCSpectrometer ( )
virtual

Definition at line 123 of file THcHallCSpectrometer.cxx.

Member Function Documentation

◆ AddEvtType()

void THcHallCSpectrometer::AddEvtType ( int  evtype)
virtual

Definition at line 1099 of file THcHallCSpectrometer.cxx.

◆ BestTrackSimple()

Int_t THcHallCSpectrometer::BestTrackSimple ( )
virtual

Choose best track based on Chisq.

Choose the track with the lowest tracking fitting Chisq to be the "best track"

Definition at line 599 of file THcHallCSpectrometer.cxx.

◆ BestTrackUsingPrune()

Int_t THcHallCSpectrometer::BestTrackUsingPrune ( )
virtual

Choose best track after pruning.

Select as best track the track with the lowest Chisq after pruning tracks that don't meet various criteria such as xptar, yptar, ytar delta, beta, degrees of freedom (of track fit), difference between measured beta and beta from p, chisq of beta fit, focal plane time and number of PMT hit.

Prune on num pmt hits

Definition at line 776 of file THcHallCSpectrometer.cxx.

◆ BestTrackUsingScin()

Int_t THcHallCSpectrometer::BestTrackUsingScin ( )
virtual

Choose best track using closeness to scintillator hits.

Select as best track the track closest to a S2Y hit. If there are no S2Y hits, select the track closest to a S2X hit.

Also reject tracks if they fail dEdx, beta, or calorimeter energy cuts.

Definition at line 619 of file THcHallCSpectrometer.cxx.

◆ CalculateTargetQuantities()

void THcHallCSpectrometer::CalculateTargetQuantities ( THaTrack track,
Double_t gbeam_y,
Double_t xptar,
Double_t ytar,
Double_t yptar,
Double_t delta 
)
virtual

Transport focal plane track to target.

Transport a track in the the focal plane coordinate system to the target using the reconstruction matrix elements.

If Xsatcorr is 2000, apply a specific correction to delta for saturation effects.

Definition at line 519 of file THcHallCSpectrometer.cxx.

◆ Decode()

Int_t THcHallCSpectrometer::Decode ( const THaEvData evdata)
virtual

Reimplemented from THaApparatus.

Definition at line 1076 of file THcHallCSpectrometer.cxx.

◆ DefineVariables()

Int_t THcHallCSpectrometer::DefineVariables ( EMode  mode = kDefine)
virtual

Reimplemented from THaSpectrometer.

Definition at line 131 of file THcHallCSpectrometer.cxx.

◆ EnforcePruneLimits()

void THcHallCSpectrometer::EnforcePruneLimits ( )
virtual

Enforce minimum values for the prune cuts.

Definition at line 453 of file THcHallCSpectrometer.cxx.

◆ FindVertices()

Int_t THcHallCSpectrometer::FindVertices ( TClonesArray tracks)
virtual

Reconstruct target coordinates.

Reconstruct target coordinates for all tracks found in the focal plane.

In Hall A, this is passed off to the tracking detectors.

In Hall C, we do the target traceback here since the traceback should not depend on which tracking detectors are used.

Select the best track.

Implements THaSpectrometer.

Definition at line 468 of file THcHallCSpectrometer.cxx.

◆ GetBetaAtPcentral()

Double_t THcHallCSpectrometer::GetBetaAtPcentral ( ) const
inline

Definition at line 62 of file THcHallCSpectrometer.h.

◆ GetNumTypes()

virtual Int_t THcHallCSpectrometer::GetNumTypes ( )
inlinevirtual

Definition at line 68 of file THcHallCSpectrometer.h.

◆ GetParticleMass()

Double_t THcHallCSpectrometer::GetParticleMass ( ) const
inline

Definition at line 61 of file THcHallCSpectrometer.h.

◆ GetTrSorting()

Bool_t THcHallCSpectrometer::GetTrSorting ( ) const

Definition at line 165 of file THcHallCSpectrometer.cxx.

◆ HMSDipoleExitWindow()

Bool_t THcHallCSpectrometer::HMSDipoleExitWindow ( Double_t  x_dip,
Double_t  y_dip 
)
protected

Definition at line 1147 of file THcHallCSpectrometer.cxx.

◆ InitializeReconstruction()

void THcHallCSpectrometer::InitializeReconstruction ( )
protected

Definition at line 171 of file THcHallCSpectrometer.cxx.

◆ InsideDipoleExitWindow()

Bool_t THcHallCSpectrometer::InsideDipoleExitWindow ( Double_t  x_fp,
Double_t  xp_fp,
Double_t  y_fp,
Double_t  yp_fp 
)

Definition at line 1117 of file THcHallCSpectrometer.cxx.

◆ IsMyEvent()

Bool_t THcHallCSpectrometer::IsMyEvent ( Int_t  evtype) const
virtual

Definition at line 1108 of file THcHallCSpectrometer.cxx.

◆ IsPresent()

virtual Bool_t THcHallCSpectrometer::IsPresent ( )
inlinevirtual

Definition at line 69 of file THcHallCSpectrometer.h.

◆ ReadDatabase()

Int_t THcHallCSpectrometer::ReadDatabase ( const TDatime date)
virtual

Loads parameters to characterize a Hall C spectrometer.

Loads parameters including the angle settings of the spectrometer, various offsets, and the name of the file containing the hut to target transformation polynomials. Also loads parameters to control best track selection.

Reads the hut to target transformation polynomial coefficients for use by CalculateTargetQuantities().

Calls SetCentralAngles(th_geo,ph_geo,bend_down) where bend_down is a flag that should equal kFALSE for Hall C spectrometers. th_geo and ph_geo are in degrees.

Reimplemented from THaAnalysisObject.

Definition at line 184 of file THcHallCSpectrometer.cxx.

◆ ReadRunDatabase()

Int_t THcHallCSpectrometer::ReadRunDatabase ( const TDatime date)
virtual

Reimplemented from THaSpectrometer.

Definition at line 1091 of file THcHallCSpectrometer.cxx.

◆ SetEvtType()

void THcHallCSpectrometer::SetEvtType ( int  evtype)
virtual

Definition at line 1103 of file THcHallCSpectrometer.cxx.

◆ SetTrSorting()

Bool_t THcHallCSpectrometer::SetTrSorting ( Bool_t  set = kFALSE)

Definition at line 154 of file THcHallCSpectrometer.cxx.

◆ SHMSDipoleExitWindow()

Bool_t THcHallCSpectrometer::SHMSDipoleExitWindow ( Double_t  x_dip,
Double_t  y_dip 
)
protected

Definition at line 1129 of file THcHallCSpectrometer.cxx.

◆ TrackCalc()

Int_t THcHallCSpectrometer::TrackCalc ( )
virtual

Implements THaSpectrometer.

Definition at line 575 of file THcHallCSpectrometer.cxx.

◆ TrackTimes()

Int_t THcHallCSpectrometer::TrackTimes ( TClonesArray tracks)
virtual

Definition at line 1065 of file THcHallCSpectrometer.cxx.

Member Data Documentation

◆ eventtypes

std::vector<Int_t> THcHallCSpectrometer::eventtypes
protected

Definition at line 162 of file THcHallCSpectrometer.h.

◆ fAngOffset_x

Double_t THcHallCSpectrometer::fAngOffset_x
protected

Definition at line 141 of file THcHallCSpectrometer.h.

◆ fAngOffset_y

Double_t THcHallCSpectrometer::fAngOffset_y
protected

Definition at line 142 of file THcHallCSpectrometer.h.

◆ fAngSlope_x

Double_t THcHallCSpectrometer::fAngSlope_x
protected

Definition at line 139 of file THcHallCSpectrometer.h.

◆ fAngSlope_y

Double_t THcHallCSpectrometer::fAngSlope_y
protected

Definition at line 140 of file THcHallCSpectrometer.h.

◆ fDC

THcDC* THcHallCSpectrometer::fDC
protected

Definition at line 121 of file THcHallCSpectrometer.h.

◆ fDeltaOffset

Double_t THcHallCSpectrometer::fDeltaOffset
protected

Definition at line 148 of file THcHallCSpectrometer.h.

◆ fDetOffset_x

Double_t THcHallCSpectrometer::fDetOffset_x
protected

Definition at line 143 of file THcHallCSpectrometer.h.

◆ fDetOffset_y

Double_t THcHallCSpectrometer::fDetOffset_y
protected

Definition at line 144 of file THcHallCSpectrometer.h.

◆ fGoodTrack

Int_t THcHallCSpectrometer::fGoodTrack
protected

Definition at line 97 of file THcHallCSpectrometer.h.

◆ fHodo

THcHodoscope* THcHallCSpectrometer::fHodo
protected

Definition at line 120 of file THcHallCSpectrometer.h.

◆ fHodoCenter3

Double_t THcHallCSpectrometer::fHodoCenter3
protected

Definition at line 115 of file THcHallCSpectrometer.h.

◆ fHodoCenter4

Double_t THcHallCSpectrometer::fHodoCenter4
protected

Definition at line 115 of file THcHallCSpectrometer.h.

◆ fMispointing_x

Double_t THcHallCSpectrometer::fMispointing_x
protected

Definition at line 154 of file THcHallCSpectrometer.h.

◆ fMispointing_y

Double_t THcHallCSpectrometer::fMispointing_y
protected

Definition at line 155 of file THcHallCSpectrometer.h.

◆ fNPlanes

Int_t THcHallCSpectrometer::fNPlanes
protected

Definition at line 100 of file THcHallCSpectrometer.h.

◆ fNReconTerms

Int_t THcHallCSpectrometer::fNReconTerms
protected

Definition at line 123 of file THcHallCSpectrometer.h.

◆ fNtracks

Int_t THcHallCSpectrometer::fNtracks
protected

Definition at line 101 of file THcHallCSpectrometer.h.

◆ fOopCentralOffset

Double_t THcHallCSpectrometer::fOopCentralOffset
protected

Definition at line 150 of file THcHallCSpectrometer.h.

◆ fPartMass

Double_t THcHallCSpectrometer::fPartMass
protected

Definition at line 84 of file THcHallCSpectrometer.h.

◆ fPCentralOffset

Double_t THcHallCSpectrometer::fPCentralOffset
protected

Definition at line 151 of file THcHallCSpectrometer.h.

◆ fPhi_lab

Double_t THcHallCSpectrometer::fPhi_lab
protected

Definition at line 153 of file THcHallCSpectrometer.h.

◆ fPhiOffset

Double_t THcHallCSpectrometer::fPhiOffset
protected

Definition at line 147 of file THcHallCSpectrometer.h.

◆ fPresent

Bool_t THcHallCSpectrometer::fPresent
protected

Definition at line 163 of file THcHallCSpectrometer.h.

◆ fPruneBeta

Double_t THcHallCSpectrometer::fPruneBeta
protected

Definition at line 89 of file THcHallCSpectrometer.h.

◆ fPruneChiBeta

Double_t THcHallCSpectrometer::fPruneChiBeta
protected

Definition at line 91 of file THcHallCSpectrometer.h.

◆ fPruneDelta

Double_t THcHallCSpectrometer::fPruneDelta
protected

Definition at line 88 of file THcHallCSpectrometer.h.

◆ fPruneDf

Double_t THcHallCSpectrometer::fPruneDf
protected

Definition at line 90 of file THcHallCSpectrometer.h.

◆ fPruneDipoleExit

Double_t THcHallCSpectrometer::fPruneDipoleExit
protected

Definition at line 83 of file THcHallCSpectrometer.h.

◆ fPruneFpTime

Double_t THcHallCSpectrometer::fPruneFpTime
protected

Definition at line 92 of file THcHallCSpectrometer.h.

◆ fPruneNPMT

Double_t THcHallCSpectrometer::fPruneNPMT
protected

Definition at line 93 of file THcHallCSpectrometer.h.

◆ fPruneSelect

Double_t THcHallCSpectrometer::fPruneSelect
protected

Definition at line 95 of file THcHallCSpectrometer.h.

◆ fPruneXp

Double_t THcHallCSpectrometer::fPruneXp
protected

Definition at line 85 of file THcHallCSpectrometer.h.

◆ fPruneYp

Double_t THcHallCSpectrometer::fPruneYp
protected

Definition at line 86 of file THcHallCSpectrometer.h.

◆ fPruneYtar

Double_t THcHallCSpectrometer::fPruneYtar
protected

Definition at line 87 of file THcHallCSpectrometer.h.

◆ fReconTerms

std::vector<reconTerm> THcHallCSpectrometer::fReconTerms
protected

Definition at line 136 of file THcHallCSpectrometer.h.

◆ fSatCorr

Double_t THcHallCSpectrometer::fSatCorr
protected

Definition at line 94 of file THcHallCSpectrometer.h.

◆ fScin2XdZpos

Double_t THcHallCSpectrometer::fScin2XdZpos
protected

Definition at line 111 of file THcHallCSpectrometer.h.

◆ fScin2XSpacing

Double_t THcHallCSpectrometer::fScin2XSpacing
protected

Definition at line 116 of file THcHallCSpectrometer.h.

◆ fScin2XZpos

Double_t THcHallCSpectrometer::fScin2XZpos
protected

Definition at line 110 of file THcHallCSpectrometer.h.

◆ fScin2YdZpos

Double_t THcHallCSpectrometer::fScin2YdZpos
protected

Definition at line 113 of file THcHallCSpectrometer.h.

◆ fScin2YSpacing

Double_t THcHallCSpectrometer::fScin2YSpacing
protected

Definition at line 116 of file THcHallCSpectrometer.h.

◆ fScin2YZpos

Double_t THcHallCSpectrometer::fScin2YZpos
protected

Definition at line 112 of file THcHallCSpectrometer.h.

◆ fSelBetaMax

Double_t THcHallCSpectrometer::fSelBetaMax
protected

Definition at line 107 of file THcHallCSpectrometer.h.

◆ fSelBetaMin

Double_t THcHallCSpectrometer::fSelBetaMin
protected

Definition at line 106 of file THcHallCSpectrometer.h.

◆ fSeldEdX1Max

Double_t THcHallCSpectrometer::fSeldEdX1Max
protected

Definition at line 105 of file THcHallCSpectrometer.h.

◆ fSeldEdX1Min

Double_t THcHallCSpectrometer::fSeldEdX1Min
protected

Definition at line 104 of file THcHallCSpectrometer.h.

◆ fSelEtMax

Double_t THcHallCSpectrometer::fSelEtMax
protected

Definition at line 109 of file THcHallCSpectrometer.h.

◆ fSelEtMin

Double_t THcHallCSpectrometer::fSelEtMin
protected

Definition at line 108 of file THcHallCSpectrometer.h.

◆ fSelNDegreesMin

Double_t THcHallCSpectrometer::fSelNDegreesMin
protected

Definition at line 103 of file THcHallCSpectrometer.h.

◆ fSelUsingPrune

Int_t THcHallCSpectrometer::fSelUsingPrune
protected

Definition at line 99 of file THcHallCSpectrometer.h.

◆ fSelUsingScin

Int_t THcHallCSpectrometer::fSelUsingScin
protected

Definition at line 98 of file THcHallCSpectrometer.h.

◆ fTheta_lab

Double_t THcHallCSpectrometer::fTheta_lab
protected

Definition at line 152 of file THcHallCSpectrometer.h.

◆ fThetaCentralOffset

Double_t THcHallCSpectrometer::fThetaCentralOffset
protected

Definition at line 149 of file THcHallCSpectrometer.h.

◆ fThetaOffset

Double_t THcHallCSpectrometer::fThetaOffset
protected

Definition at line 146 of file THcHallCSpectrometer.h.

◆ fUseHMSDipoleExitWindow

Bool_t THcHallCSpectrometer::fUseHMSDipoleExitWindow
protected

Definition at line 79 of file THcHallCSpectrometer.h.

◆ fUseSHMSDipoleExitWindow

Bool_t THcHallCSpectrometer::fUseSHMSDipoleExitWindow
protected

Definition at line 78 of file THcHallCSpectrometer.h.

◆ fZTrueFocus

Double_t THcHallCSpectrometer::fZTrueFocus
protected

Definition at line 145 of file THcHallCSpectrometer.h.

◆ kSortTracks

const UInt_t THcHallCSpectrometer::kSortTracks = BIT(16)
staticprotected

Definition at line 160 of file THcHallCSpectrometer.h.


The documentation for this class was generated from the following files: