Skip to content

Commit

Permalink
Formatting tweaks, comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hansenjo committed Jan 23, 2018
1 parent a0f8dc0 commit eff79bd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/THaScintillator.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class THaScintillator : public THaNonTrackingDetector {
const Double_t* GetAmplitudes() const { return fAmpl; }
const Double_t* GetYtime() const { return fYt; }
const Double_t* GetYampl() const { return fYa; }

static const Int_t NDEST = 2;
struct DataDest {
Int_t* nthit;
Expand Down Expand Up @@ -66,8 +66,8 @@ class THaScintillator : public THaNonTrackingDetector {
Double_t fAdcMIP; // nominal ADC above pedestal for MIP

Double_t* fTrigOff; // [fNelem] Induced offset of trigger time from
// diff between trigger and retiming.
// Visible in coincidence data.
// diff between trigger and retiming.
// Visible in coincidence data.

Double_t fAttenuation; // in m^-1: attenuation length of material
Double_t fResolution; // average time resolution per PMT (s)
Expand All @@ -89,8 +89,8 @@ class THaScintillator : public THaNonTrackingDetector {
Double_t* fRA_c; // [fNelem] Array of Right paddles corrected ADC ampl-s


Int_t fNhit; // Number of paddles with complete TDC hits (l&r)
Int_t* fHitPad; // [fNhit] list of paddles with complete TDC hits
Int_t fNhit; // Number of paddles with complete TDC hits (l&r)
Int_t* fHitPad; // [fNhit] list of paddles with complete TDC hits

// could be done on a per-hit basis instead
Double_t* fTime; // [fNelem] corrected time for the paddle (s)
Expand All @@ -105,8 +105,8 @@ class THaScintillator : public THaNonTrackingDetector {

enum ESide { kLeft = 0, kRight = 1 };

virtual Double_t TimeWalkCorrection(const Int_t& paddle,
const ESide side);
virtual Double_t TimeWalkCorrection( const Int_t& paddle,
const ESide side );

ClassDef(THaScintillator,1) // Generic scintillator class
};
Expand Down
10 changes: 5 additions & 5 deletions src/THaTrack.C
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ void THaTrack::Print( Option_t* opt ) const
{
// Print track parameters
TObject::Print( opt );
cout << "Momentum = " << fP << " GeV/c\n";
cout << "x_fp = " << fX << " m\n";
cout << "y_fp = " << fY << " m\n";
cout << "theta_fp = " << fTheta << " rad\n";
cout << "phi_fp = " << fPhi << " rad\n";
cout << "Momentum = " << fP << " GeV/c" << endl;
cout << "x_fp = " << fX << " m" << endl;
cout << "y_fp = " << fY << " m" << endl;
cout << "theta_fp = " << fTheta << " rad" << endl;
cout << "phi_fp = " << fPhi << " rad" << endl;

for( int i=0; i<fNclusters; i++ )
fClusters[i]->Print();
Expand Down
4 changes: 2 additions & 2 deletions src/THaVDCPoint.C
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// //
// THaVDCPoint //
// //
// Class for UV Tracks //
// A pair of one U and one V VDC cluster in a given VDC chamber //
// //
///////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -43,7 +43,7 @@ Double_t THaVDCPoint::GetZU() const
//_____________________________________________________________________________
Double_t THaVDCPoint::GetZV() const
{
// Return intercept of u cluster
// Return z-position of v cluster

return fChamber->GetZ() + fChamber->GetSpacing();
}
Expand Down

0 comments on commit eff79bd

Please sign in to comment.