--- calo/flight/CaloFranzini/src/CaloFranzini.cpp 2008/01/25 15:09:07 1.8 +++ calo/flight/CaloFranzini/src/CaloFranzini.cpp 2008/12/18 21:08:53 1.9 @@ -129,6 +129,19 @@ }; } +void CaloFranzini::SplitInto(Int_t NoWpreSampler, Int_t NoWcalo){ + this->SetNoWpreSampler(0); + this->SetNoWcalo(0); + if ( NoWpreSampler < NoWcalo ){ + this->SetNoWpreSampler(NoWpreSampler); + this->SetNoWcalo(NoWcalo); + } else { + this->SetNoWcalo(NoWcalo); + this->SetNoWpreSampler(NoWpreSampler); + }; +} + + void CaloFranzini::Process(){ this->Process(0); }