source: tags/Mars-V0.9.2/mtrigger/MTriggerPattern.cc

Last change on this file was 5869, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 2.2 KB
Line 
1/* ======================================================================== *\
2!
3! *
4! * This file is part of MARS, the MAGIC Analysis and Reconstruction
5! * Software. It is distributed to you in the hope that it can be a useful
6! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
7! * It is distributed WITHOUT ANY WARRANTY.
8! *
9! * Permission to use, copy, modify and distribute this software and its
10! * documentation for any purpose is hereby granted without fee,
11! * provided that the above copyright notice appear in all copies and
12! * that both that copyright notice and this permission notice appear
13! * in supporting documentation. It is provided "as is" without express
14! * or implied warranty.
15! *
16!
17!
18! Author(s): Nicola Galante 12/2004 <mailto:nicola.galante@pi.infn.it>
19! Author(s): Thomas Bretz 12/2004 <mailto:nicola.galante@pi.infn.it>
20!
21! Copyright: MAGIC Software Development, 2004
22!
23\* ======================================================================== */
24
25/////////////////////////////////////////////////////////////////////////////
26//
27// MTriggerPattern
28//
29// A container to store the decoded trigger pattern.
30//
31// The idea is, that this container will never change the meaning of its
32// variables, while the trigger pattern itself could.
33//
34// If new 'features' are necessary the decoding (MTriggerPatternDecode)
35// must be changed to correctly decode the pattern into the existing
36// MTriggerPattern. If new information is decoded you may have to
37// add new variables to this container. Don't forget to increase the
38// class version number (ClassDef) and document your change HERE.
39//
40// For files before file version 5 the trigger pattern is set to 00000000.
41//
42/////////////////////////////////////////////////////////////////////////////
43#include "MTriggerPattern.h"
44
45ClassImp(MTriggerPattern);
46
47using namespace std;
48
49// --------------------------------------------------------------------------
50//
51// Default constructor
52//
53MTriggerPattern::MTriggerPattern(const char *name, const char *title)
54 : fPrescaled(0), fUnprescaled(0)
55{
56 fName = name ? name : "MTriggerPattern";
57 fTitle = title ? title : "Container for decoded trigger pattern";
58}
Note: See TracBrowser for help on using the repository browser.