ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/devildog/SWonAnalysis3/Thesis/src/TCTrig.h
Revision: 1.1
Committed: Thu Apr 7 02:02:29 2011 UTC (14 years ago) by devildog
Content type: text/plain
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 devildog 1.1 /*
2     * File: TCTrig.h
3     * Author: S. Won
4     */
5    
6     #ifndef _TCTrig_H
7     #define _TCTrig_H
8    
9     #include "TObject.h"
10     #include <vector>
11     #include <string>
12     #include <utility>
13    
14     class TCTrig : public TObject {
15     private:
16     std::vector< std::pair <std::string, int > > triggers;
17     std::vector< std::pair <std::string, int > >::iterator wade_it;
18    
19     public:
20     TCTrig();
21     TCTrig(const TCTrig& orig);
22     virtual ~TCTrig();
23    
24     void dumpTriggers();
25     void addTrigger( std::string name, int scale);
26     void clearTriggers();
27     bool checkTrigger( std::string name);
28    
29     ClassDef(TCTrig, 1);
30    
31     };
32    
33     #endif