CMS 3D CMS Logo

CSCCathodeLCTAnalyzer.h
Go to the documentation of this file.
1 
14 #ifndef L1Trigger_CSCTriggerPrimitives_CSCCathodeLCTAnalyzer_H
15 #define L1Trigger_CSCTriggerPrimitives_CSCCathodeLCTAnalyzer_H
16 
22 
24 
26 public:
29 
31  std::vector<CSCCathodeLayerInfo> getSimInfo(const CSCCLCTDigi& clct,
32  const CSCDetId& clctId,
33  const CSCComparatorDigiCollection* compdc,
34  const edm::PSimHitContainer* allSimHits);
35 
38  int nearestHS(const std::vector<CSCCathodeLayerInfo>& allLayerInfo, double& closestPhi, double& closestEta);
39 
41  void setGeometry(const CSCGeometry* geom);
42 
44  double getStripPhi(const CSCDetId& layerId, const float strip);
45 
47  static void setDebug() { debug = true; }
48 
50  static void setNoDebug() { debug = false; }
51 
52 private:
53  static bool debug;
54 
56  static bool doME1A;
57 
58  /* Cache geometry for current event. */
60 
61  /* Find the list of ComparatorDigis belonging to this CLCT. */
62  std::vector<CSCCathodeLayerInfo> lctDigis(const CSCCLCTDigi& clct,
63  const CSCDetId& clctId,
64  const CSCComparatorDigiCollection* compdc);
65  int preselectDigis(const int clct_bx,
66  const CSCDetId& layerId,
67  const CSCComparatorDigiCollection* compdc,
68  std::vector<CSCComparatorDigi>& digiMap,
69  int hfstripDigis[CSCConstants::NUM_HALF_STRIPS],
72  int digiNum[CSCConstants::MAX_NUM_STRIPS]);
73 
74  /* Find SimHits closest to each ComparatorDigi on CLCT. */
76 };
77 #endif
CSCCathodeLCTAnalyzer::setDebug
static void setDebug()
Definition: CSCCathodeLCTAnalyzer.h:47
CSCCathodeLCTAnalyzer::getStripPhi
double getStripPhi(const CSCDetId &layerId, const float strip)
Definition: CSCCathodeLCTAnalyzer.cc:401
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
PSimHitContainer.h
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:152
CSCCathodeLCTAnalyzer::setNoDebug
static void setNoDebug()
Definition: CSCCathodeLCTAnalyzer.h:50
CSCCLCTDigi
Definition: CSCCLCTDigi.h:17
CSCCathodeLayerInfo
CSCLayerInfo< CSCComparatorDigi > CSCCathodeLayerInfo
Definition: CSCCathodeLCTAnalyzer.h:23
AlCaHLTBitMon_QueryRunRegistry.comp
comp
Definition: AlCaHLTBitMon_QueryRunRegistry.py:249
CSCGeometry
Definition: CSCGeometry.h:24
CSCConstants::MAX_NUM_STRIPS
Definition: CSCConstants.h:24
CSCCathodeLCTAnalyzer::geom_
const CSCGeometry * geom_
Definition: CSCCathodeLCTAnalyzer.h:59
CSCCathodeLCTAnalyzer::CSCCathodeLCTAnalyzer
CSCCathodeLCTAnalyzer()
Definition: CSCCathodeLCTAnalyzer.h:28
CSCCathodeLCTAnalyzer::debug
static bool debug
Definition: CSCCathodeLCTAnalyzer.h:53
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CSCPatternBank.h
CSCDetId
Definition: CSCDetId.h:26
CSCCathodeLCTAnalyzer::preselectDigis
int preselectDigis(const int clct_bx, const CSCDetId &layerId, const CSCComparatorDigiCollection *compdc, std::vector< CSCComparatorDigi > &digiMap, int hfstripDigis[CSCConstants::NUM_HALF_STRIPS], int time[CSCConstants::MAX_NUM_STRIPS], int comp[CSCConstants::MAX_NUM_STRIPS], int digiNum[CSCConstants::MAX_NUM_STRIPS])
Definition: CSCCathodeLCTAnalyzer.cc:152
CSCLayerInfo.h
CSCCathodeLCTAnalyzer::doME1A
static bool doME1A
Definition: CSCCathodeLCTAnalyzer.h:56
CSCComparatorDigiCollection
CSCCathodeLCTAnalyzer::lctDigis
std::vector< CSCCathodeLayerInfo > lctDigis(const CSCCLCTDigi &clct, const CSCDetId &clctId, const CSCComparatorDigiCollection *compdc)
Definition: CSCCathodeLCTAnalyzer.cc:49
CSCCathodeLCTAnalyzer::getSimInfo
std::vector< CSCCathodeLayerInfo > getSimInfo(const CSCCLCTDigi &clct, const CSCDetId &clctId, const CSCComparatorDigiCollection *compdc, const edm::PSimHitContainer *allSimHits)
Definition: CSCCathodeLCTAnalyzer.cc:16
CSCCathodeLCTAnalyzer::nearestHS
int nearestHS(const std::vector< CSCCathodeLayerInfo > &allLayerInfo, double &closestPhi, double &closestEta)
Definition: CSCCathodeLCTAnalyzer.cc:304
CSCLayerInfo
Definition: CSCLayerInfo.h:21
CSCConstants::NUM_HALF_STRIPS
Definition: CSCConstants.h:27
CSCComparatorDigiCollection.h
CSCCathodeLCTAnalyzer::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition: CSCCathodeLCTAnalyzer.cc:399
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
CSCCLCTDigiCollection.h
ntuplemaker.time
time
Definition: ntuplemaker.py:310
CSCCathodeLCTAnalyzer::digiSimHitAssociator
void digiSimHitAssociator(CSCCathodeLayerInfo &info, const edm::PSimHitContainer *allSimHits)
Definition: CSCCathodeLCTAnalyzer.cc:225
CSCCathodeLCTAnalyzer
Definition: CSCCathodeLCTAnalyzer.h:25