CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
L1GtPrescaleFactorsAndMasksTester Class Reference

#include <L1GtPrescaleFactorsAndMasksTester.h>

Inheritance diagram for L1GtPrescaleFactorsAndMasksTester:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
 L1GtPrescaleFactorsAndMasksTester (const edm::ParameterSet &)
 
virtual ~L1GtPrescaleFactorsAndMasksTester ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Description: test analyzer for L1 GT prescale factors and masks.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 32 of file L1GtPrescaleFactorsAndMasksTester.h.

Constructor & Destructor Documentation

L1GtPrescaleFactorsAndMasksTester::L1GtPrescaleFactorsAndMasksTester ( const edm::ParameterSet parSet)
explicit

Definition at line 49 of file L1GtPrescaleFactorsAndMasksTester.cc.

50  {
51  // empty
52 }
L1GtPrescaleFactorsAndMasksTester::~L1GtPrescaleFactorsAndMasksTester ( )
virtual

Definition at line 55 of file L1GtPrescaleFactorsAndMasksTester.cc.

55  {
56  // empty
57 }

Member Function Documentation

void L1GtPrescaleFactorsAndMasksTester::analyze ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 60 of file L1GtPrescaleFactorsAndMasksTester.cc.

References gather_cfg::cout, and edm::EventSetup::get().

61  {
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 }
const T & get() const
Definition: EventSetup.h:55
tuple cout
Definition: gather_cfg.py:41