Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:49

0001 #include "DataFormats/CastorReco/interface/CastorCluster.h"
0002 
0003 reco::CastorCluster::CastorCluster(const double energy,
0004                                    const ROOT::Math::XYZPoint& position,
0005                                    const double emEnergy,
0006                                    const double hadEnergy,
0007                                    const double fem,
0008                                    const double width,
0009                                    const double depth,
0010                                    const double fhot,
0011                                    const double sigmaz,
0012                                    const reco::CastorTowerRefVector& usedTowers) {
0013   position_ = position;
0014   energy_ = energy;
0015   emEnergy_ = emEnergy;
0016   hadEnergy_ = hadEnergy;
0017   fem_ = fem;
0018   width_ = width;
0019   depth_ = depth;
0020   fhot_ = fhot;
0021   sigmaz_ = sigmaz;
0022   for (reco::CastorTowerRefVector::const_iterator towerit = usedTowers.begin(); towerit != usedTowers.end();
0023        ++towerit) {
0024     usedTowers_.push_back((*towerit));
0025   }
0026 }
0027 
0028 reco::CastorCluster::~CastorCluster() {}