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

Subdetector class for a single drift chamber with several planes. More...

#include <THcDriftChamber.h>

Inheritance diagram for THcDriftChamber:
Collaboration diagram for THcDriftChamber:

Public Member Functions

virtual void AddPlane (THcDriftChamberPlane *plane)
 
virtual Int_t ApplyCorrections (void)
 
virtual void Clear (Option_t *opt="")
 
virtual void CorrectHitTimes (void)
 
virtual Int_t Decode (const THaEvData &)
 
virtual Int_t FindSpacePoints (void)
 
Int_t GetChamberNum () const
 
Int_t GetNHits () const
 
Int_t GetNSpacePoints () const
 
Int_t GetNTracks () const
 
TClonesArrayGetSpacePointsP () const
 
const TClonesArrayGetTrackHits () const
 
Double_t GetZPos () const
 
virtual EStatus Init (const TDatime &run_time)
 
virtual void LeftRight (void)
 
virtual Int_t NewFindSpacePoints (void)
 
virtual void PrintDecode (void)
 
virtual void ProcessHits (void)
 
void SetHMSStyleFlag (Int_t flag)
 
 THcDriftChamber ()
 
 THcDriftChamber (const char *name, const char *description, Int_t chambernum, THaDetectorBase *parent=NULL)
 
virtual ~THcDriftChamber ()
 
- Public Member Functions inherited from THaSubDetector
THaApparatusGetApparatus () const
 
THaDetectorBaseGetDetector () const
 
THaDetectorGetMainDetector () const
 
THaDetectorBaseGetParent () const
 
void SetDetector (THaDetectorBase *det)
 
virtual void SetParent (THaDetectorBase *)
 
virtual ~THaSubDetector ()=default
 
- Public Member Functions inherited from THaDetectorBase
TVector3 DetToTrackCoord (const TVector3 &point) const
 
TVector3 DetToTrackCoord (Double_t x, Double_t y) const
 
Int_t FillDetMap (const std::vector< Int_t > &values, UInt_t flags=0, const char *here="FillDetMap")
 
VecDetData_tGetDetectorData ()
 
THaDetMapGetDetMap () const
 
Int_t GetNelem () const
 
Int_t GetNviews () const
 
const TVector3GetOrigin () const
 
const Double_tGetSize () const
 
virtual Int_t GetView (const DigitizerHitInfo_t &hitinfo) const
 
const TVector3GetXax () const
 
Double_t GetXSize () const
 
const TVector3GetYax () const
 
Double_t GetYSize () const
 
const TVector3GetZax () const
 
Double_t GetZSize () const
 
virtual Bool_t IsInActiveArea (const TVector3 &point) const
 
virtual Bool_t IsInActiveArea (Double_t x, Double_t y) const
 
void PrintDetMap (Option_t *opt="") const
 
virtual void Reset (Option_t *opt="")
 
 THaDetectorBase ()
 
TVector3 TrackToDetCoord (const TVector3 &point) const
 
virtual ~THaDetectorBase ()
 
- Public Member Functions inherited from THaAnalysisObject
virtual Int_t Begin (THaRunBase *r=nullptr)
 
virtual Int_t End (THaRunBase *r=nullptr)
 
const char * GetClassName () const
 
const char * GetConfig () 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
 
virtual void Print (Option_t *opt="") const
 
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 ()
 

Protected Member Functions

void ChooseSingleHit (void)
 
UInt_t Count1Bits (UInt_t x)
 
virtual Int_t DefineVariables (EMode mode=kDefine)
 
void DeleteArrays ()
 
Int_t DestroyPoorSpacePoints (void)
 
Int_t FindEasySpacePoint_HMS (Int_t yplane_hitind, Int_t yplanep_hitind)
 
Int_t FindEasySpacePoint_SOS (Int_t xplane_hitind, Int_t xplanep_hitind)
 
Int_t FindHardSpacePoints (void)
 
Double_t FindStub (Int_t nhits, THcSpacePoint *sp, Int_t *plane_list, UInt_t bitpat, Int_t *plusminus, Double_t *stub)
 
virtual Int_t ReadDatabase (const TDatime &date)
 
void SelectSpacePoints (void)
 
void Setup (const char *name, const char *description)
 
Int_t SpacePointMultiWire (void)
 
- Protected Member Functions inherited from THaSubDetector
virtual const char * GetDBFileName () const
 
virtual void MakePrefix ()
 
 THaSubDetector ()
 
 THaSubDetector (const char *name, const char *description, THaDetectorBase *parent)
 
- Protected Member Functions inherited from THaDetectorBase
void DataLoadWarning (const DigitizerHitInfo_t &hitinfo, const char *here)
 
void DebugWarning (const char *here, const char *msg, UInt_t evnum)
 
virtual void DefineAxes (Double_t rotation_angle)
 
virtual OptUInt_t LoadData (const THaEvData &evdata, const DigitizerHitInfo_t &hitinfo)
 
void MultipleHitWarning (const DigitizerHitInfo_t &hitinfo, const char *here)
 
virtual void PrintDecodedData (const THaEvData &evdata) const
 
virtual Int_t ReadGeometry (FILE *file, const TDatime &date, Bool_t required=false)
 
virtual Int_t StoreHit (const DigitizerHitInfo_t &hitinfo, UInt_t data)
 
 THaDetectorBase (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
 
void MakePrefix (const char *basename)
 
virtual Int_t ReadRunDatabase (const TDatime &date)
 
Int_t RemoveVariables ()
 
 THaAnalysisObject (const char *name, const char *description)
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 

Protected Attributes

Int_t f
 
std::map< int, TMatrixDfAA3Inv
 
Int_t fChamberNum
 
Double_tfCosBeta
 
Int_t fdebugstubchisq
 
Int_t fEasySpacePoint
 
Int_t fFixPropagationCorrection
 
Int_t fhdebugflagpr
 
std::vector< THcDCHit * > fHits
 
Int_t fHMSStyleChambers
 
Double_t fMaxDist
 
Int_t fMaxHits
 
Int_t fMinCombos
 
Int_t fMinHits
 
Int_t fN_True_RawHits
 
Int_t fNhits
 
Int_t fNPlanes
 
Int_t fNSpacePoints
 
Int_t fNthits
 
Int_t fNUPlaneClusters
 
Int_t fNUXPlaneClusters
 
Int_t fNVPlaneClusters
 
Int_t fNVXPlaneClusters
 
Int_t fNXPlaneClusters
 
THaDetectorBasefParent
 
std::vector< THcDriftChamberPlane * > fPlanes
 
Double_tfPsi0
 
Double_t fRatio_xpfp_to_xfp
 
Int_t fRemove_Sppt_If_One_YPlane
 
Double_tfSigma
 
Double_tfSinBeta
 
Int_t fSmallAngleApprox
 
Double_t fSpacePointCriterion
 
TClonesArrayfSpacePoints
 
SpacePointHitOutputData fSpHit
 
Double_t ** fStubCoefs
 
Double_t fStubMaxXPDiff
 
Double_tfTanBeta
 
TClonesArrayfTrackProj
 
TClonesArrayfUPlaneClusters
 
TClonesArrayfUXPlaneClusters
 
TClonesArrayfVPlaneClusters
 
TClonesArrayfVXPlaneClusters
 
Double_t fWireVelocity
 
Double_t fXCenter
 
TClonesArrayfXPlaneClusters
 
Double_t fYCenter
 
Double_t fZPos
 
Double_tstubcoef [4]
 
Int_t XPlaneInd
 
Int_t XPlaneNum
 
Int_t XPlanePInd
 
Int_t XPlanePNum
 
Int_t YPlaneInd
 
Int_t YPlaneNum
 
Int_t YPlanePInd
 
Int_t YPlanePNum
 
- Protected Attributes inherited from THaDetectorBase
VecDetData_t fDetectorData
 
THaDetMapfDetMap
 
Int_t fNelem
 
Int_t fNviews
 
TVector3 fOrigin
 
Double_t fSize [3]
 
TVector3 fXax
 
TVector3 fYax
 
TVector3 fZax
 
- 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
 

Additional Inherited Members

- Public Types inherited from THaDetectorBase
typedef std::vector< std::unique_ptr< Podd::DetectorData > > VecDetData_t
 
- 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)
 
- 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

Subdetector class for a single drift chamber with several planes.

This class will be created by the THcDC class which will also create the plane objects.

The THcDC class will then pass this class a list of the planes.

Definition at line 37 of file THcDriftChamber.h.

Constructor & Destructor Documentation

◆ THcDriftChamber() [1/2]

THcDriftChamber::THcDriftChamber ( const char *  name,
const char *  description,
Int_t  chambernum,
THaDetectorBase parent = NULL 
)

Definition at line 39 of file THcDriftChamber.cxx.

◆ ~THcDriftChamber()

THcDriftChamber::~THcDriftChamber ( )
virtual

Definition at line 1623 of file THcDriftChamber.cxx.

◆ THcDriftChamber() [2/2]

THcDriftChamber::THcDriftChamber ( )

Definition at line 64 of file THcDriftChamber.cxx.

Member Function Documentation

◆ AddPlane()

void THcDriftChamber::AddPlane ( THcDriftChamberPlane plane)
virtual

Definition at line 105 of file THcDriftChamber.cxx.

◆ ApplyCorrections()

Int_t THcDriftChamber::ApplyCorrections ( void  )
virtual

Definition at line 1673 of file THcDriftChamber.cxx.

◆ ChooseSingleHit()

void THcDriftChamber::ChooseSingleHit ( void  )
protected

Look at all hits in a space point. If two hits are in the same plane, reject the one with the longer drift time.

Definition at line 1120 of file THcDriftChamber.cxx.

◆ Clear()

void THcDriftChamber::Clear ( Option_t opt = "")
inlinevirtual

Reimplemented from THaDetectorBase.

Definition at line 1662 of file THcDriftChamber.cxx.

◆ CorrectHitTimes()

void THcDriftChamber::CorrectHitTimes ( void  )
virtual

Use the rough hit positions in the chambers to correct the drift time for hits in the space points.

Assume all wires for a plane are read out on the same side (l/r or t/b). If the wire is closer to horizontal, read out left/right. If nearer vertical, assume top/bottom. (Note, this is not always true for the SOS u and v planes. They have 1 card each on the side, but the overall time offset per card will cancel much of the error caused by this. The alternative is to check by card, rather than by plane and this is harder.

Definition at line 1214 of file THcDriftChamber.cxx.

◆ Count1Bits()

UInt_t THcDriftChamber::Count1Bits ( UInt_t  x)
protected

Definition at line 1344 of file THcDriftChamber.cxx.

◆ Decode()

Int_t THcDriftChamber::Decode ( const THaEvData evdata)
virtual

Reimplemented from THaDetectorBase.

Definition at line 85 of file THcDriftChamber.cxx.

◆ DefineVariables()

Int_t THcDriftChamber::DefineVariables ( EMode  mode = kDefine)
protectedvirtual

Reimplemented from THaDetectorBase.

Definition at line 237 of file THcDriftChamber.cxx.

◆ DeleteArrays()

void THcDriftChamber::DeleteArrays ( )
protected

Definition at line 1648 of file THcDriftChamber.cxx.

◆ DestroyPoorSpacePoints()

Int_t THcDriftChamber::DestroyPoorSpacePoints ( void  )
protected

Definition at line 906 of file THcDriftChamber.cxx.

◆ FindEasySpacePoint_HMS()

Int_t THcDriftChamber::FindEasySpacePoint_HMS ( Int_t  yplane_hitind,
Int_t  yplanep_hitind 
)
protected

Simplified HMS find_space_point routing. It is given all y hits and checks to see if all x-like hits are close enough together to make a space point.

This is used for the old style HMS drift chambers, so is not used for any data since the new HMS chambers were installed before the Fall 2017 run.

Definition at line 646 of file THcDriftChamber.cxx.

◆ FindEasySpacePoint_SOS()

Int_t THcDriftChamber::FindEasySpacePoint_SOS ( Int_t  xplane_hitind,
Int_t  xplanep_hitind 
)
protected

Simplified SOS find_space_point routing. It is given all x hits and checks to see if all y-like hits are close enough together to make a space point.

This is used for the SHMS and HMS (since Fall 2017) drift chambers which are of the same style as the old SOS chambers (XUV).

Definition at line 697 of file THcDriftChamber.cxx.

◆ FindHardSpacePoints()

Int_t THcDriftChamber::FindHardSpacePoints ( void  )
protected

Definition at line 750 of file THcDriftChamber.cxx.

◆ FindSpacePoints()

Int_t THcDriftChamber::FindSpacePoints ( void  )
virtual
  1. First check if number of hits is between fMinHits=min_hit and fMaxHits=max_pr_hits if fails then fNSpacePoints=0
  2. Determines if it is an easy spacepoint.
    1. if HMS style chambers finds the Y and Y' planes if not HMS style chambers finds the X and X' planes
    2. if both planes ahve only one hit and the difference in hit position between the hits < fSpacePointCriterion and less than 6 hits . then easy spacepoint and calls either method FindEasySpacePoint_HMS or FindEasySpacePoint_SOS
    3. FindEasySpacePoint_SOS
      1. Loops through hits and gets y_pos from the non-X planes and determines average Yt
      2. Loops through hits and sees if any of "Y-planes" hits has difference of y_pos -Yt > TMath::Sqrt(fSpacePointCriterion/2.0)
      3. Adds a spacepoint and set ncombos to zero.
  3. if not EasySpacePoint calls FindHardSpacePoints
    1. loops though hits and determines pairs of hits in planes with angles grerater then 17.5 degs between them. These are test pairs and stores the x and y position of pair
    1. Double loops through the test pairs to determine number of pair combinations.
      1. Calculates d2 = (xi -xj)^2 + (yi-yj)^2 from the two pairs (i,j).
      2. If d2 < fSpacePointCriterion then fills combos structure with pair info and increments ncombos. c. Loop through ncombos
      1. First combo is set as spacepoint which is loaded with hit info from combos.
      2. Next combo
        1. Loops through previous space points
        2. calculates d2 = (x_c -x_sp)^2 + (y_c-y_sp)^2 between combos and spacepoint if d2 < fSpacePointCriterion then adds combos hit info to that spacepoint which is not already in the spacepoint.
        3. if that combo is not already added to existing spacepoint then new spacepoint is made from the combo.
  4. If it found a spacepoint
    1. For HMS-style chamber it would DestroyPoorSpacePoints if fRemove_Sppt_If_One_YPlane
    2. Presently if HMS-style chamber calls SpacePointMultiWire()
    3. Calls ChooseSingleHit this looks to see if two hits in the same plane. If two hits then rejects on with longer drift time.
    4. calls SelectSpacePoints. Goes through the spacepoints and eliminates spacepoints that do not have nhits > min_hits and ncombos> min_combos ( exception for easyspacepoint)

Definition at line 530 of file THcDriftChamber.cxx.

◆ FindStub()

Double_t THcDriftChamber::FindStub ( Int_t  nhits,
THcSpacePoint sp,
Int_t plane_list,
UInt_t  bitpat,
Int_t plusminus,
Double_t stub 
)
protected

Definition at line 1577 of file THcDriftChamber.cxx.

◆ GetChamberNum()

Int_t THcDriftChamber::GetChamberNum ( ) const
inline

Definition at line 64 of file THcDriftChamber.h.

◆ GetNHits()

Int_t THcDriftChamber::GetNHits ( ) const
inline

Definition at line 59 of file THcDriftChamber.h.

◆ GetNSpacePoints()

Int_t THcDriftChamber::GetNSpacePoints ( ) const
inline

Definition at line 60 of file THcDriftChamber.h.

◆ GetNTracks()

Int_t THcDriftChamber::GetNTracks ( ) const
inline

Definition at line 61 of file THcDriftChamber.h.

◆ GetSpacePointsP()

TClonesArray * THcDriftChamber::GetSpacePointsP ( ) const
inline

Definition at line 63 of file THcDriftChamber.h.

◆ GetTrackHits()

const TClonesArray * THcDriftChamber::GetTrackHits ( ) const
inline

Definition at line 62 of file THcDriftChamber.h.

◆ GetZPos()

Double_t THcDriftChamber::GetZPos ( ) const
inline

Definition at line 65 of file THcDriftChamber.h.

◆ Init()

THaAnalysisObject::EStatus THcDriftChamber::Init ( const TDatime run_time)
virtual

Reimplemented from THaAnalysisObject.

Definition at line 91 of file THcDriftChamber.cxx.

◆ LeftRight()

void THcDriftChamber::LeftRight ( void  )
virtual

For each space point, Fit stubs to all possible left-right combinations of drift distances and choose the set with the minimum chi**2.

Definition at line 1353 of file THcDriftChamber.cxx.

◆ NewFindSpacePoints()

Int_t THcDriftChamber::NewFindSpacePoints ( void  )
virtual

Definition at line 304 of file THcDriftChamber.cxx.

◆ PrintDecode()

void THcDriftChamber::PrintDecode ( void  )
virtual

Definition at line 294 of file THcDriftChamber.cxx.

◆ ProcessHits()

void THcDriftChamber::ProcessHits ( void  )
virtual

Definition at line 276 of file THcDriftChamber.cxx.

◆ ReadDatabase()

Int_t THcDriftChamber::ReadDatabase ( const TDatime date)
protectedvirtual

Reimplemented from THaDetectorBase.

Definition at line 143 of file THcDriftChamber.cxx.

◆ SelectSpacePoints()

void THcDriftChamber::SelectSpacePoints ( void  )
protected

This routine goes through the list of space_points and space_point_hits found by find_space_points and only accepts those with number of hits > min_hits number of combinations > min_combos

Definition at line 1168 of file THcDriftChamber.cxx.

◆ SetHMSStyleFlag()

void THcDriftChamber::SetHMSStyleFlag ( Int_t  flag)
inline

Definition at line 67 of file THcDriftChamber.h.

◆ Setup()

void THcDriftChamber::Setup ( const char *  name,
const char *  description 
)
protected

Definition at line 79 of file THcDriftChamber.cxx.

◆ SpacePointMultiWire()

Int_t THcDriftChamber::SpacePointMultiWire ( void  )
protected

This method is only used for the old style HMS chambers (before Fall 2017).

This routine loops over space points and looks at all hits in the space point. If more than 1 hit is in the same plane then the space point is cloned with all combinations of 1 wire per plane. The requirements for cloning are: 1) at least 4 planes fire, and 2) no more than 6 planes have multiple hits.

Definition at line 970 of file THcDriftChamber.cxx.

Member Data Documentation

◆ f

Int_t THcDriftChamber::f
protected

Definition at line 72 of file THcDriftChamber.h.

◆ fAA3Inv

std::map<int,TMatrixD> THcDriftChamber::fAA3Inv
protected

Definition at line 161 of file THcDriftChamber.h.

◆ fChamberNum

Int_t THcDriftChamber::fChamberNum
protected

Definition at line 83 of file THcDriftChamber.h.

◆ fCosBeta

Double_t* THcDriftChamber::fCosBeta
protected

Definition at line 115 of file THcDriftChamber.h.

◆ fdebugstubchisq

Int_t THcDriftChamber::fdebugstubchisq
protected

Definition at line 107 of file THcDriftChamber.h.

◆ fEasySpacePoint

Int_t THcDriftChamber::fEasySpacePoint
protected

Definition at line 157 of file THcDriftChamber.h.

◆ fFixPropagationCorrection

Int_t THcDriftChamber::fFixPropagationCorrection
protected

Definition at line 104 of file THcDriftChamber.h.

◆ fhdebugflagpr

Int_t THcDriftChamber::fhdebugflagpr
protected

Definition at line 106 of file THcDriftChamber.h.

◆ fHits

std::vector<THcDCHit*> THcDriftChamber::fHits
protected

Definition at line 144 of file THcDriftChamber.h.

◆ fHMSStyleChambers

Int_t THcDriftChamber::fHMSStyleChambers
protected

Definition at line 105 of file THcDriftChamber.h.

◆ fMaxDist

Double_t THcDriftChamber::fMaxDist
protected

Definition at line 113 of file THcDriftChamber.h.

◆ fMaxHits

Int_t THcDriftChamber::fMaxHits
protected

Definition at line 98 of file THcDriftChamber.h.

◆ fMinCombos

Int_t THcDriftChamber::fMinCombos
protected

Definition at line 99 of file THcDriftChamber.h.

◆ fMinHits

Int_t THcDriftChamber::fMinHits
protected

Definition at line 97 of file THcDriftChamber.h.

◆ fN_True_RawHits

Int_t THcDriftChamber::fN_True_RawHits
protected

Definition at line 79 of file THcDriftChamber.h.

◆ fNhits

Int_t THcDriftChamber::fNhits
protected

Definition at line 77 of file THcDriftChamber.h.

◆ fNPlanes

Int_t THcDriftChamber::fNPlanes
protected

Definition at line 81 of file THcDriftChamber.h.

◆ fNSpacePoints

Int_t THcDriftChamber::fNSpacePoints
protected

Definition at line 156 of file THcDriftChamber.h.

◆ fNthits

Int_t THcDriftChamber::fNthits
protected

Definition at line 78 of file THcDriftChamber.h.

◆ fNUPlaneClusters

Int_t THcDriftChamber::fNUPlaneClusters
protected

Definition at line 152 of file THcDriftChamber.h.

◆ fNUXPlaneClusters

Int_t THcDriftChamber::fNUXPlaneClusters
protected

Definition at line 154 of file THcDriftChamber.h.

◆ fNVPlaneClusters

Int_t THcDriftChamber::fNVPlaneClusters
protected

Definition at line 153 of file THcDriftChamber.h.

◆ fNVXPlaneClusters

Int_t THcDriftChamber::fNVXPlaneClusters
protected

Definition at line 155 of file THcDriftChamber.h.

◆ fNXPlaneClusters

Int_t THcDriftChamber::fNXPlaneClusters
protected

Definition at line 151 of file THcDriftChamber.h.

◆ fParent

THaDetectorBase* THcDriftChamber::fParent
protected

Definition at line 163 of file THcDriftChamber.h.

◆ fPlanes

std::vector<THcDriftChamberPlane*> THcDriftChamber::fPlanes
protected

Definition at line 121 of file THcDriftChamber.h.

◆ fPsi0

Double_t* THcDriftChamber::fPsi0
protected

Definition at line 118 of file THcDriftChamber.h.

◆ fRatio_xpfp_to_xfp

Double_t THcDriftChamber::fRatio_xpfp_to_xfp
protected

Definition at line 108 of file THcDriftChamber.h.

◆ fRemove_Sppt_If_One_YPlane

Int_t THcDriftChamber::fRemove_Sppt_If_One_YPlane
protected

Definition at line 100 of file THcDriftChamber.h.

◆ fSigma

Double_t* THcDriftChamber::fSigma
protected

Definition at line 117 of file THcDriftChamber.h.

◆ fSinBeta

Double_t* THcDriftChamber::fSinBeta
protected

Definition at line 114 of file THcDriftChamber.h.

◆ fSmallAngleApprox

Int_t THcDriftChamber::fSmallAngleApprox
protected

Definition at line 102 of file THcDriftChamber.h.

◆ fSpacePointCriterion

Double_t THcDriftChamber::fSpacePointCriterion
protected

Definition at line 112 of file THcDriftChamber.h.

◆ fSpacePoints

TClonesArray* THcDriftChamber::fSpacePoints
protected

Definition at line 145 of file THcDriftChamber.h.

◆ fSpHit

SpacePointHitOutputData THcDriftChamber::fSpHit
protected

Definition at line 158 of file THcDriftChamber.h.

◆ fStubCoefs

Double_t** THcDriftChamber::fStubCoefs
protected

Definition at line 119 of file THcDriftChamber.h.

◆ fStubMaxXPDiff

Double_t THcDriftChamber::fStubMaxXPDiff
protected

Definition at line 103 of file THcDriftChamber.h.

◆ fTanBeta

Double_t* THcDriftChamber::fTanBeta
protected

Definition at line 116 of file THcDriftChamber.h.

◆ fTrackProj

TClonesArray* THcDriftChamber::fTrackProj
protected

Definition at line 124 of file THcDriftChamber.h.

◆ fUPlaneClusters

TClonesArray* THcDriftChamber::fUPlaneClusters
protected

Definition at line 148 of file THcDriftChamber.h.

◆ fUXPlaneClusters

TClonesArray* THcDriftChamber::fUXPlaneClusters
protected

Definition at line 150 of file THcDriftChamber.h.

◆ fVPlaneClusters

TClonesArray* THcDriftChamber::fVPlaneClusters
protected

Definition at line 147 of file THcDriftChamber.h.

◆ fVXPlaneClusters

TClonesArray* THcDriftChamber::fVXPlaneClusters
protected

Definition at line 149 of file THcDriftChamber.h.

◆ fWireVelocity

Double_t THcDriftChamber::fWireVelocity
protected

Definition at line 101 of file THcDriftChamber.h.

◆ fXCenter

Double_t THcDriftChamber::fXCenter
protected

Definition at line 110 of file THcDriftChamber.h.

◆ fXPlaneClusters

TClonesArray* THcDriftChamber::fXPlaneClusters
protected

Definition at line 146 of file THcDriftChamber.h.

◆ fYCenter

Double_t THcDriftChamber::fYCenter
protected

Definition at line 111 of file THcDriftChamber.h.

◆ fZPos

Double_t THcDriftChamber::fZPos
protected

Definition at line 109 of file THcDriftChamber.h.

◆ stubcoef

Double_t* THcDriftChamber::stubcoef[4]
protected

Definition at line 160 of file THcDriftChamber.h.

◆ XPlaneInd

Int_t THcDriftChamber::XPlaneInd
protected

Definition at line 91 of file THcDriftChamber.h.

◆ XPlaneNum

Int_t THcDriftChamber::XPlaneNum
protected

Definition at line 93 of file THcDriftChamber.h.

◆ XPlanePInd

Int_t THcDriftChamber::XPlanePInd
protected

Definition at line 92 of file THcDriftChamber.h.

◆ XPlanePNum

Int_t THcDriftChamber::XPlanePNum
protected

Definition at line 94 of file THcDriftChamber.h.

◆ YPlaneInd

Int_t THcDriftChamber::YPlaneInd
protected

Definition at line 86 of file THcDriftChamber.h.

◆ YPlaneNum

Int_t THcDriftChamber::YPlaneNum
protected

Definition at line 88 of file THcDriftChamber.h.

◆ YPlanePInd

Int_t THcDriftChamber::YPlanePInd
protected

Definition at line 87 of file THcDriftChamber.h.

◆ YPlanePNum

Int_t THcDriftChamber::YPlanePNum
protected

Definition at line 89 of file THcDriftChamber.h.


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