CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
L1GtPrescaleFactorsAndMasksTester.cc
Go to the documentation of this file.
1 
17 // this class header
19 
20 // system include files
21 #include <iomanip>
22 
23 // user include files
24 // base class
26 
29 
32 
34 
37 
39 
42 
45 
46 // forward declarations
47 
48 // constructor(s)
50  const edm::ParameterSet& parSet) {
51  // empty
52 }
53 
54 // destructor
56  // empty
57 }
58 
59 // loop over events
61  const edm::EventSetup& evSetup) {
62 
63  //
65  evSetup.get< L1GtPrescaleFactorsAlgoTrigRcd>().get(l1GtPfAlgo) ;
66 
67  std::cout << "\nL1 GT prescale factors for algorithm triggers" << std::endl;
68  l1GtPfAlgo->print(std::cout);
69 
71  evSetup.get< L1GtPrescaleFactorsTechTrigRcd>().get(l1GtPfTech) ;
72 
73  std::cout << "\nL1 GT prescale factors for technical triggers" << std::endl;
74  l1GtPfTech->print(std::cout);
75 
76  //
78  evSetup.get< L1GtTriggerMaskAlgoTrigRcd>().get(l1GtTmAlgo) ;
79 
80  std::cout << "\nL1 GT trigger masks for algorithm triggers" << std::endl;
81  l1GtTmAlgo->print(std::cout);
82 
84  evSetup.get< L1GtTriggerMaskTechTrigRcd>().get(l1GtTmTech) ;
85 
86  std::cout << "\nL1 GT trigger masks for technical triggers" << std::endl;
87  l1GtTmTech->print(std::cout);
88 
89  //
90  edm::ESHandle< L1GtTriggerMask> l1GtTmVetoAlgo;
91  evSetup.get< L1GtTriggerMaskVetoAlgoTrigRcd>().get(l1GtTmVetoAlgo) ;
92 
93  std::cout << "\nL1 GT trigger veto masks for algorithm triggers"
94  << std::endl;
95  l1GtTmVetoAlgo->print(std::cout);
96 
97  edm::ESHandle< L1GtTriggerMask> l1GtTmVetoTech;
98  evSetup.get< L1GtTriggerMaskVetoTechTrigRcd>().get(l1GtTmVetoTech) ;
99 
100  std::cout << "\nL1 GT trigger veto masks for technical triggers"
101  << std::endl;
102  l1GtTmVetoTech->print(std::cout);
103 
104 }
virtual void analyze(const edm::Event &, const edm::EventSetup &)
int iEvent
Definition: GenABIO.cc:243
L1GtPrescaleFactorsAndMasksTester(const edm::ParameterSet &)
const T & get() const
Definition: EventSetup.h:55
tuple cout
Definition: gather_cfg.py:41