This Class is designed to store setup dependent information. It is used to store existence of detector systems, etc.
Definition at line 23 of file TGRSIDetectorInformation.h.
Public Member Functions | |
TGRSIDetectorInformation () | |
~TGRSIDetectorInformation () override | |
bool | Bambino () const |
bool | Bgo () const |
TEventBuildingLoop::EBuildMode | BuildMode () const override |
void | Clear (Option_t *="") override |
bool | CSM () const |
bool | Dante () const |
bool | Descant () const |
bool | DescantAncillary () const |
bool | Emma () const |
bool | Generic () const |
bool | Griffin () const |
bool | Paces () const |
void | Print (Option_t *opt="") const override |
bool | RF () const |
bool | S3 () const |
bool | Sceptar () const |
void | Set () override |
void | SetBambino (bool flag=true) |
void | SetBgo (bool flag=true) |
void | SetCSM (bool flag=true) |
void | SetDante (bool flag=true) |
void | SetDescant (bool flag=true) |
void | SetDescantAncillary (bool flag=true) |
void | SetEmma (bool flag=true) |
void | SetGeneric (bool flag=true) |
void | SetGriffin (bool flag=true) |
void | SetPaces (bool flag=true) |
void | SetRF (bool flag=true) |
void | SetS3 (bool flag=true) |
void | SetSceptar (bool flag=true) |
void | SetSharc (bool flag=true) |
void | SetSpice (bool flag=true) |
void | SetTigress (bool flag=true) |
void | SetTip (bool flag=true) |
void | SetTrific (bool flag=true) |
void | SetTriFoil (bool flag=true) |
void | SetZeroDegree (bool flag=true) |
bool | Sharc () const |
bool | Spice () const |
bool | Tigress () const |
bool | Tip () const |
bool | Trific () const |
bool | TriFoil () const |
bool | ZeroDegree () const |
Private Attributes | |
bool | fBambino {false} |
bool | fBgo {false} |
bool | fCSM {false} |
bool | fDante {false} |
bool | fDescant {false} |
bool | fDescantAncillary {false} |
bool | fEmma {false} |
bool | fGeneric {false} |
bool | fGriffin {false} |
bool | fPaces {false} |
bool | fRf {false} |
bool | fS3 {false} |
bool | fSceptar {false} |
bool | fSharc {false} |
bool | fSortByTriggerId {false} |
bool | fSpice {false} |
bool | fTigress {false} |
bool | fTip {false} |
bool | fTrific {false} |
bool | fTriFoil {false} |
bool | fZeroDegree {false} |
#include <TGRSIDetectorInformation.h>
TGRSIDetectorInformation::TGRSIDetectorInformation | ( | ) |
Default ctor for TGRSIDetectorInformation.
Definition at line 15 of file TGRSIDetectorInformation.cxx.
|
overridedefault |
|
inline |
Definition at line 65 of file TGRSIDetectorInformation.h.
References fBambino.
Referenced by Print().
|
inline |
|
overridevirtual |
Set the detector information based on the available TChannels.
Select build mode based on available detectors
Reimplemented from TDetectorInformation.
Definition at line 24 of file TGRSIDetectorInformation.cxx.
References fSortByTriggerId, TGRSIOptions::Get(), TEventBuildingLoop::kTime, TEventBuildingLoop::kTimestamp, and TEventBuildingLoop::kTriggerId.
|
overridevirtual |
Reimplemented from TDetectorInformation.
Definition at line 67 of file TGRSIDetectorInformation.cxx.
References TDetectorInformation::Clear(), fBambino, fBgo, fCSM, fDante, fDescant, fDescantAncillary, fEmma, fGeneric, fGriffin, fPaces, fRf, fS3, fSceptar, fSharc, fSpice, fTigress, fTip, fTrific, fTriFoil, and fZeroDegree.
|
inline |
|
inline |
|
inline |
Definition at line 77 of file TGRSIDetectorInformation.h.
References fDescant.
Referenced by Print().
|
inline |
Definition at line 35 of file TGRSIDetectorInformation.h.
References fDescantAncillary.
Referenced by Print().
|
inline |
|
inline |
Definition at line 70 of file TGRSIDetectorInformation.h.
References fGeneric.
Referenced by Print().
|
inline |
Definition at line 72 of file TGRSIDetectorInformation.h.
References fGriffin.
Referenced by Print().
|
inline |
|
overridevirtual |
Reimplemented from TDetectorInformation.
Definition at line 35 of file TGRSIDetectorInformation.cxx.
References Bambino(), Bgo(), CSM(), Dante(), DBLUE, Descant(), DescantAncillary(), DRED, Emma(), Generic(), Griffin(), Paces(), RESET_COLOR, RF(), S3(), Sceptar(), Sharc(), Spice(), Tigress(), Tip(), Trific(), TriFoil(), and ZeroDegree().
|
inline |
|
inline |
|
inline |
Definition at line 73 of file TGRSIDetectorInformation.h.
References fSceptar.
Referenced by Print().
|
overridevirtual |
Sets the run info. This figures out what systems are available.
Reimplemented from TDetectorInformation.
Definition at line 98 of file TGRSIDetectorInformation.cxx.
References fSortByTriggerId, TChannel::GetChannelMap(), TGRSIMnemonic::kBgo, TGRSIMnemonic::kCSM, TGRSIMnemonic::kDescant, TGRSIMnemonic::kEmma, TGRSIMnemonic::kGeneric, TGRSIMnemonic::kGriffin, TGRSIMnemonic::kLaBr, TGRSIMnemonic::kPaces, TGRSIMnemonic::kRF, TGRSIMnemonic::kSceptar, TGRSIMnemonic::kSharc, kTIG10, kTIG64, TGRSIMnemonic::kTigress, TGRSIMnemonic::kTip, TGRSIMnemonic::kTrific, TGRSIMnemonic::kTriFoil, TGRSIMnemonic::kZeroDegree, RED, RESET_COLOR, SetBambino(), SetBgo(), SetCSM(), SetDante(), SetDescant(), SetEmma(), SetGeneric(), SetGriffin(), SetPaces(), SetRF(), SetS3(), SetSceptar(), SetSharc(), SetSpice(), SetTigress(), SetTip(), SetTrific(), SetTriFoil(), and SetZeroDegree().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 34 of file TGRSIDetectorInformation.h.
References fDescantAncillary.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 54 of file TGRSIDetectorInformation.h.
References fZeroDegree.
Referenced by Set().
|
inline |
|
inline |
|
inline |
Definition at line 59 of file TGRSIDetectorInformation.h.
References fTigress.
Referenced by Print().
|
inline |
|
inline |
Definition at line 69 of file TGRSIDetectorInformation.h.
References fTrific.
Referenced by Print().
|
inline |
Definition at line 61 of file TGRSIDetectorInformation.h.
References fTriFoil.
Referenced by Print().
|
inline |
Definition at line 76 of file TGRSIDetectorInformation.h.
References fZeroDegree.
Referenced by Print().
|
private |
flag for Bambino on/off
Definition at line 96 of file TGRSIDetectorInformation.h.
Referenced by Bambino(), Clear(), and SetBambino().
|
private |
flag for Bgo on/off
Definition at line 107 of file TGRSIDetectorInformation.h.
|
private |
flag for CSM on/off
Definition at line 91 of file TGRSIDetectorInformation.h.
|
private |
flag for LaBr on/off
Definition at line 103 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Dante(), and SetDante().
|
private |
flag for Descant on/off
Definition at line 105 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Descant(), and SetDescant().
|
private |
Descant is in the ancillary detector locations.
Definition at line 85 of file TGRSIDetectorInformation.h.
Referenced by Clear(), DescantAncillary(), and SetDescantAncillary().
|
private |
flag for Emma on/off
Definition at line 97 of file TGRSIDetectorInformation.h.
|
private |
flag for Generic on/off
Definition at line 95 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Generic(), and SetGeneric().
|
private |
flag for Griffin on/off
Definition at line 100 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Griffin(), and SetGriffin().
|
private |
flag for Paces on/off
Definition at line 102 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Paces(), and SetPaces().
|
private |
flag for RF on/off
Definition at line 90 of file TGRSIDetectorInformation.h.
|
private |
flag for S3 on/off
Definition at line 94 of file TGRSIDetectorInformation.h.
|
private |
flag for Sceptar on/off
Definition at line 101 of file TGRSIDetectorInformation.h.
Referenced by Clear(), Sceptar(), and SetSceptar().
|
private |
flag for Sharc on/off
Definition at line 88 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetSharc(), and Sharc().
|
private |
flag to sort by trigger ID instead of time stamp
Definition at line 109 of file TGRSIDetectorInformation.h.
Referenced by BuildMode(), and Set().
|
private |
flag for Spice on/off
Definition at line 92 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetSpice(), and Spice().
|
private |
flag for Tigress on/off
Definition at line 87 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetTigress(), and Tigress().
|
private |
flag for Tip on/off
Definition at line 93 of file TGRSIDetectorInformation.h.
|
private |
flag for TRIFIC on/off
Definition at line 98 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetTrific(), and Trific().
|
private |
flag for TriFoil on/off
Definition at line 89 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetTriFoil(), and TriFoil().
|
private |
flag for Zero Degree Scintillator on/off
Definition at line 104 of file TGRSIDetectorInformation.h.
Referenced by Clear(), SetZeroDegree(), and ZeroDegree().