KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
Public Types | |
enum | ECodes { NO_CALIBRATION_ATTEMPTED = 0 , NORMAL_CALIBRATION = 1 , SOME_ENERGY_LOSSES_CALCULATED = 2 , WARNING_CSI_MAX_ENERGY = 3 } |
Calibration quality codes attributed to particles reconstructed from data. More... | |
enum | IDCodes { NO_IDENTIFICATION = -1 , ID_GAMMA = 0 , ID_SI1_PSA = 11 , ID_SI1_SI2 = 12 , ID_SI2_CSI = 23 , ID_CSI_PSA = 33 , ID_STOPPED_IN_FIRST_STAGE = 5 , ID_SI1_SI2_MAYBE_PUNCH_THROUGH = 120 , ID_SI1_SI2_PUNCH_THROUGH = 121 } |
Identification quality codes attributed to particles reconstructed from data. More... | |
Public Types inherited from KVMultiDetArray | |
enum | EFilterType { kFilterType_Geo , kFilterType_GeoThresh , kFilterType_Full } |
filter types. values of fFilterType More... | |
Public Types inherited from KVBase | |
enum | EKaliVedaBits { kIsKaliVedaObject = BIT(23) } |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Protected Attributes | |
TString | fCorrespondanceFile |
Bool_t fBuildTarget; //kTRUE to include target frame in the geometry. More... | |
KVString | fDetectorLabels |
Double_t | fFDist |
distance of FAZIA detectors from target (in cm) More... | |
TString | fFGeoType |
type of FAZIA geometry (="compact",...) More... | |
Double_t | fFThetaMin |
minimum polar angle for compact geometry (in degrees) More... | |
Double_t | fImport_dPhi |
for geometry import More... | |
Double_t | fImport_dTheta |
for geometry import More... | |
Double_t | fImport_PhiMax |
for geometry import More... | |
Double_t | fImport_PhiMin |
for geometry import More... | |
Double_t | fImport_ThetaMax |
for geometry import More... | |
Double_t | fImport_ThetaMin |
for geometry import More... | |
Double_t | fImport_Xorg |
for geometry import More... | |
Double_t | fImport_Yorg |
for geometry import More... | |
Double_t | fImport_Zorg |
for geometry import More... | |
Int_t | fNblocks |
number of blocks More... | |
Double_t | fQ2risetime |
Double_t | fQ3fastrisetime |
Double_t | fQ3slowrisetime |
Double_t | fQH1risetime |
values of trapezoidal filter rise time set in the fpgas defined in .kvrootrc More... | |
int | fQuartet [8][2] |
quartet number from #FEE and #FPGA More... | |
KVString | fSignalTypes |
Int_t | fStartingBlockNumber |
int | fTelescope [8][2] |
telescope number from #FEE and #FPGA More... | |
KVFAZIATrigger | fTrigger |
trigger pattern read from data for each event More... | |
Protected Attributes inherited from KVMultiDetArray | |
KVNumberList | fAcceptECodes |
list of acceptable calibration codes for reconstructed nuclei More... | |
KVNumberList | fAcceptIDCodes |
list of acceptable identification codes for reconstructed nuclei More... | |
KVSeqCollection * | fACQParams |
list of data acquisition parameters associated to detectors More... | |
TList * | fCalibStatusDets |
used by GetStatusIDTelescopes More... | |
UInt_t | fCurrentRun |
Number of the current run used to call SetParameters. More... | |
TString | fDataSet |
name of associated dataset, used with MakeMultiDetector() More... | |
Int_t | fFilterType |
type of filtering (used by DetectEvent) More... | |
KVUniqueNameList | fFiredACQParams |
list of fired acquisition parameters after reading raw data event More... | |
Bool_t | fHandledRawData |
set to true if multidetector handles data in last call to HandleRawData More... | |
KVDetectorEvent * | fHitGroups |
list of hit groups in simulation More... | |
KVSeqCollection * | fIDTelescopes |
deltaE-E telescopes in groups More... | |
KVRangeTableGeoNavigator * | fNavigator |
for propagating particles through array geometry More... | |
TString | fPartSeedCond |
condition for seeding new reconstructed particles More... | |
KVNameValueList | fReconParameters |
general purpose list of parameters for storing information on data reconstruction More... | |
Bool_t | fROOTGeometry |
=kTRUE use ROOT geometry More... | |
Bool_t | fSimMode |
=kTRUE in "simulation mode" (use for calculating response to simulated events) More... | |
TList * | fStatusIDTelescopes |
used by GetStatusIDTelescopes More... | |
KVTarget * | fTarget |
target used in experiment More... | |
KVUniqueNameList | fTrajectories |
list of all possible trajectories through detectors of array More... | |
KVUpDater * | fUpDater |
used to set parameters for multidetector More... | |
Protected Attributes inherited from KVGeoStrucElement | |
KVUniqueNameList | fDetectors |
detectors in this structure element More... | |
KVUniqueNameList | fParentStrucList |
parent structures More... | |
KVUniqueNameList | fStructures |
daughter structures More... | |
Protected Attributes inherited from KVBase | |
TString | fLabel |
label for the object More... | |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
Protected Attributes inherited from TObject | |
kOnlyPrepStep | |
Additional Inherited Members | |
Static Public Member Functions inherited from KVMultiDetArray | |
static TGeoHMatrix * | GetVolumePositioningMatrix (Double_t distance, Double_t theta, Double_t phi, TGeoTranslation *postTrans=nullptr) |
static KVMultiDetArray * | MakeMultiDetector (const Char_t *dataset_name, Int_t run=-1, TString classname="KVMultiDetArray") |
Static Public Member Functions inherited from KVBase | |
static Bool_t | AreEqual (Double_t x, Double_t y, Long64_t maxdif=1) |
Comparison between two 64-bit floating-point values. More... | |
static void | BackupFileWithDate (const Char_t *path) |
static void | CombineFiles (const Char_t *file1, const Char_t *file2, const Char_t *newfilename, Bool_t keep=kTRUE) |
static void | Deprecated (const char *method, const char *advice) |
static Bool_t | FindClassSourceFiles (const Char_t *class_name, KVString &imp_file, KVString &dec_file, const Char_t *dir_name=".") |
static Bool_t | FindExecutable (TString &exec, const Char_t *path="$(PATH)") |
static const Char_t * | FindFile (const Char_t *search, TString &wfil) |
static const Char_t * | GetBINDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetDATABASEFilePath () |
static const Char_t * | GetDATADIRFilePath (const Char_t *namefile="") |
static Bool_t | GetDataSetEnv (const Char_t *dataset, const Char_t *type, Bool_t defval) |
static const Char_t * | GetDataSetEnv (const Char_t *dataset, const Char_t *type, const Char_t *defval) |
static Double_t | GetDataSetEnv (const Char_t *dataset, const Char_t *type, Double_t defval) |
static const Char_t * | GetETCDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetExampleFilePath (const Char_t *library, const Char_t *namefile) |
Return full path to example file for given library (="KVMultiDet", "BackTrack", etc.) More... | |
static const Char_t * | GetINCDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetKVBuildDate () |
Returns KaliVeda build date. More... | |
static const Char_t * | GetKVBuildDir () |
Returns top-level directory used for build. More... | |
static const Char_t * | GetKVBuildTime () |
Returns KaliVeda build date. More... | |
static const Char_t * | GetKVBuildType () |
Returns KaliVeda build type (cmake build: Release, Debug, RelWithDebInfo, ...) More... | |
static const Char_t * | GetKVBuildUser () |
Returns username of person who performed build. More... | |
static const Char_t * | GetKVSourceDir () |
Returns top-level directory of source tree used for build. More... | |
static const Char_t * | GetKVVersion () |
Returns KaliVeda version string. More... | |
static const Char_t * | GetLIBDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetListOfPlugins (const Char_t *base) |
static const Char_t * | GetListOfPluginURIs (const Char_t *base) |
static const Char_t * | GetPluginURI (const Char_t *base, const Char_t *plugin) |
static void | GetTempFileName (TString &base) |
static const Char_t * | GetTEMPLATEDIRFilePath (const Char_t *namefile="") |
static const Char_t * | GetWORKDIRFilePath (const Char_t *namefile="") |
static const Char_t * | gitBranch () |
Returns git branch of sources. More... | |
static const Char_t * | gitCommit () |
Returns last git commit of sources. More... | |
static void | InitEnvironment () |
static bool | is_gnuinstall () |
static Bool_t | IsThisAPlugin (const TString &uri, TString &base) |
static TPluginHandler * | LoadPlugin (const Char_t *base, const Char_t *uri="0") |
static Bool_t | OpenContextMenu (const char *method, TObject *obj, const char *alt_method_name="") |
static void | OpenTempFile (TString &base, std::ofstream &fp) |
static void | PrintSplashScreen () |
Prints welcome message and infos on version etc. More... | |
static Bool_t | SearchAndOpenKVFile (const Char_t *name, std::ifstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0) |
static Bool_t | SearchAndOpenKVFile (const Char_t *name, std::ofstream &file, const Char_t *kvsubdir="", KVLockfile *locks=0) |
static Bool_t | SearchKVFile (const Char_t *name, TString &fullpath, const Char_t *kvsubdir="") |
static const Char_t * | WorkingDirectory () |
Static Public Member Functions inherited from TObject | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
Protected Types inherited from KVMultiDetArray | |
enum | { kIsRemoving = BIT(14) , kParamsSet = BIT(15) , kIsBuilt = BIT(16) , kIsBeingDeleted = BIT(17) , kIDParamsSet = BIT(18) , kCalParamsSet = BIT(19) } |
Static Protected Attributes inherited from KVMultiDetArray | |
static Bool_t | fBuildTarget = kFALSE |
static Bool_t | fCloseGeometryNow = kTRUE |
static Bool_t | fMakeMultiDetectorSetParameters = kTRUE |
#include <KVFAZIA.h>
enum KVFAZIA::ECodes |
Calibration quality codes attributed to particles reconstructed from data.
enum KVFAZIA::IDCodes |
Identification quality codes attributed to particles reconstructed from data.
KVFAZIA::KVFAZIA | ( | const Char_t * | title = "" | ) |
Default constructor.
Definition at line 53 of file KVFAZIA.cpp.
|
virtual |
Destructor.
Definition at line 162 of file KVFAZIA.cpp.
Definition at line 173 of file KVFAZIA.cpp.
Build the FAZIA array.
Reimplemented from KVMultiDetArray.
Definition at line 384 of file KVFAZIA.cpp.
|
protectedvirtual |
methods to be implemented in child classes
Called by the Build method.
Reimplemented in KVISOFAZIA, KVFAZIETO, KVFAZIAZERO, KVFAZIASYM, KVFAZIANFS, KVFAZIAMidRapExplorer, KVFAZIALNS2016, KVFAZIALNS17, KVFAZIACOR, and KVFAZIA_2B.
Definition at line 350 of file KVFAZIA.cpp.
|
protectedvirtual |
Reimplemented in KVFAZIANFS.
Definition at line 361 of file KVFAZIA.cpp.
|
protected |
set up correspondence between FPGA number/FEE number (from acquisition) and Quartet/Telescope numbers
Definition at line 789 of file KVFAZIA.cpp.
|
inlineprotectedvirtual |
Reimplemented in KVFAZIAZERO, KVFAZIASYM, KVFAZIALNS2016, KVFAZIALNS17, and KVFAZIACOR.
|
virtual |
Protected method, called when required to fill fDetList with pointers to the detectors whose names are stored in fDetNames. Also set all raw data values in the detectors.
Reimplemented from KVMultiDetArray.
Definition at line 465 of file KVFAZIA.cpp.
|
protected |
Look for the geometry object <-> detector name correspondance file in the dataset directory If not found, we create it
Definition at line 185 of file KVFAZIA.cpp.
|
virtual |
First step in event reconstruction based on current status of detectors in array.
Fills the given KVDetectorEvent with the list of all groups which have fired. i.e. loop over all groups of the array and test whether KVGroup::Fired() returns true or false.
This can be made more efficient if the detectors which were hit in the event are already known: then their list should be given to argument dets
If the list of fired detectors dets is not given, we use the internal fFiredACQParams list which is filled with all hit detectors when raw data is treated in treat_event()
Reimplemented from KVMultiDetArray.
Definition at line 419 of file KVFAZIA.cpp.
|
protectedvirtual |
Called by the Build method.
Reimplemented in KVISOFAZIA, KVFAZIETO, KVFAZIAZERO, KVFAZIASYM, KVFAZIANFS, KVFAZIAMidRapExplorer, KVFAZIALNS2016, KVFAZIALNS17, KVFAZIACOR, and KVFAZIA_2B.
Definition at line 285 of file KVFAZIA.cpp.
|
inlinevirtual |
Reimplemented from KVMultiDetArray.
|
inlineprotectedvirtual |
The following methods are used by the current implementation of the filter. They should be removed in future implementations.
return a general calibration code for correctly calibrated particles
Reimplemented from KVMultiDetArray.
|
virtual |
Specialized group reconstructor for FAZIA.
Reimplemented from KVMultiDetArray.
Definition at line 513 of file KVFAZIA.cpp.
Definition at line 77 of file KVFAZIA.cpp.
Definition at line 528 of file KVFAZIA.cpp.
|
inline |
std::string KVFAZIA::GetTriggerForCurrentRun | ( | ) | const |
Returns the symbolic name for the principal DAQ trigger used for the current run e.g. 'Mult2', 'Mult1/100', etc. (see SetTriggerPatternsForDataSet()).
This can be used to test if the actual DAQ trigger for an event was consistent with the principal trigger by doing:
Definition at line 128 of file KVFAZIA.cpp.
|
protectedvirtual |
Treatment of raw data in MFM frames with type MFM_FAZIA_FRAME_TYPE The timestamp is extracted from the frame header and added to fReconParameters in a 64 bit parameter with name "FAZIA.TS"
Reimplemented from KVMultiDetArray.
Definition at line 752 of file KVFAZIA.cpp.
|
protectedvirtual |
Reimplemented from KVMultiDetArray.
Definition at line 560 of file KVFAZIA.cpp.
Override base method in order to read FAZIA trigger for each run.
Reimplemented from KVMultiDetArray.
Definition at line 104 of file KVFAZIA.cpp.
|
protectedvirtual |
Finalise description of array performing all operations which require ROOT geometry to be closed
Reimplemented from KVMultiDetArray.
Definition at line 254 of file KVFAZIA.cpp.
|
inlineprotectedvirtual |
reset acquisition parameters etc. before reading new raw data event
Override base method to reset trigger pattern before reading new raw event
Reimplemented from KVMultiDetArray.
Read a file containing runlists for each principal trigger used during an experiment
The file should be in TEnv format like so:
where each trigger pattern name must be known and declared to occur during the dataset (see SetTriggerPatternsForDataSet()) and the list of runs are given using KVNumberList syntax.
The data is added to the database in a table 'FAZIA.Triggers'.
Definition at line 834 of file KVFAZIA.cpp.
|
inline |
Set angular arguments for call to KVGeoImport::ImportGeometry in KVFAZIA::Build Also set origin for geometry import to (xorg,yorg,zorg) [default: (0,0,0)]
|
protectedvirtual |
Set the FAZIA-specific general identification code for the given telescope.
Reimplemented from KVMultiDetArray.
Definition at line 877 of file KVFAZIA.cpp.
define the format of detectors name label-index where index = block*100+quartet*10+telescope example : SI1-123 is the Silicon 1 of the block 1, the quartet 2 and the telescope 3
Reimplemented in KVFAZIAZERO, KVFAZIASYM, KVFAZIANFS, KVFAZIALNS2016, KVFAZIALNS17, KVFAZIACOR, and KVFAZIAMidRapExplorer.
Definition at line 223 of file KVFAZIA.cpp.
|
virtual |
Overrides base method in order to set the value of the trigger bit pattern for the event.
Reimplemented from KVMultiDetArray.
Definition at line 91 of file KVFAZIA.cpp.
|
inlineprotected |
Read and set up definitions of trigger patterns for this dataset. These should be given by variables such as:
where [name*]='Mult1','Mult1/100','Mult2', etc. (see KVFAZIATrigger for known trigger patterns).
and [value*] is the value of the corresponding bit pattern, e.g. if bit '3' (0b100) corresponds to 'Mult2' (i.e. multiplicity >= 2) then this would give
Definition at line 313 of file KVFAZIA.cpp.
|
protected |
Read raw data for an event.
Definition at line 600 of file KVFAZIA.cpp.
Definition at line 569 of file KVFAZIA.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |