Skip to content

Commit

Permalink
Code check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Apr 25, 2022
1 parent 2e74c08 commit 5596f68
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
28 changes: 14 additions & 14 deletions Geometry/TrackerCommonData/plugins/DDPixFwdBladesNew.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ class DDPixFwdBladesNew : public DDAlgorithm {
void execute(DDCompactView& cpv) override;

private:
double endcap_; // +1 for Z Plus endcap disks, -1 for Z Minus endcap disks
int nBlades_; // Number of blades
double bladeAngle_; // Angle of blade rotation around axis perpendicular to beam
double zPlane_; // Common shift in Z for all blades (with respect to disk center plane)
double bladeZShift_; // Shift in Z between the axes of two adjacent blades
double ancorRadius_; // Distance from beam line to ancor point defining center of "blade frame"
int nippleType_; // Flag if it is called frm Nipple (1) or not (0)
double jX_, jY_, jZ_; // Coordinates of Nipple ancor points J in blade frame
double kX_, kY_, kZ_; // Coordinates of Nipple ancor points K in blade frame
std::string flagString_; // String of flags
std::string flagSelector_; // Character that means "yes" in flagString
std::string childName_; // Child volume name
int startCopy_; // First copy number
double endcap_; // +1 for Z Plus endcap disks, -1 for Z Minus endcap disks
int nBlades_; // Number of blades
double bladeAngle_; // Angle of blade rotation around axis perpendicular to beam
double zPlane_; // Common shift in Z for all blades (with respect to disk center plane)
double bladeZShift_; // Shift in Z between the axes of two adjacent blades
double ancorRadius_; // Distance from beam line to ancor point defining center of "blade frame"
int nippleType_; // Flag if it is called frm Nipple (1) or not (0)
double jX_, jY_, jZ_; // Coordinates of Nipple ancor points J in blade frame
double kX_, kY_, kZ_; // Coordinates of Nipple ancor points K in blade frame
std::string flagString_; // String of flags
std::string flagSelector_; // Character that means "yes" in flagString
std::string childName_; // Child volume name
int startCopy_; // First copy number
std::vector<double> childTranslationVector_; // Child translation with respect to "blade frame"
std::string childRotationName_; // Child rotation with respect to "blade frame"
std::string idNameSpace_; //Namespace of this and ALL sub-parts
std::string idNameSpace_; //Namespace of this and ALL sub-parts

CLHEP::Hep3Vector getTranslation();
CLHEP::HepRotation getRotation();
Expand Down
12 changes: 6 additions & 6 deletions Geometry/TrackerCommonData/plugins/DDPixFwdRotation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ class DDPixFwdRotation : public DDAlgorithm {
std::string rotNameNippleToCover_;
std::string rotNameCoverToNipple_;
std::string rotNameNippleToBody_;
int nBlades_; // Number of blades
double bladeAngle_; // Angle of blade rotation around axis perpendicular to beam
double bladeZShift_; // Shift in Z between the axes of two adjacent blades
double ancorRadius_; // Distance from beam line to ancor point defining center of "blade frame"
double jX_, jY_, jZ_; // Coordinates of Nipple ancor points J in blade frame
double kX_, kY_, kZ_; // Coordinates of Nipple ancor points K in blade frame
int nBlades_; // Number of blades
double bladeAngle_; // Angle of blade rotation around axis perpendicular to beam
double bladeZShift_; // Shift in Z between the axes of two adjacent blades
double ancorRadius_; // Distance from beam line to ancor point defining center of "blade frame"
double jX_, jY_, jZ_; // Coordinates of Nipple ancor points J in blade frame
double kX_, kY_, kZ_; // Coordinates of Nipple ancor points K in blade frame
std::string rotNS_; //Namespace of the rotation matrix
std::string idNameSpace_; //Namespace of this and ALL sub-parts
};
Expand Down

0 comments on commit 5596f68

Please sign in to comment.