KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
FAZIA 12-block demonstrator.
Created by KVClassFactory on Fri Feb 26 14:22:01 2016 Author: bonnet,,,
Definition at line 15 of file KVFAZIETO.h.
Private Member Functions | |
virtual void | BuildFAZIA () |
virtual void | GetGeometryParameters () |
defined configuration of the blocks More... | |
Private Attributes | |
std::map< int, double > | fBlocCentrePhi |
phi angle of block centres More... | |
std::map< int, double > | fBlocCentreTheta |
polar angle of block centres More... | |
Additional Inherited Members | |
Public Types inherited from KVFAZIA | |
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 |
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) } |
Protected Member Functions inherited from KVFAZIA | |
virtual void | BuildTarget () |
void | CreateCorrespondence () |
virtual void | DefineStructureFormats (KVGeoImport &) |
void | GenerateCorrespondanceFile () |
virtual UChar_t | GetNormalCalibrationCode () |
TString | GetSignalName (Int_t bb, Int_t qq, Int_t tt, Int_t idsig) |
Bool_t | handle_raw_data_event_mfmframe (const MFMCommonFrame &) |
Bool_t | handle_raw_data_event_protobuf (KVProtobufDataReader &) |
void | PerformClosedROOTGeometryOperations () |
void | prepare_to_handle_new_raw_data () |
reset acquisition parameters etc. before reading new raw data event More... | |
void | ReadTriggerPatterns (KVExpDB *db) |
void | SetIDCodeForIDTelescope (KVIDTelescope *) const |
Set the FAZIA-specific general identification code for the given telescope. More... | |
virtual void | SetNameOfDetectors (KVEnv &env) |
void | SetTriggerPattern (uint16_t fp) |
void | SetTriggerPatternsForDataSet (const TString &dataset) |
Bool_t | treat_event (const DAQ::FzEvent &) |
Read raw data for an event. More... | |
Double_t | TreatEnergy (Int_t sigid, Int_t eid, UInt_t val) |
Protected Member Functions inherited from KVMultiDetArray | |
void | AddTrajectory (KVGeoDNTrajectory *d) |
void | AssociateTrajectoriesAndNodes () |
virtual void | BuildGeometry () |
void | CalculateReconstructionTrajectories () |
virtual void | copy_fired_parameters_to_recon_param_list () |
void | DeduceGroupsFromTrajectories () |
void | DeduceIdentificationTelescopesFromGeometry () |
virtual void | GetAlignedIDTelescopesForDetector (KVDetector *det, TCollection *list) |
virtual UShort_t | GetBadIDCode () |
virtual UShort_t | GetCoherencyIDCode () |
TString | GetFileName (KVExpDB *, const Char_t *meth, const Char_t *keyw) |
virtual Int_t | GetIDTelescopes (KVDetector *, KVDetector *, TCollection *list) |
virtual void | GetIDTelescopesForGroup (KVGroup *grp, TCollection *tel_list) |
unique_ptr< KVFileReader > | GetKVFileReader (KVExpDB *db, const Char_t *meth, const Char_t *keyw) |
virtual UShort_t | GetMultiHitFirstStageIDCode () |
UShort_t | GetZminCode () |
virtual Bool_t | handle_raw_data_event_ebyedat (KVGANILDataReader &) |
virtual Bool_t | handle_raw_data_event_mfmfile (MFMBufferReader &) |
virtual Bool_t | handle_raw_data_event_mfmframe_ebyedat (const MFMEbyedatFrame &) |
virtual Bool_t | handle_raw_data_event_mfmmergeframe (const MFMMergeFrameManager &) |
virtual void | MakeListOfDetectors () |
virtual void | PrepareModifGroup (KVGroup *grp, KVDetector *dd) |
void | ReadCalibFile (const Char_t *filename, KVExpDB *db, KVDBTable *calib_table) |
void | ReadCalibrationFiles (KVExpDB *db) |
void | ReadOoODetectors (KVExpDB *db) |
virtual void | RenumberGroups () |
virtual void | set_up_single_stage_telescope (KVDetector *det, KVIDTelescope *idt, TCollection *l) |
Set up detector in single-stage identification telescope and add to fIDTelescopes and to l. More... | |
virtual void | set_up_telescope (KVDetector *de, KVDetector *e, KVIDTelescope *idt, TCollection *l) |
Set up detectors in de-e identification telescope and add to fIDTelescopes and to l. More... | |
virtual void | SetACQParams () |
virtual void | SetDetecting (KVDetector *det, Bool_t detecting=kTRUE) |
virtual void | SetPresent (KVDetector *det, Bool_t present=kTRUE) |
bool | try_a_doubleIDtelescope (TString uri, KVDetector *de, KVDetector *e, TCollection *l) |
bool | try_a_singleIDtelescope (TString uri, KVDetector *d, TCollection *l) |
int | try_all_doubleID_telescopes (KVDetector *de, KVDetector *e, TCollection *l) |
int | try_all_singleID_telescopes (KVDetector *d, TCollection *l) |
bool | try_upper_and_lower_doubleIDtelescope (TString uri, KVDetector *de, KVDetector *e, TCollection *l) |
bool | try_upper_and_lower_singleIDtelescope (TString uri, KVDetector *d, TCollection *l) |
Protected Member Functions inherited from KVGeoStrucElement | |
void | AddParentStructure (KVGeoStrucElement *) |
void | RemoveParentStructure (KVGeoStrucElement *) |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
void | MakeZombie () |
Protected Attributes inherited from KVFAZIA | |
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 | |
Static Protected Attributes inherited from KVMultiDetArray | |
static Bool_t | fBuildTarget = kFALSE |
static Bool_t | fCloseGeometryNow = kTRUE |
static Bool_t | fMakeMultiDetectorSetParameters = kTRUE |
#include <KVFAZIETO.h>
KVFAZIETO::KVFAZIETO | ( | ) |
Default constructor.
Definition at line 25 of file KVFAZIETO.cpp.
|
virtual |
Destructor.
Definition at line 37 of file KVFAZIETO.cpp.
|
privatevirtual |
Build the FAZIA demonstrator geometry.
Distance from target and minimum polar angle between innermost blocks can be changed for different datasets using:
[dataset].FAZIETO.DistanceZ: 95.4 [dataset].FAZIETO.DistanceX: 1. [dataset].FAZIETO.DistanceY: 0. [dataset].FAZIETO.ThetaMinCompactGeo: 2.3 [dataset].FAZIETO.InterBlockPadding: 2.3
Number of blocks in demonstrator, their numbers, and positions can be modified for different datasets using the following environment variables:
[dataset].FAZIETO.NBlocks: 3 [dataset].FAZIETO.BlockNumbers: 0,1,4 [dataset].FAZIETO.BlockPositions: 11,9,5
This will build a 3 block demonstrator with blocks numbered 0, 1, and 4 which will be placed at the given block positions in the standard 12-block geometry (where blocks are numbered clockwise starting from the innermost block placed at roughly 12 o'clock)
Reimplemented from KVFAZIA.
Definition at line 91 of file KVFAZIETO.cpp.
|
inline |
Definition at line 30 of file KVFAZIETO.h.
|
inline |
Definition at line 26 of file KVFAZIETO.h.
|
privatevirtual |
defined configuration of the blocks
Reimplemented from KVFAZIA.
Definition at line 47 of file KVFAZIETO.cpp.
|
private |
phi angle of block centres
Definition at line 20 of file KVFAZIETO.h.
|
private |
polar angle of block centres
Definition at line 19 of file KVFAZIETO.h.