ChipTrackingTrgEngine0
#include "ChipTrackingTrgEngine0.hh" |
ChipTrackingTrgEngine0
class description - source file - inheritance tree (.pdf)
class ChipTrackingTrgEngine0 : public TriggerEngine
Inheritance Chart: | |||||||||||||||
|
public:
ChipTrackingTrgEngine0() virtual ~ChipTrackingTrgEngine0() static TClass* Class() virtual const char* ClassName() const virtual const char* ClassType() const void Clear() void Dump(Int_t) void FillEEvent(Int_t) void FillRunPars() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Simulate(MacroCellData*) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
Data Members
public:
Bool_t fRelativeThreshold true if the threshold is relative to the mean value Int_t fThreshold threshold on pixel hits in a gtu Int_t fMinTrackLength algorithm searches for tracks of length between Int_t fMaxTrackLength fMinTrackLength and fMaxTriggerTrackLength Int_t fMinTriggerTrackLength min trigger track length in a single chip Int_t fMinTriggerTwoLength min trigger track length in two nearby chips Int_t fMaxTwoLength Bool_t fAcceptHole true if we accept an hole in a track in a single chip Bool_t fOnlyWithSignal if true processes only chip with signal map<Int_t,vector<ChipTrackSegment> > fTrackSegments map for storing data Int_t fPatternCounter Int_t nTracks[32]
Class Description
Chip Tracking Trigger Engine 0 ============================== Tracking trigger built in front end chip. The algorithm searches for sequences of pixels (over the threshold) consequtive and adjacent. If the track length is over a threshold, trigger occurs. The algorithm searches also between track segments of two nearby chips: if two track segments are consequtive in time and the total length is over a threshold (different from the previous one), trigger occurs Parameters: fThreshold: threshold on pixel hits in a gtu fMinTrackLenght: min length of the valid tracks fMaxTrackLength: max length of the valid tracks fMinTriggerTrackLength: min track length to have a trigger (single chip) fMinTriggerTwoLength: min total track length in 2 nearby chips fAcceptHole [bool] : an hole in a single track segment is or not accepted fOnlyWithSignal [bool] : processes or not only chips ith at least a signal Special class for studying background fake rate trigger: The alorithm counts the numebr of tracks of the various trigger lengths, fill a specific trigger word and dump the numbers of the recognized tracks
ChipTrackingTrgEngine0() : TriggerEngine(string("ChipTrackingTrgEngine0"), kChipTrackingTrigger0 )
Constructor
~ChipTrackingTrgEngine0()
Destructor
void Clear()
Clear data containers
void Simulate( MacroCellData* pData)
Simulate chip tracking trigger algorythm
void FillEEvent( Int_t cell_id )
Fill root event
void FillRunPars()
Fill run parameters
void Dump( Int_t cell_id )
Dump the number of tracks (triggered and total) for each chip
Inline Functions
const char* ClassType() const const char* ClassName() const TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)