source: trunk/MagicSoft/Mars/mtrigger/MTriggerPattern.cc@ 5792

Last change on this file since 5792 was 5725, checked in by tbretz, 20 years ago
*** empty log message ***
File size: 2.1 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/////////////////////////////////////////////////////////////////////////////
41#include "MTriggerPattern.h"
42
43ClassImp(MTriggerPattern);
44
45using namespace std;
46
47// --------------------------------------------------------------------------
48//
49// Default constructor
50//
51MTriggerPattern::MTriggerPattern(const char *name, const char *title)
52 : fPrescaled(0), fUnprescaled(0)
53{
54 fName = name ? name : "MTriggerPattern";
55 fTitle = title ? title : "Container for decoded trigger pattern";
56}
Note: See TracBrowser for help on using the repository browser.