Revision: | 1.1 |
Committed: | Mon Aug 29 16:39:30 2011 UTC (13 years, 8 months ago) by antoniov |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | V01-01-01, V01-01-00, antoniov-forwardAnalysis-09Jul2012-v1, antoniov-forwardAnalysis-29Jun2012-v1, V01-00-00, antoniov-utilities-11Jun2012-v1, antoniov-forwardAnalysis-Oct072011-v1, sfonseca_10_04_2011, antoniov-forwardAnalysis-Sep182011-v1, antoniov-forwardAnalysis-Sep102011-v1, HEAD |
Log Message: | adding CastorEnergy utility class |
# | Content |
---|---|
1 | #ifndef ForwardAnalysis_Utilities_CastorEnergy_h |
2 | #define ForwardAnalysis_Utilities_CastorEnergy_h |
3 | |
4 | #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h" |
5 | |
6 | #include <vector> |
7 | #include <algorithm> |
8 | |
9 | namespace forwardAnalysis { |
10 | |
11 | class CastorEnergy { |
12 | public: |
13 | CastorEnergy(std::vector<int> const& modules): modules_(modules) {} |
14 | ~CastorEnergy() {} |
15 | |
16 | double operator()(CastorRecHitCollection const&, bool isRealData = true); |
17 | private: |
18 | std::vector<int> modules_; |
19 | }; |
20 | |
21 | } // namespace |
22 | #endif |