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
static const TGPicture * info(bool iBackgroundIsBlack)
void digiSimHitAssociator(CSCAnodeLayerInfo &info, const edm::PSimHitContainer *allSimHits)
const CSCGeometry * geom_
int nearestWG(const std::vector< CSCAnodeLayerInfo > &allLayerInfo, double &closestPhi, double &closestEta)
std::vector< CSCAnodeLayerInfo > getSimInfo(const CSCALCTDigi &alct, const CSCDetId &alctId, const CSCWireDigiCollection *wiredc, const edm::PSimHitContainer *allSimHits)
void preselectDigis(const int alct_bx, const CSCDetId &layerId, const CSCWireDigiCollection *wiredc, std::map< int, CSCWireDigi > &digiMap)
double getWGEta(const CSCDetId &layerId, const int wiregroup)
void setGeometry(const CSCGeometry *geom)
std::vector< CSCAnodeLayerInfo > lctDigis(const CSCALCTDigi &alct, const CSCDetId &alctId, const CSCWireDigiCollection *wiredc)
CSCLayerInfo< CSCWireDigi > CSCAnodeLayerInfo
std::vector< PSimHit > PSimHitContainer