ATLAS Offline Software
Loading...
Searching...
No Matches
RegSelRoI.cxx File Reference
#include "RegSelLUT/RegSelRoI.h"
#include <cmath>
#include <iostream>
Include dependency graph for RegSelRoI.cxx:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const RegSelRoI &r)

Variables

static const double M_2PI = 2*M_PI

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const RegSelRoI & r )

Definition at line 77 of file RegSelRoI.cxx.

77 {
78 return s << "[ roi: z=" << int(1000*r.getzMin())*0.001 << " - " << int(1000*r.getzMax())*0.001
79 << "\tphi=" << (r.getphiMin()<0 ? " " : "" ) << int(1000*r.getphiMin())*0.001 << " - " << int(1000*r.getphiMax())*0.001
80 << "\t( " << int(10*180*r.getphiMin()/M_PI)*0.1 << " - " << int(10*180*r.getphiMax()/M_PI)*0.1 << " )"
81 << "\teta=" << int(1000*r.getetaMin())*0.001 << " - " << int(1000*r.getetaMax())*0.001
82 << " ]";
83}
#define M_PI
int r
Definition globals.cxx:22

Variable Documentation

◆ M_2PI

const double M_2PI = 2*M_PI
static

Definition at line 29 of file RegSelRoI.cxx.