source: trunk/MagicSoft/include-Classes/MMcFormat/MTriggerDefine.h@ 3077

Last change on this file since 3077 was 2394, checked in by blanch, 21 years ago
*** empty log message ***
File size: 3.2 KB
Line 
1//
2//
3// In this file are the fundamental definitions for the class MCTrigger
4//
5//
6#define TRIGGER_PIXELS_1 397
7#define TRIGGER_PIXELS_2 397
8#define TRIGGER_PIXELS_3 1657
9#define TRIGGER_PIXELS_5 397
10#define TRIGGER_PIXELS_6 1657
11#define TRIGGER_PIXELS_8 126
12#define TRIGGER_PIXELS_9 126
13//
14// This is the number of Pixels contributing to the TRIGGER logic
15// for each of the already implemented geometries.
16// All Pixels-Id above that value don't do an trigger stuff.
17// Actually, not all of them are involved in TRIGGER logic, only the
18// ones of them that are also in some TRIGGER_CELL
19// (MagicSoft/Simulation/Detector/include-MTrigger/TABLE_PIXELS_IN_CELLS)
20//
21#define TOTAL_TRIGGER_TIME 160
22//
23// This values defines the total range in that we try to find
24// a trigger.
25//
26#define LEVEL1_DEAD_TIME 50
27//
28// Dead time of the detector after one first level trigger happens.
29//
30#define LEVEL2_DEAD_TIME 300
31//
32// Dead time of the detector after second level trigger fires
33//
34#define SLICES_PER_NSEC 4
35//
36// Each nano second is divided into the number of this values slices.
37// So you can get the total number of timeslices for one Pixel by
38// ( TOTAL_TRIGGER_TIME * SLICES_PER_NSEC ).
39// In the current settings this are 1000 slices
40//
41#define TRIGGER_TIME_SLICES (TOTAL_TRIGGER_TIME*SLICES_PER_NSEC)
42//
43//
44//
45//
46// ------>>> SETTINGS for the RESPONSE FUNCTION
47//
48#define RESPONSE_SLICES 40
49//
50// This is for the standard response Signal to 1 Photoelectron
51// that leaves the Photocathode
52// The whole Timescale for the signal is 10 nsec
53//
54// The Response function
55//
56// These values are discussed with Eckart. We start from this point.
57//
58#define RESPONSE_FWHM 2.
59
60#define RESPONSE_AMPLITUDE 1.
61//
62// This are the Standard values of the response function for
63// 1 photo electron. ( 1 means 1 mV per phote electron )
64//
65//
66// -------->>> SETTINGS for the DISKRIMINATORS
67//
68//
69#define CHANNEL_THRESHOLD 2.5
70//
71// This is the diskriminator threshold for each individual channel
72// First we set the value to 2 unit of the RESPONSE_AMPLITUDE
73//
74#define TRIGGER_GATE 3.
75//
76// Here we set the width of the digital signal we get if the signal
77// passes the diskriminator
78//
79//
80#define TRIGGER_OVERLAPING 0.25
81//
82// Here we set the required overlaping time among pixels
83// to be in coincidence.
84//
85//
86// --------->>>> SETTINGS for the TRIGGER logic
87//
88//
89#define TRIGGER_CELLS 19
90//
91// Number of trigger cells that cover the trigger zone
92//
93#define TRIGGER_MULTI 4.
94//
95// We get a Level Zero Trigger, if we have a least TRIGGER_MULTI
96// channels with a diskrimiator signal at the same time
97//
98#define TRIGGER_GEOM 0
99//
100// This defines the geometry required for a trigger. There exists
101// different meaning for this behaviour:
102// 0 means a pixel with trigger_multi-1 neighbours
103// 1 means trigger_multi neighbours
104// 2 means trigger_multi closed neighbours
105//
Note: See TracBrowser for help on using the repository browser.