ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/interface/AnaMenu.h
(Generate patch)

Comparing UserCode/L1RpcTriggerAnalysis/interface/AnaMenu.h (file contents):
Revision 1.2 by konec, Tue Nov 6 12:56:50 2012 UTC vs.
Revision 1.3 by konec, Tue Dec 11 12:49:33 2012 UTC

# Line 9 | Line 9 | class TriggerMenuResultObj;
9   #include <vector>
10   #include <map>
11   #include <string>
12 + #include "FWCore/ParameterSet/interface/ParameterSet.h"
13 +
14  
15   class AnaMenu {
16   public:
17 <  AnaMenu() : debug(false) {}
17 >  AnaMenu(const edm::ParameterSet& cfg) : debug(false), theConfig(cfg) {}
18    void init(TObjArray& histos);
19 +  void updateMenu(const std::vector<std::string> & menuL1, const std::vector<std::string> & menuHLT);
20    bool filter( const EventObj* ev, const MuonObj* muon,
21                 const TriggerMenuResultObj *bitsL1,
22                 const TriggerMenuResultObj *bitsHLT);
# Line 21 | Line 24 | public:
24    void resume(TObjArray& histos);
25    bool debug;
26   private:
27 <   typedef std::map< std::string, unsigned int> AlgoMap ;
28 <   AlgoMap theAlgosL1, theAlgosHLT;
29 <   std::vector<std::string>  namesL1, namesHLT;
27 >  typedef std::map< std::string, unsigned int> AlgoMap ;
28 >  AlgoMap theAlgosL1, theAlgosHLT;
29 >  std::vector<std::string>  theMenuL1, theMenuHLT;
30 >  edm::ParameterSet theConfig;
31 >
32   };
33  
34   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines