49 |
|
#include "TClonesArray.h" |
50 |
|
|
51 |
|
|
52 |
< |
class PhotonAnalyzer{ |
53 |
< |
|
54 |
< |
public: |
55 |
< |
PhotonAnalyzer(const edm::ParameterSet& producersNames); |
56 |
< |
PhotonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity); |
57 |
< |
~PhotonAnalyzer(); |
58 |
< |
void SetVerbosity(int verbosity) {verbosity_ = verbosity; }; |
59 |
< |
void Process(const edm::Event& iEvent, const edm::EventSetup& iSetup, TRootEvent* rootEvent, TClonesArray* rootPhotons, TClonesArray* conversionTracks, ConversionLikelihoodCalculator* convLikelihoodCalculator, EcalClusterLazyTools& lazyTools); |
60 |
< |
|
61 |
< |
private: |
62 |
< |
int verbosity_; |
63 |
< |
int iconvtrack_; |
64 |
< |
std::string dataType_ ; |
65 |
< |
edm::InputTag photonProducer_; |
66 |
< |
edm::InputTag photonIDProducer_; |
67 |
< |
bool doPhotonConversion_; |
68 |
< |
bool doVertexCorrection_; |
69 |
< |
bool useMC_; |
52 |
> |
class PhotonAnalyzer |
53 |
> |
{ |
54 |
> |
|
55 |
> |
public: |
56 |
> |
PhotonAnalyzer(const edm::ParameterSet& producersNames, const edm::ParameterSet& myConfig, int verbosity); |
57 |
> |
~PhotonAnalyzer(); |
58 |
> |
void setVerbosity(int verbosity) {verbosity_ = verbosity; }; |
59 |
> |
bool process(const edm::Event& iEvent, const edm::EventSetup& iSetup, TRootEvent* rootEvent, TClonesArray* rootPhotons, TClonesArray* conversionTracks, ConversionLikelihoodCalculator* convLikelihoodCalculator, EcalClusterLazyTools* lazyTools); |
60 |
> |
|
61 |
> |
private: |
62 |
> |
int verbosity_; |
63 |
> |
int iconvtrack_; |
64 |
> |
std::string dataType_ ; |
65 |
> |
edm::InputTag photonProducer_; |
66 |
> |
edm::InputTag photonIDProducer_; |
67 |
> |
bool doPhotonConversion_; |
68 |
> |
bool doVertexCorrection_; |
69 |
> |
bool useMC_; |
70 |
> |
bool allowMissingCollection_; |
71 |
> |
|
72 |
|
}; |
73 |
|
|
74 |
|
#endif |