1 #ifndef DQM_TRACKERREMAPPER_SIPIXELPHASE1ANALYZER_H 2 #define DQM_TRACKERREMAPPER_SIPIXELPHASE1ANALYZER_H 56 #include "TProfile2D.h" 60 #define CODE_FORWARD(s, d, b) ((unsigned short)((b << 8) + (d << 4) + s)) 127 std::map<std::string, std::vector<TH2*> > th2PolyBarrelDebug;
134 std::map<std::string, std::vector<TH2*> > pxfTh2PolyForwardDebug;
160 file <<
isBarrel <<
"\t" << rawId <<
"\t" << shell_hc <<
"\t" << layer_disk <<
"\t" << ladder_blade << std::endl;
void BookForwardBins(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
void FillBins(edm::Handle< reco::TrackCollection > *tracks, const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
std::vector< std::string > pathToHistograms
std::map< std::string, std::vector< TH2Poly * > > th2PolyBarrel
std::map< uint32_t, TGraph * > binsSummary
std::vector< unsigned > isBarrelSource
void BookBarrelBins(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
std::map< std::string, std::vector< TH2Poly * > > pxfTh2PolyForward
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
std::map< unsigned short, complementaryElements > mapOfComplementaryElements
std::string debugFileName
std::map< std::string, TH2Poly * > pxfTh2PolyForwardSummary
mat4 orthoProjectionMatrix
edm::EDGetTokenT< reco::TrackCollection > tracksToken
SiPixelPhase1Analyzer(const edm::ParameterSet &)
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
void SaveDetectorData(bool isBarrel, unsigned rawId, int shell_hc, int layer_disk, int ladder_blade)
void FillBarrelBinsAnalyze(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt, unsigned rawId, const GlobalPoint &globalPoint)
std::vector< std::string > analazedRootFileName
std::map< uint32_t, TGraph * > bins
void analyze(const edm::Event &, const edm::EventSetup &) override
void BookBarrelHistograms(TDirectory *currentDir, const std::string ¤tHistoName)
~SiPixelPhase1Analyzer() override
auto const & tracks
cannot be loose
void SaveDetectorVertices(const TrackerTopology *tt)
void BookBins(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::Service< TFileService > fs
void FillForwardBinsRemap(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
void FillForwardBinsAnalyze(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt, unsigned rawId, const GlobalPoint &globalPoint)
std::vector< std::string > baseHistogramName
void FillBarrelBinsRemap(const TrackerGeometry &theTrackerGeometry, const TrackerTopology *tt)
std::map< std::string, TH2Poly * > th2PolyBarrelSummary
void BookForwardHistograms(TDirectory *currentDir, const std::string ¤tHistoName)