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

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