Message: Parameterization Problems Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Parameterization Problems 

Forum: Geometry
Date: 09 Jul, 2009
From: Matt Worden <Matt Worden>

Hello, I am trying to create a cerenkov detector. The detector is a quartz sphere with 121 quartz channels extending from one side of the sphere. I am trying to make the channels using parameterized tubs extending from one hemisphere of the quartz sphere. Then I would like to put MultiFunctionalDetectors at the bottom of each channel.

My problem is when trying to compile and link my code I get

Compiling ...

src/ error: declaration of 'EXN06ChannelParameterisation::EXN06ChannelParameterisation(G4int, G4double, G4double, G4double)' outside of class is not definition

I am not sure what this is referring to because my .hh file is defined as

class EXN06ChannelParameterisation : public G4VPVParameterisation

    EXN06ChannelParameterisation(G4int    NoChambers, 
                                 G4double zPlace, 
                                 G4double start,
                                 G4double spacing);


    void ComputeTransformation (const G4int copyNo,
                                G4VPhysicalVolume* ChannelPhys) const;

And my parameterization source file defines the object as

                  G4int    NoChambers, 
                  G4double zPLace,
	   	  G4double start, 
	          G4double spacing);        

Any light on this error would be much appreciated.

Thanks for your time.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Parameterization Problems   (Paul Papacz - 23 Jul, 2009)
 Add Message Add Message
to: "Parameterization Problems"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]