ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/L1ObjColl.h
Revision: 1.2
Committed: Mon Nov 28 18:31:03 2011 UTC (13 years, 5 months ago) by konec
Content type: text/plain
Branch: MAIN
CVS Tags: Mikolaj_cmssw533, Mikolaj_cmssw52x
Changes since 1.1: +8 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 konec 1.1 #ifndef L1ObjColl_H
2     #define L1ObjColl_H
3    
4     #include "UserCode/L1RpcTriggerAnalysis/interface/L1Obj.h"
5     #include <vector>
6    
7     class L1ObjColl : public TObject {
8    
9     public:
10     L1ObjColl() {}
11     virtual ~L1ObjColl(){}
12    
13     void set(const std::vector<L1Obj> & obj) { theL1Obj = obj; }
14     void set(const std::vector<bool> & comp) { theL1Matching = comp; }
15     const std::vector<L1Obj> & getL1Objs() const { return theL1Obj; }
16     const std::vector<bool> & getL1ObjsMatching() const { return theL1Matching; }
17    
18     std::vector<L1Obj> getL1ObjsMatched(double ptMin = 0) const;
19 konec 1.2 std::vector<L1Obj> getL1ObjsSelected(
20     bool requireMatched = true, bool requireNonMatched = false,
21     double ptMin = 0., double ptMax = 161.,
22     int bxMin = 0, int bxMax = 0,
23     double etaMin = -2.5, double etaMax = 2.5,
24     double phiMin = 0., double phiMax = 7.,
25     int qMin = 0, int qMax = 7) const;
26     void print() const;
27 konec 1.1
28     private:
29     std::vector<L1Obj> theL1Obj;
30     std::vector<bool> theL1Matching;
31    
32     public:
33     ClassDef(L1ObjColl,1)
34    
35     };
36    
37     #endif