Hall C ROOT/C++ Analyzer (hcana)
|
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.
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 |
TClonesArray * | GetSpacePointsP () const |
const TClonesArray * | GetTrackHits () 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 (const char *name, const char *description, Int_t chambernum, THaDetectorBase *parent=NULL) | |
THcDriftChamber () | |
virtual | ~THcDriftChamber () |
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) |
#include <THcDriftChamber.h>
THcDriftChamber::THcDriftChamber | ( | const char * | name, |
const char * | description, | ||
Int_t | chambernum, | ||
THaDetectorBase * | parent = NULL |
||
) |
Definition at line 39 of file THcDriftChamber.cxx.
|
virtual |
Definition at line 1612 of file THcDriftChamber.cxx.
THcDriftChamber::THcDriftChamber | ( | ) |
Definition at line 64 of file THcDriftChamber.cxx.
|
virtual |
Definition at line 105 of file THcDriftChamber.cxx.
Definition at line 1662 of file THcDriftChamber.cxx.
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 1109 of file THcDriftChamber.cxx.
Definition at line 1651 of file THcDriftChamber.cxx.
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 1203 of file THcDriftChamber.cxx.
Definition at line 1333 of file THcDriftChamber.cxx.
Definition at line 85 of file THcDriftChamber.cxx.
|
protectedvirtual |
Definition at line 237 of file THcDriftChamber.cxx.
|
protected |
Definition at line 1637 of file THcDriftChamber.cxx.
Definition at line 895 of file THcDriftChamber.cxx.
|
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 635 of file THcDriftChamber.cxx.
|
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 686 of file THcDriftChamber.cxx.
Definition at line 739 of file THcDriftChamber.cxx.
Definition at line 519 of file THcDriftChamber.cxx.
|
protected |
Definition at line 1566 of file THcDriftChamber.cxx.
|
inline |
Definition at line 64 of file THcDriftChamber.h.
|
inline |
Definition at line 59 of file THcDriftChamber.h.
|
inline |
Definition at line 60 of file THcDriftChamber.h.
|
inline |
Definition at line 61 of file THcDriftChamber.h.
|
inline |
Definition at line 63 of file THcDriftChamber.h.
|
inline |
Definition at line 62 of file THcDriftChamber.h.
|
inline |
Definition at line 65 of file THcDriftChamber.h.
|
virtual |
Definition at line 91 of file THcDriftChamber.cxx.
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 1342 of file THcDriftChamber.cxx.
Definition at line 304 of file THcDriftChamber.cxx.
Definition at line 294 of file THcDriftChamber.cxx.
Definition at line 276 of file THcDriftChamber.cxx.
Definition at line 143 of file THcDriftChamber.cxx.
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 1157 of file THcDriftChamber.cxx.
Definition at line 67 of file THcDriftChamber.h.
|
protected |
Definition at line 79 of file THcDriftChamber.cxx.
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 959 of file THcDriftChamber.cxx.
|
protected |
Definition at line 72 of file THcDriftChamber.h.
|
protected |
Definition at line 161 of file THcDriftChamber.h.
|
protected |
Definition at line 83 of file THcDriftChamber.h.
|
protected |
Definition at line 115 of file THcDriftChamber.h.
|
protected |
Definition at line 107 of file THcDriftChamber.h.
|
protected |
Definition at line 157 of file THcDriftChamber.h.
|
protected |
Definition at line 104 of file THcDriftChamber.h.
|
protected |
Definition at line 106 of file THcDriftChamber.h.
|
protected |
Definition at line 144 of file THcDriftChamber.h.
|
protected |
Definition at line 105 of file THcDriftChamber.h.
|
protected |
Definition at line 113 of file THcDriftChamber.h.
|
protected |
Definition at line 98 of file THcDriftChamber.h.
|
protected |
Definition at line 99 of file THcDriftChamber.h.
|
protected |
Definition at line 97 of file THcDriftChamber.h.
|
protected |
Definition at line 79 of file THcDriftChamber.h.
|
protected |
Definition at line 77 of file THcDriftChamber.h.
|
protected |
Definition at line 81 of file THcDriftChamber.h.
|
protected |
Definition at line 156 of file THcDriftChamber.h.
|
protected |
Definition at line 78 of file THcDriftChamber.h.
|
protected |
Definition at line 152 of file THcDriftChamber.h.
|
protected |
Definition at line 154 of file THcDriftChamber.h.
|
protected |
Definition at line 153 of file THcDriftChamber.h.
|
protected |
Definition at line 155 of file THcDriftChamber.h.
|
protected |
Definition at line 151 of file THcDriftChamber.h.
|
protected |
Definition at line 163 of file THcDriftChamber.h.
|
protected |
Definition at line 121 of file THcDriftChamber.h.
|
protected |
Definition at line 118 of file THcDriftChamber.h.
|
protected |
Definition at line 108 of file THcDriftChamber.h.
|
protected |
Definition at line 100 of file THcDriftChamber.h.
|
protected |
Definition at line 117 of file THcDriftChamber.h.
|
protected |
Definition at line 114 of file THcDriftChamber.h.
|
protected |
Definition at line 102 of file THcDriftChamber.h.
|
protected |
Definition at line 112 of file THcDriftChamber.h.
|
protected |
Definition at line 145 of file THcDriftChamber.h.
|
protected |
Definition at line 158 of file THcDriftChamber.h.
|
protected |
Definition at line 119 of file THcDriftChamber.h.
|
protected |
Definition at line 103 of file THcDriftChamber.h.
|
protected |
Definition at line 116 of file THcDriftChamber.h.
|
protected |
Definition at line 124 of file THcDriftChamber.h.
|
protected |
Definition at line 148 of file THcDriftChamber.h.
|
protected |
Definition at line 150 of file THcDriftChamber.h.
|
protected |
Definition at line 147 of file THcDriftChamber.h.
|
protected |
Definition at line 149 of file THcDriftChamber.h.
|
protected |
Definition at line 101 of file THcDriftChamber.h.
|
protected |
Definition at line 110 of file THcDriftChamber.h.
|
protected |
Definition at line 146 of file THcDriftChamber.h.
|
protected |
Definition at line 111 of file THcDriftChamber.h.
|
protected |
Definition at line 109 of file THcDriftChamber.h.
|
protected |
Definition at line 160 of file THcDriftChamber.h.
|
protected |
Definition at line 91 of file THcDriftChamber.h.
|
protected |
Definition at line 93 of file THcDriftChamber.h.
|
protected |
Definition at line 92 of file THcDriftChamber.h.
|
protected |
Definition at line 94 of file THcDriftChamber.h.
|
protected |
Definition at line 86 of file THcDriftChamber.h.
|
protected |
Definition at line 88 of file THcDriftChamber.h.
|
protected |
Definition at line 87 of file THcDriftChamber.h.
|
protected |
Definition at line 89 of file THcDriftChamber.h.