#include <ReconHeader.h>
Inheritance diagram for ReconHeader:

Public Types | |
| enum | tkrFlags { TKRRECON = UInt_t(1 << tkrOffset), NOTRACKS = UInt_t(1 << (tkrOffset+1)), GAMMA = UInt_t(1 << (tkrOffset+2)), MANYTRACKS = UInt_t(1 << (tkrOffset+3)) } |
| Defines the possible values for the tkrRecon bits. More... | |
| enum | calFlags { GOOD = UInt_t(1 << calOffset), FAIR = UInt_t(1 << (calOffset+1)), POOR = UInt_t(1 << (calOffset+2)), NOENERGY = UInt_t(1 << (calOffset+3)) } |
| Defines the possible values for the calRecon bits. More... | |
| enum | { tkrTestWord = UInt_t(TKRRECON | NOTRACKS | GAMMA | MANYTRACKS), calTestWord = UInt_t(GOOD | FAIR | POOR | NOENERGY) } |
Public Methods | |
| ReconHeader () | |
| default constructor - initialize all flags to false. | |
| ~ReconHeader () | |
| destructor. More... | |
| int | Clear () |
| Reset all flags to false. More... | |
| UInt_t | getFlags () |
| get the word containing the flags. More... | |
| UInt_t | getTkrFlags () |
| Returns the integer value of the TKR flags. More... | |
| UInt_t | getCalFlags () |
| Bool_t | HasRecon () |
| denotes whether there is ANY recon data available. More... | |
| Bool_t | HasTkrRecon () |
| is there any TKR recon data available? More... | |
| Bool_t | HasGamma () |
| Is there a reconstructed gamma? More... | |
| Bool_t | HasManyTracks () |
| Did the TKR recon find more than 1 track? More... | |
| Bool_t | HasCalRecon () |
| Is there CAL reconstruction data? Just checks that NOENERGY bit is not set. More... | |
| Bool_t | HasCalGood () |
| Was the energy reconstruction good? More... | |
| Bool_t | HasCalFair () |
| Was energy reconstruction fair? More... | |
| Bool_t | HasCalPoor () |
| Was the energy reconstruction poor? More... | |
| Bool_t | HasCalNoEnergyRecon () |
| True when NOENERGY bit is set - meaning NO Energy reconstruction. More... | |
| Bool_t | setTkrFlag (UInt_t val) |
| set the TKR flags. More... | |
| Bool_t | setCalFlag (UInt_t val) |
| set the CAL flags. More... | |
| Bool_t | isValidTkrFlag (UInt_t val) |
| Checks to be sure flag falls within bounds for TKR bits. More... | |
| Bool_t | isValidCalFlag (UInt_t val) |
| Checks to be sure flag falls within bounds for CAL bits. More... | |
| UInt_t | getEventId () |
| retrieve the event ID for this event. More... | |
| void | setEventId (UInt_t id) |
| set the event ID for this event - should match the event ID in the raw data!!! More... | |
| UInt_t | getRunId () |
| void | setRunId (UInt_t id) |
Private Types | |
| enum | { calOffset = 8, tkrOffset = 0 } |
Private Attributes | |
| UInt_t | m_flags |
| Packed word that contains all of the flags for this event. More... | |
| UInt_t | m_eventId |
| Event Id. More... | |
| UInt_t | m_runId |
| Run number. More... | |
Currently contains flags denoting whether or not: TKR reconstruction data is available CAL reconstruction data is available
Definition at line 11 of file ReconHeader.h.
|
|
Definition at line 33 of file ReconHeader.h. |
|
|
Definition at line 67 of file ReconHeader.h. |
|
|
Defines the possible values for the calRecon bits.
Definition at line 56 of file ReconHeader.h. |
|
|
Defines the possible values for the tkrRecon bits.
Definition at line 48 of file ReconHeader.h. |
|
|
default constructor - initialize all flags to false.
|
|
|
destructor.
Definition at line 78 of file ReconHeader.h. |
|
|
Reset all flags to false.
Definition at line 11 of file ReconHeader.cxx. Referenced by ~ReconHeader(). |
|
|
Was energy reconstruction fair?
Definition at line 112 of file ReconHeader.h. |
|
|
Was the energy reconstruction good?
Definition at line 109 of file ReconHeader.h. |
|
|
True when NOENERGY bit is set - meaning NO Energy reconstruction.
Definition at line 118 of file ReconHeader.h. |
|
|
Was the energy reconstruction poor?
Definition at line 115 of file ReconHeader.h. |
|
|
Is there CAL reconstruction data? Just checks that NOENERGY bit is not set.
Definition at line 106 of file ReconHeader.h. |
|
|
Is there a reconstructed gamma?
Definition at line 100 of file ReconHeader.h. |
|
|
Did the TKR recon find more than 1 track?
Definition at line 103 of file ReconHeader.h. |
|
|
denotes whether there is ANY recon data available. depends on whether there is any TKR or CAL recon data Definition at line 94 of file ReconHeader.h. |
|
|
is there any TKR recon data available?
Definition at line 97 of file ReconHeader.h. |
|
|
Definition at line 90 of file ReconHeader.h. |
|
|
retrieve the event ID for this event.
Definition at line 137 of file ReconHeader.h. |
|
|
get the word containing the flags.
Definition at line 84 of file ReconHeader.h. |
|
|
Definition at line 142 of file ReconHeader.h. |
|
|
Returns the integer value of the TKR flags.
Definition at line 87 of file ReconHeader.h. |
|
|
Checks to be sure flag falls within bounds for CAL bits.
Definition at line 33 of file ReconHeader.cxx. Referenced by setCalFlag(). |
|
|
Checks to be sure flag falls within bounds for TKR bits.
Definition at line 18 of file ReconHeader.cxx. Referenced by setTkrFlag(). |
|
|
set the CAL flags. returns kFALSE if the routine determines the val provided is out of bounds...if successful kTRUE is returned Definition at line 39 of file ReconHeader.cxx. |
|
|
set the event ID for this event - should match the event ID in the raw data!!!
Definition at line 140 of file ReconHeader.h. |
|
|
Definition at line 144 of file ReconHeader.h. |
|
|
set the TKR flags. returns kFALSE if the routine determines the val provided is out of bounds...if successful kTRUE is returned Definition at line 24 of file ReconHeader.cxx. |
|
|
Event Id.
Definition at line 41 of file ReconHeader.h. |
|
|
Packed word that contains all of the flags for this event.
||RESERVED ||
||For Future||
|| 31....16 ||
|| CAL FLAGS ||
|| 15 | 14 | 13 | 12 | 11 | 10 | 09 | 08 ||
|| UNUSED |NO ENERGY|POOR |FAIR |GOOD ||
|| |RECON | | | ||
|| TKR FLAGS ||
|| 07 | 06 | 05 | 04 | 03 | 02 | 01 | 00 ||
|| UNUSED |MANYTracks|GAMMA|NOTRACKS|TKRRECON||
Definition at line 31 of file ReconHeader.h. |
|
|
Run number.
Definition at line 44 of file ReconHeader.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000