CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/CastorReco/src/CastorCluster.cc

Go to the documentation of this file.
00001 #include "DataFormats/CastorReco/interface/CastorCluster.h"
00002 
00003 reco::CastorCluster::CastorCluster(const double energy, const ROOT::Math::XYZPoint& position, const double emEnergy, const double hadEnergy, 
00004                              const double fem, const double width, const double depth, const double fhot, const double sigmaz,
00005                              const reco::CastorTowerRefVector& usedTowers) {
00006   position_ = position;
00007   energy_ = energy;
00008   emEnergy_ = emEnergy;
00009   hadEnergy_ = hadEnergy;
00010   fem_ = fem;
00011   width_ = width;
00012   depth_ = depth;
00013   fhot_ = fhot;
00014   sigmaz_ = sigmaz;
00015   for(reco::CastorTowerRefVector::const_iterator towerit  = usedTowers.begin(); towerit != usedTowers.end();++towerit) {
00016     usedTowers_.push_back( (*towerit) );
00017   }
00018 }
00019 
00020 reco::CastorCluster::~CastorCluster() {
00021 
00022 }