Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:57

0001 #ifndef CSCDQM_StripCluster_h
0002 #define CSCDQM_StripCluster_h
0003 
0004 #include <TObject.h>
0005 #include <vector>
0006 #include <algorithm>
0007 
0008 #include "CSCDQM_StripClusterFitData.h"
0009 #include "CSCDQM_ClusterLocalMax.h"
0010 
0011 namespace cscdqm {
0012 
0013   /**
0014    * @class StripCluster
0015    * @brief Strip Cluster
0016    */
0017   class StripCluster {
0018   public:
0019     std::vector<StripClusterFitData> ClusterPulseMapHeight;
0020     std::vector<ClusterLocalMax> localMax;
0021     int LFTBNDTime;
0022     int LFTBNDStrip;
0023     int IRTBNDTime;
0024     int IRTBNDStrip;
0025     int LayerId;
0026     int EventId;
0027     float Mean[2];
0028 
0029     int rlocalMaxTime(int i) { return localMax[i].Time; }
0030     int rlocalMaxStrip(int i) { return localMax[i].Strip; }
0031     int rLFTBNDTime(void) { return LFTBNDTime; }
0032     int rLFTBNDStrip(void) { return LFTBNDStrip; }
0033     int rIRTBNDTime(void) { return IRTBNDTime; }
0034     int rIRTBNDStrip(void) { return IRTBNDStrip; }
0035     int rnlocal() { return localMax.size(); }
0036     StripCluster();
0037     virtual ~StripCluster();
0038     //  ClassDef(StripCluster,1) //StripCluster
0039   };
0040 
0041 }  // namespace cscdqm
0042 
0043 #endif