1 |
#ifndef PhotonAnalyzer_h
|
2 |
#define PhotonAnalyzer_h
|
3 |
|
4 |
// system include files
|
5 |
#include <memory>
|
6 |
#include <string>
|
7 |
#include <iostream>
|
8 |
|
9 |
// user include files
|
10 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
11 |
#include "FWCore/Framework/interface/EDAnalyzer.h"
|
12 |
#include "FWCore/Framework/interface/Event.h"
|
13 |
//#include "FWCore/Framework/interface/Handle.h"
|
14 |
#include "FWCore/Framework/interface/MakerMacros.h"
|
15 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
16 |
#include "FWCore/Framework/interface/ESHandle.h"
|
17 |
#include "DataFormats/EgammaCandidates/interface/Photon.h"
|
18 |
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
|
19 |
|
20 |
|
21 |
#include "UserCode/Morgan/interface/TRootEvent.h"
|
22 |
#include "UserCode/Morgan/interface/TRootPhoton.h"
|
23 |
|
24 |
#include "TClonesArray.h"
|
25 |
|
26 |
|
27 |
class PhotonAnalyzer{
|
28 |
|
29 |
public:
|
30 |
PhotonAnalyzer();
|
31 |
~PhotonAnalyzer();
|
32 |
void SetVerbosity(int idebug) {verbosity = idebug; };
|
33 |
void Process(const edm::Event& iEvent, TRootEvent* rootEvent, TClonesArray* rootPhotons, string collectionName);
|
34 |
|
35 |
private:
|
36 |
int verbosity;
|
37 |
};
|
38 |
|
39 |
#endif
|