CalibTracker
SiPixelESProducers
interface
SiPixelDetInfoFileWriter.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
2
#define CalibTracker_SiPixelESProducers_SiPixelDetInfoFileWriter_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelDetInfoFileWriter
6
// Class: SiPixelDetInfoFileWriter
7
//
15
//
16
// Original Author: Vincenzo Chiochia
17
// Created: Mon Nov 20 10:04:31 CET 2006
18
//
19
//
20
21
#include "
FWCore/Framework/interface/EDAnalyzer.h
"
22
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
23
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
24
#include <string>
25
#include <iostream>
26
#include <fstream>
27
28
class
SiPixelDetInfoFileWriter
:
public
edm::EDAnalyzer
{
29
public
:
30
explicit
SiPixelDetInfoFileWriter
(
const
edm::ParameterSet
&);
31
~SiPixelDetInfoFileWriter
()
override
;
32
33
private
:
34
void
beginJob
()
override
;
35
void
beginRun
(
const
edm::Run
&,
const
edm::EventSetup
&)
override
;
36
void
analyze
(
const
edm::Event
&,
const
edm::EventSetup
&)
override
;
37
38
private
:
39
edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord>
trackerGeomTokenBeginRun_
;
40
std::ofstream
outputFile_
;
41
std::string
filePath_
;
42
};
43
#endif
SiPixelDetInfoFileWriter
Definition:
SiPixelDetInfoFileWriter.h:28
TrackerGeometry.h
SiPixelDetInfoFileWriter::beginRun
void beginRun(const edm::Run &, const edm::EventSetup &) override
Definition:
SiPixelDetInfoFileWriter.cc:29
SiPixelDetInfoFileWriter::filePath_
std::string filePath_
Definition:
SiPixelDetInfoFileWriter.h:41
edm::Run
Definition:
Run.h:45
SiPixelDetInfoFileWriter::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition:
SiPixelDetInfoFileWriter.cc:67
EDAnalyzer.h
edm::EDAnalyzer
Definition:
EDAnalyzer.h:28
SiPixelDetInfoFileWriter::~SiPixelDetInfoFileWriter
~SiPixelDetInfoFileWriter() override
Definition:
SiPixelDetInfoFileWriter.cc:25
SiPixelDetInfoFileWriter::SiPixelDetInfoFileWriter
SiPixelDetInfoFileWriter(const edm::ParameterSet &)
Definition:
SiPixelDetInfoFileWriter.cc:18
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelDetInfoFileWriter::beginJob
void beginJob() override
Definition:
SiPixelDetInfoFileWriter.cc:65
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
SiPixelDetInfoFileWriter::outputFile_
std::ofstream outputFile_
Definition:
SiPixelDetInfoFileWriter.h:40
SiPixelDetInfoFileWriter::trackerGeomTokenBeginRun_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomTokenBeginRun_
Definition:
SiPixelDetInfoFileWriter.h:39
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16