/*
$Log$
+Revision 1.2 1999/09/29 09:24:08 fca
+Introduction of the Copyright and cvs Log
+
*/
////////////////////////////////////////////////
//______________________________________________________________________________
-void AliCPVExactHit::Print()
+void AliCPVExactHit::Print(Option_t *)
{
// Print exact hit
//______________________________________________________________________________
-void AliCPVHit::Print()
+void AliCPVHit::Print(Option_t *)
{
// Print reconstructed hit
//______________________________________________________________________________
-AliCPVCradle::AliCPVCradle(Int_t Geometry ,
+AliCPVCradle::AliCPVCradle(Int_t /*Geometry*/,
Float_t PadZSize ,
Float_t PadPhiSize,
Float_t Radius ,
//______________________________________________________________________________
-void AliCPVCradle::Clear(Option_t *opt="")
+void AliCPVCradle::Clear(Option_t *opt)
{
// Clear hit information
//______________________________________________________________________________
-void AliCPVCradle::Reconstruction(Float_t min_distance, Float_t min_signal)
+void AliCPVCradle::Reconstruction(Float_t /*min_distance*/,
+ Float_t /*min_signal*/)
{
// This function:
// 1) Takes on input the array of generated (exact) hits in the CPV cradle,
Float_t Xin[5000][2],
Pin[5000][4],
Xout[5000][2];
+ Int_t i;
fHitReconstructed->Clear();
fNhitsReconstructed=0;
if (fHitExact) {
TIter next(fHitExact);
AliCPVExactHit *hit;
TClonesArray &lhits = *fHitReconstructed;
- for(int i=0;i<fNhitsExact;i++) {
+ for(i=0;i<fNhitsExact;i++) {
hit = (AliCPVExactHit*)next();
Xin[i][0]=hit->fXYhit[0];
Xin[i][1]=hit->fXYhit[1];
}
cpvrec_(&DzCPV,&DyCPV,&DxCPV,&fNhitsExact,&Xin[0][0],&Pin[0][0],
&fNhitsReconstructed,&Xout[0][0]);
- for(int i=0;i<fNhitsReconstructed;i++) new(lhits[i]) AliCPVHit(Xout[i]);
+ for(i=0;i<fNhitsReconstructed;i++) new(lhits[i]) AliCPVHit(Xout[i]);
}
}
TLorentzVector GetMomentum() {return fMomentum; }
Float_t GetXY(Int_t i) {return fXYhit[i]; }
Int_t GetIpart() {return fIpart; }
- void Print();
+ void Print(Option_t * =" ");
ClassDef(AliCPVExactHit,1) // Hits object for set:CPV
};
AliCPVHit(Float_t *xy);
Float_t GetXY(Int_t i) {return fXYhit[i]; }
- void Print();
+ void Print(Option_t * =" ");
ClassDef(AliCPVHit,1) // Hits object for set:CPV
};
/*
$Log$
+Revision 1.2 1999/09/29 09:24:08 fca
+Introduction of the Copyright and cvs Log
+
*/
/////////////////////////////////////////////////////////
// cout << "AliCPVv0::StepManager() entered to CPV to the volume "
// << VolumeName << "!\n";
// }
+
+ Int_t i;
if( strcmp(gMC->CurrentVolName(),"CPV ")==0 && gMC->IsTrackEntering() )
{
TLorentzVector xyzt;
gMC -> TrackPosition(xyzt);
Float_t xyzm[3], xyzd[3], xyd[2];
- for (Int_t i=0; i<3; i++) xyzm[i] = xyzt[i];
+ for (i=0; i<3; i++) xyzm[i] = xyzt[i];
gMC -> Gmtod (xyzm, xyzd, 1);
- for (Int_t i=0; i<2; i++) xyd[i] = xyzd[i];
+ for (i=0; i<2; i++) xyd[i] = xyzd[i];
// Current momentum of the hit's track in the MARS ref. system