KaliVeda
1.13/01
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 , ENERGY_LOSSES_TENTATIVELY_CALCULATED = 4 } |
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_SI1_CSI = 13 , ID_SI2_PSA = 22 , ID_SI2_CSI = 23 , ID_SI12_CSI = 123 , ID_CSI_PSA = 33 , ID_STOPPED_IN_FIRST_STAGE = 5 , ID_SI1_SI2_MAYBE_PUNCH_THROUGH = 120 , ID_SI1_SI2_PUNCH_THROUGH = 121 , ID_SI1_PUNCH_THROUGH = 110 } |
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... | |
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... | |
KVUniqueNameList | fExtraRawDataSignals |
any signals read from raw data not associated with a detector More... | |
Int_t | fFilterType |
type of filtering (used by DetectEvent) More... | |
KVUniqueNameList | fFiredDetectors |
list of fired detectors after reading raw data event More... | |
KVUnownedList | fFiredSignals |
list of fired signals 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... | |
KVRawDataReader * | fRawDataReader |
last raw data reader object used in call to HandleRawData 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 time. 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, KVSQLite::database &dbfile, const Char_t *kvsubdir="") |
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 54 of file KVFAZIA.cpp.
|
virtual |
Destructor.
Definition at line 243 of file KVFAZIA.cpp.
Definition at line 254 of file KVFAZIA.cpp.
Build the FAZIA array.
Reimplemented from KVMultiDetArray.
Definition at line 465 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 431 of file KVFAZIA.cpp.
|
protectedvirtual |
Reimplemented in KVFAZIANFS.
Definition at line 442 of file KVFAZIA.cpp.
|
inlineprotectedvirtual |
values of fired raw data signals (acquisition parameters) from last read raw event are copied to the fReconParameters list of parameters to be stored with the reconstructed event.
the format for each signal is:
ACQPAR.[array].[detector].[signal] ACQPAR.[array].[signal]
in the first case for signals associated with detectors, in the latter case signals which are not associated with a detector
override KVMultiDetArray method. raw data signals are not copied to the general (event) parameter list, they are stored in the lists of the individual particles and reset in the detectors when the particles are read back.
the formatting of the signal names is not compatible with the code in KVReconstructedEvent::Streamer, hence the FAZIA-specific treatment which is handled by KVFAZIA::FillDetectorList.
Reimplemented from KVMultiDetArray.
|
protected |
set up correspondence between FPGA number/FEE number (from acquisition) and Quartet/Telescope numbers
Definition at line 870 of file KVFAZIA.cpp.
|
virtual |
Set identification telescope objects for FAZIA geometry by hand.
Reimplemented from KVMultiDetArray.
Definition at line 167 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 546 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 266 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 500 of file KVFAZIA.cpp.
Reimplemented from KVMultiDetArray.
|
protectedvirtual |
Called by the Build method.
Reimplemented in KVISOFAZIA, KVFAZIETO, KVFAZIAZERO, KVFAZIASYM, KVFAZIANFS, KVFAZIAMidRapExplorer, KVFAZIALNS2016, KVFAZIALNS17, KVFAZIACOR, and KVFAZIA_2B.
Definition at line 366 of file KVFAZIA.cpp.
|
inlinevirtual |
Reimplemented from KVMultiDetArray.
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 594 of file KVFAZIA.cpp.
Definition at line 78 of file KVFAZIA.cpp.
Definition at line 609 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 129 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 833 of file KVFAZIA.cpp.
|
protectedvirtual |
Reimplemented from KVMultiDetArray.
Definition at line 641 of file KVFAZIA.cpp.
Override base method in order to read FAZIA trigger for each run.
Reimplemented from KVMultiDetArray.
Definition at line 105 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 335 of file KVFAZIA.cpp.
|
inlineprotected |
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 915 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 958 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 304 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 92 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 394 of file KVFAZIA.cpp.
|
protected |
Read raw data for an event.
Definition at line 681 of file KVFAZIA.cpp.
Definition at line 650 of file KVFAZIA.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |