CMS 3D CMS Logo

Classes | Namespaces | Macros | Enumerations | Functions | Variables
AlignmentPayloadInspectorHelper.h File Reference
#include <iostream>
#include <algorithm>
#include <vector>
#include <numeric>
#include <string>
#include "TH1.h"
#include "TCanvas.h"
#include "TPaveStats.h"
#include "TStyle.h"
#include "TList.h"
#include "DataFormats/TrackerCommon/interface/TrackerTopology.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "CondFormats/Alignment/interface/Alignments.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"

Go to the source code of this file.

Classes

struct  AlignmentPI::TkAlBarycenters
 
struct  AlignmentPI::topolInfo
 

Namespaces

 AlignmentPI
 

Macros

#define COUT   edm::LogVerbatim("")
 

Enumerations

enum  AlignmentPI::coordinate {
  AlignmentPI::t_x = 1, AlignmentPI::t_y = 2, AlignmentPI::t_z = 3, AlignmentPI::rot_alpha = 4,
  AlignmentPI::rot_beta = 5, AlignmentPI::rot_gamma = 6
}
 
enum  AlignmentPI::index {
  AlignmentPI::XX = 1, AlignmentPI::XY = 2, AlignmentPI::XZ = 3, AlignmentPI::YZ = 4,
  AlignmentPI::YY = 5, AlignmentPI::ZZ = 6
}
 
enum  AlignmentPI::PARTITION {
  AlignmentPI::PARTITION::BPIX, AlignmentPI::PARTITION::FPIXp, AlignmentPI::PARTITION::FPIXm, AlignmentPI::PARTITION::TIB,
  AlignmentPI::PARTITION::TIDp, AlignmentPI::PARTITION::TIDm, AlignmentPI::PARTITION::TOB, AlignmentPI::PARTITION::TECp,
  AlignmentPI::PARTITION::TECm, AlignmentPI::PARTITION::LAST = TECm
}
 
enum  AlignmentPI::partitions {
  AlignmentPI::BPix = 1, AlignmentPI::FPix = 2, AlignmentPI::TIB = 3, AlignmentPI::TID = 4,
  AlignmentPI::TOB = 5, AlignmentPI::TEC = 6
}
 
enum  AlignmentPI::regions {
  AlignmentPI::BPixL1o, AlignmentPI::BPixL1i, AlignmentPI::BPixL2o, AlignmentPI::BPixL2i,
  AlignmentPI::BPixL3o, AlignmentPI::BPixL3i, AlignmentPI::BPixL4o, AlignmentPI::BPixL4i,
  AlignmentPI::FPixmL1, AlignmentPI::FPixmL2, AlignmentPI::FPixmL3, AlignmentPI::FPixpL1,
  AlignmentPI::FPixpL2, AlignmentPI::FPixpL3, AlignmentPI::TIBL1Ro, AlignmentPI::TIBL1Ri,
  AlignmentPI::TIBL1So, AlignmentPI::TIBL1Si, AlignmentPI::TIBL2Ro, AlignmentPI::TIBL2Ri,
  AlignmentPI::TIBL2So, AlignmentPI::TIBL2Si, AlignmentPI::TIBL3o, AlignmentPI::TIBL3i,
  AlignmentPI::TIBL4o, AlignmentPI::TIBL4i, AlignmentPI::TOBL1Ro, AlignmentPI::TOBL1Ri,
  AlignmentPI::TOBL1So, AlignmentPI::TOBL1Si, AlignmentPI::TOBL2Ro, AlignmentPI::TOBL2Ri,
  AlignmentPI::TOBL2So, AlignmentPI::TOBL2Si, AlignmentPI::TOBL3o, AlignmentPI::TOBL3i,
  AlignmentPI::TOBL4o, AlignmentPI::TOBL4i, AlignmentPI::TOBL5o, AlignmentPI::TOBL5i,
  AlignmentPI::TOBL6o, AlignmentPI::TOBL6i, AlignmentPI::TIDmR1R, AlignmentPI::TIDmR1S,
  AlignmentPI::TIDmR2R, AlignmentPI::TIDmR2S, AlignmentPI::TIDmR3, AlignmentPI::TIDpR1R,
  AlignmentPI::TIDpR1S, AlignmentPI::TIDpR2R, AlignmentPI::TIDpR2S, AlignmentPI::TIDpR3,
  AlignmentPI::TECmR1R, AlignmentPI::TECmR1S, AlignmentPI::TECmR2R, AlignmentPI::TECmR2S,
  AlignmentPI::TECmR3, AlignmentPI::TECmR4, AlignmentPI::TECmR5, AlignmentPI::TECmR6,
  AlignmentPI::TECmR7, AlignmentPI::TECpR1R, AlignmentPI::TECpR1S, AlignmentPI::TECpR2R,
  AlignmentPI::TECpR2S, AlignmentPI::TECpR3, AlignmentPI::TECpR4, AlignmentPI::TECpR5,
  AlignmentPI::TECpR6, AlignmentPI::TECpR7, AlignmentPI::StripDoubleSide, AlignmentPI::NUM_OF_REGIONS
}
 

Functions

std::pair< double, double > AlignmentPI::calculatePosition (TVirtualPad *myPad, int boundary)
 
std::pair< int, int > AlignmentPI::getIndices (AlignmentPI::index i)
 
std::string AlignmentPI::getStringFromCoordinate (AlignmentPI::coordinate coord)
 
std::string AlignmentPI::getStringFromIndex (AlignmentPI::index i)
 
std::string AlignmentPI::getStringFromPart (AlignmentPI::partitions i)
 
std::string AlignmentPI::getStringFromRegionEnum (AlignmentPI::regions e)
 
std::pair< float, float > AlignmentPI::getTheRange (std::map< uint32_t, float > values, const float nsigma)
 
bool AlignmentPI::isBPixOuterLadder (const DetId &detid, const TrackerTopology &tTopo, bool isPhase0)
 
void AlignmentPI::makeNicePlotStyle (TH1 *hist, int color)
 
void AlignmentPI::makeNiceStats (TH1F *hist, AlignmentPI::partitions part, int color)
 
std::ostream & AlignmentPI::operator<< (std::ostream &o, PARTITION x)
 

Variables

static const float AlignmentPI::cmToUm = 10000
 
const PARTITION AlignmentPI::PARTITIONS [(int) PARTITION::LAST+1]
 
static const unsigned int AlignmentPI::phase0size = 19876
 

Macro Definition Documentation

◆ COUT

#define COUT   edm::LogVerbatim("")

Definition at line 24 of file AlignmentPayloadInspectorHelper.h.