CalibTracker
SiStripAPVAnalysis
interface
ApvFactoryService.h
Go to the documentation of this file.
1
#ifndef ApvAnalysis_ApvFactoryService_H
2
#define ApvAnalysis_ApvFactoryService_H
3
4
#define DATABASE //@@ necessary?
5
6
#include "
FWCore/Utilities/interface/Exception.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
9
#include "
FWCore/ServiceRegistry/interface/ActivityRegistry.h
"
10
11
#include "
CondFormats/SiStripObjects/interface/SiStripPedestals.h
"
12
#include "
CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysisFactory.h
"
13
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/Framework/interface/EventSetup.h
"
16
#include "
FWCore/Framework/interface/ESHandle.h
"
17
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
18
19
#include <iostream>
20
#include <fstream>
21
#include <sstream>
22
#include <ostream>
23
#include <vector>
24
#include <string>
25
#include <map>
26
32
class
ApvFactoryService
{
33
public
:
34
// -------------------- Constructors, destructors --------------------
35
39
ApvFactoryService
(
const
edm::ParameterSet
&,
edm::ActivityRegistry
&);
40
42
~ApvFactoryService
();
43
44
int
getEventInitNumber
();
45
46
ApvAnalysisFactory
*
const
getApvFactory
()
const
;
47
48
// -------------------- Structs and enums --------------------
49
50
void
postProcessEvent
(
const
edm::Event
& ie,
const
edm::EventSetup
& ies);
51
55
private
:
56
// -------------------- Miscellaneous private methods --------------------
57
59
ApvAnalysisFactory
*
apvFactory_
;
60
61
bool
gotPed
;
62
};
63
64
#endif // ApvFactoryService_H
MessageLogger.h
ApvFactoryService::apvFactory_
ApvAnalysisFactory * apvFactory_
Definition:
ApvFactoryService.h:59
ApvFactoryService::getEventInitNumber
int getEventInitNumber()
Definition:
ApvFactoryService.cc:73
ESHandle.h
ApvFactoryService::gotPed
bool gotPed
Definition:
ApvFactoryService.h:61
ApvFactoryService::getApvFactory
ApvAnalysisFactory *const getApvFactory() const
Definition:
ApvFactoryService.cc:79
ApvFactoryService::~ApvFactoryService
~ApvFactoryService()
Definition:
ApvFactoryService.cc:25
ActivityRegistry.h
ApvAnalysisFactory
Definition:
ApvAnalysisFactory.h:22
edm::ActivityRegistry
Definition:
ActivityRegistry.h:133
ApvAnalysisFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ApvFactoryService::postProcessEvent
void postProcessEvent(const edm::Event &ie, const edm::EventSetup &ies)
Definition:
ApvFactoryService.cc:29
edm::EventSetup
Definition:
EventSetup.h:57
Frameworkfwd.h
SiStripPedestals.h
EventSetup.h
Exception.h
ApvFactoryService
An interface class to set the parameter in ApvAnalysisFactory
Definition:
ApvFactoryService.h:32
ParameterSet.h
edm::Event
Definition:
Event.h:73
ApvFactoryService::ApvFactoryService
ApvFactoryService(const edm::ParameterSet &, edm::ActivityRegistry &)
Definition:
ApvFactoryService.cc:16
Generated for CMSSW Reference Manual by
1.8.16