CMS 3D CMS Logo

Typedefs | Functions | Variables
FlatTrd.cc File Reference
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "Geometry/CaloGeometry/interface/FlatTrd.h"
#include "Geometry/CaloGeometry/interface/TruncatedPyramid.h"
#include <algorithm>
#include <iostream>

Go to the source code of this file.

Typedefs

typedef FlatTrd::CCGFloat CCGFloat
 
typedef HepGeom::Plane3D< double > DPlane3D
 
typedef HepGeom::Point3D< double > DPt3D
 
typedef HepGeom::Vector3D< double > DVec3D
 
typedef HepGeom::Vector3D< CCGFloatFVec3D
 
typedef HepGeom::Plane3D< CCGFloatPlane3D
 
typedef FlatTrd::Pt3D Pt3D
 
typedef FlatTrd::Pt3DVec Pt3DVec
 
typedef FlatTrd::Tr3D Tr3D
 

Functions

std::ostream & operator<< (std::ostream &s, const FlatTrd &cell)
 

Variables

static const float tolmin = 1.e-12
 

Typedef Documentation

◆ CCGFloat

Definition at line 9 of file FlatTrd.cc.

◆ DPlane3D

typedef HepGeom::Plane3D<double> DPlane3D

Definition at line 18 of file FlatTrd.cc.

◆ DPt3D

typedef HepGeom::Point3D<double> DPt3D

Definition at line 19 of file FlatTrd.cc.

◆ DVec3D

typedef HepGeom::Vector3D<double> DVec3D

Definition at line 17 of file FlatTrd.cc.

◆ FVec3D

typedef HepGeom::Vector3D<CCGFloat> FVec3D

Definition at line 14 of file FlatTrd.cc.

◆ Plane3D

typedef HepGeom::Plane3D<CCGFloat> Plane3D

Definition at line 15 of file FlatTrd.cc.

◆ Pt3D

Definition at line 10 of file FlatTrd.cc.

◆ Pt3DVec

Definition at line 11 of file FlatTrd.cc.

◆ Tr3D

Definition at line 12 of file FlatTrd.cc.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const FlatTrd cell 
)

Definition at line 252 of file FlatTrd.cc.

252  {
253  s << "Center: " << cell.getPosition() << " eta " << cell.etaPos() << " phi " << cell.phiPos() << std::endl;
254  s << "Axis: " << cell.getThetaAxis() << " " << cell.getPhiAxis() << std::endl;
255  const CaloCellGeometry::CornersVec& corners(cell.getCorners());
256  for (unsigned int i = 0; i != corners.size(); ++i) {
257  s << "Corner: " << corners[i] << std::endl;
258  }
259  return s;
260 }

References FlatTrd::etaPos(), CaloCellGeometry::getCorners(), FlatTrd::getPhiAxis(), FlatTrd::getPosition(), FlatTrd::getThetaAxis(), mps_fire::i, FlatTrd::phiPos(), and alignCSCRings::s.

Variable Documentation

◆ tolmin

const float tolmin = 1.e-12
static

Definition at line 21 of file FlatTrd.cc.

Referenced by FlatTrd::etaSpan(), and FlatTrd::phiSpan().

mps_fire.i
i
Definition: mps_fire.py:428
FlatTrd::getPosition
GlobalPoint const & getPosition() const override
Returns the position of reference for this cell.
Definition: FlatTrd.h:66
CaloCellGeometry::getCorners
CornersVec const & getCorners() const
Returns the corner points of this cell's volume.
Definition: CaloCellGeometry.h:73
EZArrayFL< GlobalPoint >
alignCSCRings.s
s
Definition: alignCSCRings.py:92
FlatTrd::etaPos
float etaPos() const override
Definition: FlatTrd.h:68
FlatTrd::getPhiAxis
CCGFloat getPhiAxis() const
Definition: FlatTrd.cc:127
FlatTrd::phiPos
float phiPos() const override
Definition: FlatTrd.h:69
FlatTrd::getThetaAxis
CCGFloat getThetaAxis() const
Definition: FlatTrd.cc:125