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 
21 
23 
25 {
26  public:
29 
31  std::vector<CSCAnodeLayerInfo> getSimInfo(const CSCALCTDigi& alct,
32  const CSCDetId& alctId, const CSCWireDigiCollection* wiredc,
33  const edm::PSimHitContainer* allSimHits);
34 
37  int nearestWG(const std::vector<CSCAnodeLayerInfo>& allLayerInfo,
38  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, const CSCWireDigiCollection* wiredc);
64  void preselectDigis(const int alct_bx, const CSCDetId& layerId,
65  const CSCWireDigiCollection* wiredc,
66  std::map<int, CSCWireDigi>& digiMap);
67 
68  /* Find SimHits closest to each WireDigi on ALCT. */
70  const edm::PSimHitContainer* allSimHits);
71 };
72 #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