|
BrTpcHitModuleclass description - source file - inheritance tree class BrTpcHitModule : public BrModuleprivate: Data Membersprivate: Class DescriptionBrTpcHitModule takes the ouput clusters from BrTpcClusterModule and BrTpcDeconvoluteClusterModule and converts them into BrTpcHit(s) which are then appended to the outNode The method only supports weighted mean methods at the moment and the error on the hit is estimated from a settable white noise parameter. Note: FV 5/7/02 I do not think the error estimate for timing bins where a sqrt(adc) count is used. This is not the proper statistics since the fluctuation is in total change , not on individual count. The use of padresponse widths from a DB is better, but does depend on total Charge in clsuter (that comes from initial number of p.e. The adcGain can be corrected before calculating avaraged in pad x and time bin using database calibration constants. The action is all in the weightedmean routines for this. BrTpcHitModule() Default constructor. DO NOT USE BrTpcHitModule(const Char_t* name, const Char_t* title) : BrModule(name, title) Named constructor void DefineHistograms() Define the histograms used to monitor performance This method is usually called by BrModule::Book(). void Init() Initialiser at job level void ConvertClustersToHits() void Event(BrEventNode* inNode, BrEventNode* outNode) Main method. Process one event. Gets the TPCCluster data from the inputNode Extracts the hit position and the error on the hit position. It then converts the information to the local hit position and store the information as a BrTpcHit in the outputtable Bool_t FindHitWeightedMean(BrTpcCluster *cluster) This is the old FindHits2 method used to calculate the hit position of the hits using the weighted mean method void Print(Option_t* option) const Module Information method Options: (see also BrModule::Print) void WeightedMean(const Int_t npts, const Double_t *x, const Double_t *y, const Double_t *dy, Double_t ¢roid, Double_t &width, Double_t &uncertainty) This is the routine that calculates the best estimate for the weighted mean and the error and the width of the distribtuion Inline Functionsvoid SetWhiteNoise(Double_t val = 2) void SetUseCalibratedWidths(Bool_t val = kFALSE) void SetUsePadGain(Bool_t val = kFALSE) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrTpcHitModule BrTpcHitModule(BrTpcHitModule&) void ~BrTpcHitModule() |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|