CMS 3D CMS Logo

Namespaces | Functions
Util.h File Reference
#include <sstream>
#include <fstream>
#include <cassert>
#include <cmath>
#include <string>
#include <algorithm>
#include <sys/types.h>
#include <sys/stat.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/Utilities/interface/Exception.h"

Go to the source code of this file.

Namespaces

 trklet
 

Functions

double trklet::bendstrip (double r, double rinv, double stripPitch, double sensorSpacing)
 
double trklet::convertFEBend (double FEbend, double sensorSep, double sensorSpacing, double CF, bool barrel, double r=0)
 
std::string trklet::convertHexToBin (const std::string &stubwordhex)
 
int trklet::dirExists (const std::string &path)
 
std::string trklet::hexFormat (const std::string &binary)
 
int trklet::ilog2 (double factor)
 
std::ofstream trklet::openfile (const std::string &dir, const std::string &fname, const char *file, int line)
 
void trklet::openfile (std::ofstream &out, bool first, const std::string &dir, const std::string &fname, const char *file, int line)
 
double trklet::rinv (double phi1, double phi2, double r1, double r2)
 
double trklet::tan_theta (double r, double z, double z0, bool z0_max)