AliPHOSvImpacts(void) ;
AliPHOSvImpacts(const char *name, const char *title="") ;
- AliPHOSvImpacts(const AliPHOSvImpacts & phos) {
- // cpy ctor: no implementation yet
- // requested by the Coding Convention
- Fatal("cpy ctor", "not implemented") ;
+ AliPHOSvImpacts(AliPHOSvImpacts & phos) : AliPHOSv1(phos) {
+ phos.Copy(*this) ;
}
virtual ~AliPHOSvImpacts(void) ;
- virtual void AddImpact(char* detector, Int_t shunt, Int_t primary, Int_t track,
+ virtual void Copy(AliPHOSvImpacts & phos) ;
+ virtual void AddImpact(const char* detector, Int_t shunt, Int_t primary, Int_t track,
Int_t module, Int_t pid, TLorentzVector p, Float_t *xyz) ;
- virtual void MakeBranch(Option_t *opt=" ", const char *file=0) ;
+ virtual void MakeBranch(Option_t *opt=" ");
virtual void ResetHits();
virtual Int_t IsVersion(void) const {
// Gives the version number
return TString("vImpacts") ;
}
- AliPHOSvImpacts & operator = (const AliPHOSvImpacts & rvalue) {
+ AliPHOSvImpacts & operator = (const AliPHOSvImpacts & /*rvalue*/) {
// assignement operator requested by coding convention but not needed
Fatal("operator =", "not implemented") ;
return *this ;