LegsTagHit
class description - source file - inheritance tree (.pdf)
public:
LegsTagHit(UChar_t tagID = 255, UShort_t tagTdc = 32000, UChar_t groupSize = kTagGroupSize)
LegsTagHit(const LegsTagHit& hit)
virtual ~LegsTagHit()
static TClass* Class()
void Clear()
UChar_t GetBin() const
Float_t GetEgy() const
UChar_t GetGroup() const
UChar_t GetGroupSize() const
UChar_t GetId() const
UChar_t GetNumGroups() const
Float_t GetRawTof() const
UShort_t GetTdc() const
Float_t GetTof() const
Float_t GetTofShift() const
static void InitStatic()
virtual TClass* IsA() const
Char_t IsTrue() const
Char_t IsTrueMonitor(Char_t fluxMonitor = kFluxMonitorCG3) const
LegsTagHit& operator=(const LegsTagHit&)
void Print() const
void SetId(UChar_t data)
void SetTdc(UShort_t data)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
UChar_t fId
UShort_t fTdc
Float_t fRawTof
Float_t fTofShift
Float_t fTof
UChar_t fGroupSize
static LegsDB* fDB
Class LegsTagHit data members contains a hit into tagger of LEGS
beam. Member functions contain actions which could be applied to
the tagger hit. Vector of objects of this class
(LegsEvent::fTagHitVec) is maintained and filled in automatically
each event. When an event has N tagger hits // program loops over all
makers N times and every time pointer it->fTagHit is set to point to
i-th ( i<N) element of the it->fTagHitVec. User may access all
information about tagger hit from it->fTagHit. Of course caution must be
used not to change values of the vector in a maker because next
maker might need original data.
$Log: LegsTagHit.cxx,v $
Revision 1.13 2003/10/13 14:06:32 ardashev
4.03
Revision 1.12 2001/09/18 23:09:42 ardashev
*** empty log message ***
Revision 1.11 2001/07/25 03:00:48 ardashev
*** empty log message ***
Revision 1.10 2001/06/21 21:44:49 ardashev
GetEgy() return middle of bin egy for data and MC now
Revision 1.9 2001/05/08 04:55:49 ardashev
gettofshift() returns 0 for ev32 and scalers
,
Revision 1.8 2001/05/02 10:30:53 ardashev
added GetCG3eff()
Revision 1.7 2001/04/20 13:50:01 ardashev
new function from Albert GetTofhift()
Revision 1.6 2001/04/16 22:24:18 ardashev
corrected BUG in copy-constructor
Revision 1.5 2001/04/12 04:50:52 ardashev
introduced Float_t
Revision 1.4 2001/04/04 00:28:30 ardashev
*** empty log message ***
Revision 1.3 2001/03/26 07:47:13 ardashev
*** empty log message ***
Revision 1.2 2001/03/10 05:41:49 ardashev
updated description
Revision 1.1 2001/02/07 16:51:05 ardashev
Initial revision
LegsTagHit(UChar_t tagID, UShort_t tagTdc, UChar_t groupSize) : fId(tagID), fTdc(tagTdc), fRawTof(kDefaultValue), fTofShift(kDefaultValue), fTof(kDefaultValue), fGroupSize(groupSize)
constructor of the class.
LegsTagHit(const LegsTagHit& hit) : fId(hit.fId), fTdc(hit.fTdc), fRawTof(hit.fRawTof), fTofShift(hit.fTofShift), fTof(hit.fTof), fGroupSize(hit.fGroupSize)
copy constructor
void InitStatic()
void Print() const
Float_t GetEgy() const
Float_t GetRawTof() const
returns fTof
Float_t GetTof() const
returns fTof
Char_t IsTrue() const
this function returns 1 if time is in truw window
0 if it is acidental hit
-1 if it is outside any reasonable windows.
for simulated data it always returns 1
assert(it->GetTagCount() > 0); // needed to avoid cosmics confusion
Char_t IsTrueMonitor(Char_t fluxMonitor) const
this function returns 1 if time is in truw window
0 if it is acidental hit
-1 if it is outside any reasonable windows.
for simulated data it always returns 1
assert(it->GetTagCount() > 0); // needed to avoid cosmics confusion
UChar_t GetGroup() const
all tagger bins are grouped into "groups" of size fGroupSize to
increase statistics (reduce energy resolution). Group size may
be changed by changing variable kTagGroupSize and kNumTagGroups
in definitions.h. This function calculates and returns group ID
to which this hit belongs. Range from 1 to kNumTagGroups
UChar_t GetNumGroups() const
all tagger bins are grouped into "groups" of size fGroupSize to
increase statistics (reduce energy resolution). Group size may
be changed by changing variable TAGGROUPSIZE. This function
calculates and returns number of these groups.
Float_t GetTofShift() const
the tagger TOF is corrected for the counter which started the trigger.
Inline Functions
void ~LegsTagHit()
void Clear()
void SetId(UChar_t data)
void SetTdc(UShort_t data)
UChar_t GetId() const
UChar_t GetBin() const
UShort_t GetTdc() const
UChar_t GetGroupSize() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
LegsTagHit& operator=(const LegsTagHit&)
Last update: Wed May 18 13:34:50 2005
ROOT page - Home page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.