CMS 3D CMS Logo

NavVolume6Faces.cc File Reference

#include "TrackPropagation/NavGeometry/interface/NavVolume6Faces.h"
#include "MagneticField/VolumeGeometry/interface/FourPointPlaneBounds.h"
#include "TrackPropagation/NavGeometry/src/ThreePlaneCrossing.h"
#include "DataFormats/GeometrySurface/interface/Plane.h"
#include "TrackingTools/GeomPropagators/interface/StraightLinePlaneCrossing.h"
#include "DataFormats/GeometrySurface/interface/GeneralNSurfaceDelimitedBounds.h"
#include "TrackPropagation/NavGeometry/interface/NavSurface.h"
#include "TrackPropagation/NavGeometry/interface/NavSurfaceBuilder.h"
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
#include "MagneticField/VolumeGeometry/interface/MagVolumeOutsideValidity.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <map>

Go to the source code of this file.

Functions

SurfaceOrientation::Side oppositeSide (SurfaceOrientation::Side side=SurfaceOrientation::onSurface)


Function Documentation

SurfaceOrientation::Side oppositeSide ( SurfaceOrientation::Side  side = SurfaceOrientation::onSurface  ) 

Definition at line 15 of file NavVolume6Faces.cc.

References SurfaceOrientation::negativeSide, SurfaceOrientation::onSurface, and SurfaceOrientation::positiveSide.

Referenced by NavVolume6Faces::crossToNextVolume().

00015                                                                                                 {
00016   if ( side == SurfaceOrientation::onSurface ) {
00017     return side; 
00018   } else {
00019     SurfaceOrientation::Side oppositeSide = ( side ==SurfaceOrientation::positiveSide ? SurfaceOrientation::negativeSide : SurfaceOrientation::positiveSide);
00020     return oppositeSide;
00021   } 
00022 }


Generated on Tue Jun 9 17:56:01 2009 for CMSSW by  doxygen 1.5.4