PageRenderTime 26ms CodeModel.GetById 8ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/DetectorDescription/Parser/src/DDDividedTrd.h

https://github.com/aivanov-cern/cmssw
C Header | 73 lines | 40 code | 30 blank | 3 comment | 0 complexity | b42e35c71b223e46e3fef6916c5a872b MD5 | raw file
 1#ifndef DDDividedTrd_H
 2#define DDDividedTrd_H//
 3// ********************************************************************
 4// 25.04.04 - M. Case ddd-ize G4ParameterisationTrd*
 5// ********************************************************************
 6
 7#include "DDDividedGeometryObject.h"
 8#include "DetectorDescription/Base/interface/DDTranslation.h"
 9
10class DDLogicalPart;
11class DDRotation;
12
13class DDDividedTrdX : public DDDividedGeometryObject
14{ 
15  public:  // with description
16
17    DDDividedTrdX( const DDDivision& div, DDCompactView* cpv );
18
19    virtual ~DDDividedTrdX();
20
21    virtual void checkParametersValidity();
22
23    virtual double getMaxParameter() const;
24
25    virtual DDTranslation makeDDTranslation( const int copyNo) const;
26    
27    virtual DDRotation makeDDRotation(const int copyNo) const;
28    
29    virtual DDLogicalPart makeDDLogicalPart( const int copyNo) const;
30};
31
32
33class DDDividedTrdY : public DDDividedGeometryObject
34{ 
35  public:  // with description
36
37    DDDividedTrdY( const DDDivision& div, DDCompactView* cpv );
38
39    virtual ~DDDividedTrdY();
40
41    virtual void checkParametersValidity();
42
43    virtual double getMaxParameter() const;
44
45    virtual DDTranslation makeDDTranslation( const int copyNo) const;
46    
47    virtual DDRotation makeDDRotation(const int copyNo) const;
48    
49    virtual DDLogicalPart makeDDLogicalPart( const int copyNo) const;
50};
51
52
53class DDDividedTrdZ : public DDDividedGeometryObject
54{ 
55  public:  // with description
56
57    DDDividedTrdZ( const DDDivision& div, DDCompactView* cpv );
58
59    virtual ~DDDividedTrdZ();
60
61    virtual void checkParametersValidity();
62
63    virtual double getMaxParameter() const;
64
65    virtual DDTranslation makeDDTranslation( const int copyNo) const;
66    
67    virtual DDRotation makeDDRotation(const int copyNo) const;
68    
69    virtual DDLogicalPart makeDDLogicalPart( const int copyNo) const;
70
71};
72
73#endif