|
BrTpcClusterModuleclass description - source file - inheritance tree class BrTpcClusterModule : public BrModuleprivate: Data Membersprotected: Class DescriptionThe BrTpcClusterModule is used to group the sequences into clusters, and store the clusters in a cluster table. This Class has been taken from what M. Justice started to put together in Oct 99 It takes sequences that have been filtered with BrTPCPreProcess as input and groups the sequences into BrTpcCluster s Deconvolution has been moved to BrTpcDeconvoluteClusterModule BrTpcClusterModule() : BrModule() This constructer is no good BrTpcClusterModule(const Char_t *name, const Char_t *title) : BrModule(name, title) This is the constructor that should be used Name should be "T1", "T2", "TPM1", "TPM2" ~BrTpcClusterModule() empty void DefineHistograms() Define the histograms used to monitor performance This method is usually called by BrModule::Book(). void Init() Initialize module. Empty. Event(BrEventNode *inputNode, BrEventNode *outputNode) Main method Gets the TPCSequence data from the inputNode Group the sequences into clusters. Output the clusters on outputNode void ResetSequenceTable() Reset BrTpcSequence::fClustNum to -1, as this variable is modified in FindClusters. Bool_t FindClusters() ************************************************************** * * * The algorithm used here is to group together sequences * * on adjacent pads which overlap in the temporal direction * * as determined by the SeqOverlap function * * * ************************************************************** BrTpcCluster* GetClusterById(Int_t id) Loop over fClusterTable and return cluster with matching id If cluster is not found return 0 void Print(Option_t* option) const Module Information method Options: (see also BrModule::Print) Bool_t SeqOverlap(BrTpcSequence *iseq, BrTpcSequence *jseq) *************************************************************** * * * Overlap criteria: * * * * | | * * | | * * TRUE | FALSE | * * | | | * * | | | | * * | | * * | | * * | * * | * * * * This could be made more flexible by introduction * * of a parameter controlling the amount of overlap * * required. * * * *************************************************************** Maybe this method should be in the BrTpcSequence Inline FunctionsBool_t GetDoReset() void SetDoReset(Bool_t reset = kTRUE) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrTpcClusterModule BrTpcClusterModule(BrTpcClusterModule&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|