MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
Constants.cpp File Reference
#include "Constants.hpp"
Include dependency graph for Constants.cpp:

Go to the source code of this file.

Namespaces

namespace  Constants

Functions

Int_t TargetGasA (TargetGas gas)
 Mass number of the target nucleus in a fill gas.
Double_t TargetGasAtomsPerMolecule (TargetGas gas)
 Atoms of the reacting species per molecule of fill gas.
void Constants::SetActiveEpoch (const RunEpoch *epoch)
 Set the epoch the Active*() accessors read from.
const RunEpochConstants::GetActiveEpoch ()
 The currently active epoch, or null when none is set.
const RunEpochConstants::EpochForRun (Int_t run)
 The epoch owning a run number.
RunEpoch Constants::MakeEpoch (const TString &name, const std::vector< Int_t > &runs)
 Build an epoch prefilled from the flat configuration block.
std::vector< Int_t > Constants::RunRange (Int_t first, Int_t last)
 Consecutive run numbers, for MakeEpoch().
Int_t Constants::ActiveNBoards ()
 Boards in the active epoch's setup.
Int_t Constants::ActiveNChannels ()
 Channels per board.
UShort_t Constants::ActiveTimingRefBoard ()
 Board the others are timing-aligned against.
const std::vector< UShort_t > & Constants::ActiveTimingRefBoardChannels ()
 Reference channel per board, for the alignment.
Bool_t Constants::ActiveDoBoardSync ()
 Whether to run the multi-board timing alignment.
Bool_t Constants::ActiveDoSort ()
 Whether to time-sort hits before event building.
Bool_t Constants::ActiveHasCathode ()
 Whether this era instrumented the cathode.
Bool_t Constants::ActiveUseSolarisData ()
 Whether this era's data is SOLARIS rather than CoMPASS.
Double_t Constants::ActiveEventTimeWindowUs ()
 Coincidence window for event building, in microseconds.
const TString & Constants::ActiveReferenceChannel ()
 Channel whose hits seed events.
Double_t Constants::ActiveReferenceChannelMinAdc ()
 Lower energy gate on the seed channel, in ADC.
Double_t Constants::ActiveReferenceChannelMaxAdc ()
 Upper energy gate on the seed channel, in ADC.
DedupStrategy Constants::ActiveDedupStrategy ()
 How repeated hits on one slot are resolved.
Double_t Constants::ActiveStripEMinAdc ()
 Lower bound of the per-strip energy range, in ADC.
Double_t Constants::ActiveStripEMaxAdc ()
 Upper bound of the per-strip energy range, in ADC.
Double_t Constants::ActiveCathodeMaxAdc ()
 Cathode full scale, in ADC.
Double_t Constants::ActiveGridMaxAdc ()
 Grid full scale, in ADC.
Double_t Constants::ActiveStrip0MaxAdc ()
 Strip 0 full scale, in ADC.
Double_t Constants::ActiveStrip17MaxAdc ()
 Strip 17 full scale, in ADC.
Double_t Constants::ActiveLeftEvenMaxAdc ()
 Left-side ceiling for even strips, in ADC.
Double_t Constants::ActiveLeftOddMaxAdc ()
 Left-side ceiling for odd strips, in ADC.
Double_t Constants::ActiveRightEvenMaxAdc ()
 Right-side ceiling for even strips, in ADC.
Double_t Constants::ActiveRightOddMaxAdc ()
 Right-side ceiling for odd strips, in ADC.
const std::vector< Int_t > & Constants::ActiveRunNumbers ()
 Runs of the active epoch, or the flat RUN_NUMBERS when none is set.
const TString & Constants::ActiveFileTag ()
 Output-name prefix of the active epoch.
Int_t Constants::ActiveMaxFiles ()
 Cap on subfiles processed per run for the active epoch.
const std::map< std::pair< Int_t, Int_t >, TString > & Constants::ActiveChannelMap ()
 The channel map in force.

Function Documentation

◆ TargetGasA()

Int_t TargetGasA ( TargetGas gas)

Mass number of the target nucleus in a fill gas.

Parameters
gasFill gas.

Definition at line 3 of file Constants.cpp.

Referenced by BeamEnergies::CmFraction(), and main().

◆ TargetGasAtomsPerMolecule()

Double_t TargetGasAtomsPerMolecule ( TargetGas gas)

Atoms of the reacting species per molecule of fill gas.

Parameters
gasFill gas.

Definition at line 11 of file Constants.cpp.