X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=EVGEN%2FAliGenThetaSlice.cxx;h=a9077c3d7e41bef0624c5db991cd0520d45a17ef;hb=a70a8477d26b25b876ca27a871abe682a89ce2d1;hp=47e5970db3ac996941d5e1fcd5fec64e6ce8c1fa;hpb=642f15cfce9ebda2ff71a55c5edb8d9bc0c729c4;p=u%2Fmrichter%2FAliRoot.git diff --git a/EVGEN/AliGenThetaSlice.cxx b/EVGEN/AliGenThetaSlice.cxx index 47e5970db3a..a9077c3d7e4 100644 --- a/EVGEN/AliGenThetaSlice.cxx +++ b/EVGEN/AliGenThetaSlice.cxx @@ -15,20 +15,17 @@ /* $Id$ */ -//////////////////////////////////////////////////////////////////////// -// -// generates n particles with in the same phi angle, varies theta + +// Generates n particles with in the same phi angle, varies theta // in equidistant intervals // This class is intended to use for studies of TPC response // via merging with background event. -// // Note that for a given theta pt and p are not independent // Range for only one variable (pt or p) should be given. // Based on the AliGenBox class written by andreas.morsch@cern.ch // // Comments and suggestions: Jiri.Chudoba@cern.ch -// -//////////////////////////////////////////////////////////////////////// + #include @@ -40,25 +37,24 @@ ClassImp(AliGenThetaSlice) //_____________________________________________________________________________ AliGenThetaSlice::AliGenThetaSlice() - :AliGenerator() + :AliGenerator(), + fIpart(0) { // // Default constructor // - fIpart=0; } //_____________________________________________________________________________ AliGenThetaSlice::AliGenThetaSlice(Int_t npart) - :AliGenerator(npart) + :AliGenerator(npart), + fIpart(kProton) { // // Standard constructor // fName = "ThetaSlice"; fTitle = "Particle generator - const. phi, slices in theta"; - // Generate Proton by default - fIpart=kProton; } //_____________________________________________________________________________