ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ElectronAssociator.h
Revision: 1.1
Committed: Mon Jun 29 14:38:10 2009 UTC (15 years, 10 months ago) by lethuill
Content type: text/plain
Branch: MAIN
CVS Tags: all_3_3_2_01, all_3_2_5_02, all_3_2_5_01, all_2_2_9_03, all_2_2_9_02, HEAD
Branch point for: CMSSW_2_2_X_br
Log Message:
Add Electron/Superclusters(any type) association

File Contents

# Content
1 #ifndef ElectronAssociator_h
2 #define ElectronAssociator_h
3
4 #include <memory>
5 #include <string>
6 #include <iostream>
7 #include <map>
8
9 #include "../interface/TRootElectron.h"
10 #include "../interface/TRootSuperCluster.h"
11
12 #include "TClonesArray.h"
13
14
15 class ElectronAssociator
16 {
17
18 public:
19 ElectronAssociator();
20 ~ElectronAssociator();
21 void setVerbosity(int verbosity) {verbosity_ = verbosity; };
22 void associateSuperCluster(TClonesArray* electrons, TClonesArray* superClusters);
23 void printElectrons(TClonesArray* electrons, TClonesArray* superClusters, Int_t type);
24 void fullPrintElectrons(TClonesArray* electrons, TClonesArray* superClusters, TClonesArray* basicClusters, Int_t type);
25
26 private:
27 int verbosity_;
28
29 };
30
31 #endif