CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/DataFormats/CastorReco/src/CastorCluster.cc

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