ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/PhysicsMod/interface/HLTExampleMod.h
Revision: 1.2
Committed: Wed Dec 10 17:25:16 2008 UTC (16 years, 4 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009, Mit_008, Mit_008pre2, Mit_008pre1, Mit_006b, Mit_006a
Changes since 1.1: +2 -2 lines
Log Message:
Cosmetics.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: HLTExampleMod.h,v 1.1 2008/11/25 14:30:53 loizides Exp $
3 loizides 1.1 //
4     // HLTExampleAnaMod
5     //
6     // This TAM module shows how to use the HLTMod module. It produces the pt- and
7     // eta- distributions for trigger objects corresponding for a given trigger
8     // object name.
9     //
10     // Authors: C.Loizides
11     //--------------------------------------------------------------------------------------------------
12    
13     #ifndef MITANA_PHYSICSMOD_HLTEXAMPLEMOD_H
14     #define MITANA_PHYSICSMOD_HLTEXAMPLEMOD_H
15    
16     #include "MitAna/TreeMod/interface/BaseMod.h"
17     #include "MitAna/DataTree/interface/Collections.h"
18    
19     class TH1D;
20    
21     namespace mithep
22     {
23     class HLTExampleMod : public BaseMod
24     {
25     public:
26     HLTExampleMod(const char *name="HLTExampleMod",
27     const char *title="HLT example module");
28     ~HLTExampleMod() {}
29    
30     void SetTrigObjsName(const char *n) { fObjsName=n; }
31    
32     protected:
33     TString fObjsName; //name of trigger objects
34     TH1D *fPtHist; //!pt histogram
35     TH1D *fEtaHist; //!eta histogram
36    
37     void Process();
38     void SlaveBegin();
39    
40 loizides 1.2 ClassDef(HLTExampleMod, 1) // HLT example analysis module
41 loizides 1.1 };
42     }
43     #endif