ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/ClusterAssociator.h
Revision: 1.4
Committed: Mon Jun 29 14:52:52 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
Changes since 1.3: +2 -2 lines
Log Message:
Complete photons/electrons <-> Superclusters <-> Basic Clusters navigation via TRef or Indices

File Contents

# User Rev Content
1 mlethuil 1.1 #ifndef ClusterAssociator_h
2     #define ClusterAssociator_h
3    
4     #include <memory>
5     #include <string>
6     #include <iostream>
7     #include <map>
8    
9 lethuill 1.2 #include "../interface/TRootCluster.h"
10     #include "../interface/TRootSuperCluster.h"
11 mlethuil 1.1
12     #include "TClonesArray.h"
13    
14    
15 lethuill 1.3 class ClusterAssociator
16     {
17    
18     public:
19     ClusterAssociator();
20     ~ClusterAssociator();
21 lethuill 1.4 void setVerbosity(int verbosity) {verbosity_ = verbosity; };
22 lethuill 1.3 void process(TClonesArray* superClusters, TClonesArray* basicClusters);
23     void printSuperClusters(TClonesArray* superClusters, TClonesArray* basicClusters, Int_t type);
24    
25     private:
26 lethuill 1.4 int verbosity_;
27 mlethuil 1.1
28     };
29    
30     #endif