AlcapDAQ
1
|
#include "midas.h"
#include <math.h>
#include "TPCcommon.h"
#include "HITS.h"
#include "CAET.h"
#include "ADCS.h"
#include "FDCR.h"
#include "TPCW.h"
#include "NDET.h"
#include "TSPK.h"
#include "SKIM.h"
Go to the source code of this file.
Data Structures | |
struct | caen_word |
union | comp_word |
struct | channel_hit |
struct | caen_hit |
struct | adc_hit |
struct | fadc_word |
struct | FADC_info |
struct | TPCWFD_info |
struct | ndet_elt |
struct | TPC_map_elt |
struct | tdc400_word |
struct | td_elt |
struct | thresh_bits |
struct | stack_elt |
struct | tpc_spark_word |
struct | skim_elt |
Typedefs | |
typedef struct caen_word | caen_word |
typedef union comp_word | comp_word |
typedef struct channel_hit | channel_hit |
typedef struct caen_hit | caen_hit |
typedef struct adc_hit | adc_hit |
typedef struct fadc_word | fadc_word |
typedef struct FADC_info | FADC_info |
typedef struct TPCWFD_info | TPCWFD_info |
typedef struct ndet_elt | ndet_elt |
typedef struct TPC_map_elt | TPC_map_elt |
typedef struct tdc400_word | tdc400_word |
typedef struct td_elt | td_elt |
typedef struct thresh_bits | thresh_bits |
typedef struct stack_elt | stack_elt |
typedef struct tpc_spark_word | tpc_spark_word |
typedef struct skim_elt | skim_elt |
Functions | |
bool | parameter_exists (int par) |
void | print_TPCstack_interval (void *pevent, long index1, long index2) |
void | print_TPCstack_interval_by_time (void *pevent, double time1, double time2) |
void | print_TPCstack_section (void *pevent, long index) |
void | print_TPCstack_section_by_time (void *pevent, double time) |
bool | has_Ehigh_and_strip_hits (EVENT_HEADER *pheader, void *pevent, double time) |
bool | has_VH_hit (EVENT_HEADER *pheader, void *pevent, double time) |
Variables | |
static const int | kMaxEvents = 31000 |
static const int | kMaxCrates = 8 |
static const int | kMaxTDC400s = 9 |
static const int | kMaxCaens = 3 |
static const int | kMaxComps = 3 |
static const int | kMaxCompFpgas = 26 |
static const int | kMaxFadcs = 4 |
static const int | kMaxFadcTriggers = 5 |
static const int | kMaxCamacAdcs = 10 |
static const int | kNumCaenChannels = 128 |
static const int | kNumCompFpgaChannels = 64 |
static const int | kNumFadcChannels = 4 |
static const int | kMaxNumTPCPads = 80 |
static const int | kCaenTrailingEdgeLimit = 100 |
double | rolloverPeriod |
double | rolloverWidth |
static const int | kNumRollovers = 3 |
static const int | kNumRolloverPairs = 3 |
double | rolloverTimeOffset [kNumRollovers] |
static const int | kMuPC1NumXWires = 24 |
static const int | kMuPC1NumYWires = 24 |
static const int | kMuSCADInterval = 29 |
static const int | kMuSCloADInterval = 29 |
static const int | kMuSCAD2Interval = 120 |
static const int | kMuSCAADInterval = 90 |
static const int | kMuSCMismatchThreshold = 3 |
static const int | kMuSCSignalsTCoincHalfWidth = 20 |
double | muSCCopy2TimeOffset |
double | muSCATimeOffset |
double | muSCGateBTimeOffset |
double | muSCGateBBarTimeOffset |
double | muSCRoutedTimeOffset [4] |
static const int | kePC1NumInnerStrips = 192 |
static const int | kePC1NumAnodes = 512 |
static const int | kePC1NumOuterStrips = 192 |
static const int | kePC2NumInnerStrips = 320 |
static const int | kePC2NumAnodes = 1024 |
static const int | kePC2NumOuterStrips = 320 |
static const int | kePC1AnodeSparkSizeLowCutoff = 35 |
static const int | kePC1AnodeSparkSizeHighCutoff = 490 |
static const int | kePC1IstripSparkSizeLowCutoff = 35 |
static const int | kePC1IstripSparkSizeHighCutoff = 180 |
static const int | kePC1OstripSparkSizeLowCutoff = 35 |
static const int | kePC1OstripSparkSizeHighCutoff = 180 |
static const int | kePC2AnodeSparkSizeLowCutoff = 35 |
static const int | kePC2AnodeSparkSizeHighCutoff = 990 |
static const int | kePC2IstripSparkSizeLowCutoff = 35 |
static const int | kePC2IstripSparkSizeHighCutoff = 300 |
static const int | kePC2OstripSparkSizeLowCutoff = 35 |
static const int | kePC2OstripSparkSizeHighCutoff = 300 |
static const int | keSCSparkSizeLowCutoff = 10 |
static const int | keSCSparkSizeHighCutoff = 55 |
static const int | kMuPC1XSparkSizeLowCutoff = 10 |
static const int | kMuPC1XSparkSizeHighCutoff = 24 |
static const int | kMuPC1YSparkSizeLowCutoff = 10 |
static const int | kMuPC1YSparkSizeHighCutoff = 24 |
static const int | keSCCaenOnlyCutThreshold = 10 |
static const int | keSCCompOnlyCutThreshold = 25 |
static const double | kSkimPP = 25000 |
static const double | kSkimInterval = 55000 |
static const double | kGeneralSkimInterval = 200000 |
static const double | kPi = M_PI |
static const double | k2Pi = (2.0 * M_PI) |
static const bool | ON = 1 |
static const bool | OFF = 0 |
typedef struct channel_hit channel_hit |
typedef struct tdc400_word tdc400_word |
typedef struct thresh_bits thresh_bits |
typedef struct TPC_map_elt TPC_map_elt |
typedef struct tpc_spark_word tpc_spark_word |
typedef struct TPCWFD_info TPCWFD_info |
bool has_Ehigh_and_strip_hits | ( | EVENT_HEADER * | pheader, |
void * | pevent, | ||
double | time | ||
) |
bool has_VH_hit | ( | EVENT_HEADER * | pheader, |
void * | pevent, | ||
double | time | ||
) |
bool parameter_exists | ( | int | par) |
void print_TPCstack_interval | ( | void * | pevent, |
long | index1, | ||
long | index2 | ||
) |
void print_TPCstack_interval_by_time | ( | void * | pevent, |
double | time1, | ||
double | time2 | ||
) |
void print_TPCstack_section | ( | void * | pevent, |
long | index | ||
) |
void print_TPCstack_section_by_time | ( | void * | pevent, |
double | time | ||
) |
|
static |
Definition at line 27 of file common.h.
Referenced by make_caen().
|
static |
Definition at line 12 of file common.h.
Referenced by MCaenCompProcessRaw(), and MCaenCompProcessRaw_init().
|
static |
Definition at line 14 of file common.h.
Referenced by make_comp(), and MCaenCompProcessRaw_init().
|
static |
Definition at line 13 of file common.h.
Referenced by MCaenCompProcessRaw(), and MCaenCompProcessRaw_init().
|
static |
Definition at line 10 of file common.h.
Referenced by MCaenCompProcessRaw_init().
|
static |
Definition at line 9 of file common.h.
Referenced by init_caen_histograms(), init_comp_histograms(), and MCaenCompProcessRaw_init().
|
static |
Definition at line 35 of file common.h.
Referenced by MMuPC1AnalysisC(), MMuPC1AnalysisC_init(), MMuPC1AnalysisMQL(), and MMuPC1AnalysisMQL_init().
|
static |
Definition at line 36 of file common.h.
Referenced by MMuPC1AnalysisC(), MMuPC1AnalysisC_init(), MMuPC1AnalysisMQL(), and MMuPC1AnalysisMQL_init().
|
static |
Definition at line 42 of file common.h.
Referenced by MMuSCAnalysisMQL().
|
static |
Definition at line 41 of file common.h.
Referenced by MMuSCAnalysisMQL().
|
static |
Definition at line 39 of file common.h.
Referenced by MMuSCAnalysisC(), and MMuSCAnalysisMQL().
|
static |
Definition at line 40 of file common.h.
Referenced by MMuSCAnalysisMQL().
|
static |
Definition at line 43 of file common.h.
Referenced by MMuSCAnalysisC().
|
static |
Definition at line 18 of file common.h.
Referenced by init_caen_histograms(), and MCaenCompProcessRaw_init().
|
static |
Definition at line 19 of file common.h.
Referenced by MCaenCompProcessRaw_init().
double muSCATimeOffset |
Definition at line 35 of file MMuSCAnalysisC.cpp.
Referenced by MMuSCAnalysisC_init().
double muSCCopy2TimeOffset |
Definition at line 34 of file MMuSCAnalysisC.cpp.
Referenced by MMuSCAnalysisC_init().
double muSCGateBBarTimeOffset |
double muSCGateBTimeOffset |
double muSCRoutedTimeOffset[4] |
Definition at line 36 of file MMuSCAnalysisC.cpp.
Referenced by MMuSCAnalysisC_init().
double rolloverPeriod |
double rolloverTimeOffset[kNumRollovers] |
double rolloverWidth |