CMS 3D CMS Logo

CSCAnodeLCTAnalyzer.h
Go to the documentation of this file.
1 
14 #ifndef L1Trigger_CSCTriggerPrimitives_CSCAnodeLCTAnalyzer_H
15 #define L1Trigger_CSCTriggerPrimitives_CSCAnodeLCTAnalyzer_H
16 
22 
24 
26 public:
29 
31  std::vector<CSCAnodeLayerInfo> getSimInfo(const CSCALCTDigi& alct,
32  const CSCDetId& alctId,
33  const CSCWireDigiCollection* wiredc,
34  const edm::PSimHitContainer* allSimHits);
35 
38  int nearestWG(const std::vector<CSCAnodeLayerInfo>& allLayerInfo, double& closestPhi, double& closestEta);
39 
41  void setGeometry(const CSCGeometry* geom);
42 
44  double getWGEta(const CSCDetId& layerId, const int wiregroup);
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 WireDigis belonging to this ALCT. */
62  std::vector<CSCAnodeLayerInfo> lctDigis(const CSCALCTDigi& alct,
63  const CSCDetId& alctId,
64  const CSCWireDigiCollection* wiredc);
65  void preselectDigis(const int alct_bx,
66  const CSCDetId& layerId,
67  const CSCWireDigiCollection* wiredc,
68  std::map<int, CSCWireDigi>& digiMap);
69 
70  /* Find SimHits closest to each WireDigi on ALCT. */
72 };
73 #endif
CSCAnodeLCTAnalyzer::CSCAnodeLCTAnalyzer
CSCAnodeLCTAnalyzer()
Definition: CSCAnodeLCTAnalyzer.h:28
CSCAnodeLCTAnalyzer::getSimInfo
std::vector< CSCAnodeLayerInfo > getSimInfo(const CSCALCTDigi &alct, const CSCDetId &alctId, const CSCWireDigiCollection *wiredc, const edm::PSimHitContainer *allSimHits)
Definition: CSCAnodeLCTAnalyzer.cc:16
CSCAnodeLCTAnalyzer::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition: CSCAnodeLCTAnalyzer.cc:329
PSimHitContainer.h
info
static const TGPicture * info(bool iBackgroundIsBlack)
Definition: FWCollectionSummaryWidget.cc:153
CSCAnodeLCTAnalyzer::preselectDigis
void preselectDigis(const int alct_bx, const CSCDetId &layerId, const CSCWireDigiCollection *wiredc, std::map< int, CSCWireDigi > &digiMap)
Definition: CSCAnodeLCTAnalyzer.cc:124
CSCGeometry
Definition: CSCGeometry.h:24
CSCAnodeLCTAnalyzer::nearestWG
int nearestWG(const std::vector< CSCAnodeLayerInfo > &allLayerInfo, double &closestPhi, double &closestEta)
Definition: CSCAnodeLCTAnalyzer.cc:242
CSCAnodeLCTAnalyzer::debug
static bool debug
Definition: CSCAnodeLCTAnalyzer.h:53
CSCAnodeLCTAnalyzer::setDebug
static void setDebug()
Definition: CSCAnodeLCTAnalyzer.h:47
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
CSCAnodeLCTAnalyzer::geom_
const CSCGeometry * geom_
Definition: CSCAnodeLCTAnalyzer.h:59
CSCAnodeLCTAnalyzer::setNoDebug
static void setNoDebug()
Definition: CSCAnodeLCTAnalyzer.h:50
CSCPatternBank.h
CSCDetId
Definition: CSCDetId.h:26
CSCAnodeLCTAnalyzer::digiSimHitAssociator
void digiSimHitAssociator(CSCAnodeLayerInfo &info, const edm::PSimHitContainer *allSimHits)
Definition: CSCAnodeLCTAnalyzer.cc:171
CSCLayerInfo.h
CSCAnodeLCTAnalyzer::lctDigis
std::vector< CSCAnodeLayerInfo > lctDigis(const CSCALCTDigi &alct, const CSCDetId &alctId, const CSCWireDigiCollection *wiredc)
Definition: CSCAnodeLCTAnalyzer.cc:49
CSCWireDigiCollection
CSCAnodeLayerInfo
CSCLayerInfo< CSCWireDigi > CSCAnodeLayerInfo
Definition: CSCAnodeLCTAnalyzer.h:23
CSCAnodeLCTAnalyzer::getWGEta
double getWGEta(const CSCDetId &layerId, const int wiregroup)
Definition: CSCAnodeLCTAnalyzer.cc:331
CSCALCTDigi
Definition: CSCALCTDigi.h:17
CSCLayerInfo
Definition: CSCLayerInfo.h:21
CSCWireDigiCollection.h
CSCALCTDigiCollection.h
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
CSCAnodeLCTAnalyzer
Definition: CSCAnodeLCTAnalyzer.h:25
CSCAnodeLCTAnalyzer::doME1A
static bool doME1A
Definition: CSCAnodeLCTAnalyzer.h:56