AlignableCSCStation

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
#ifndef Alignment_MuonAlignment_AlignableCSCStation_H
#define Alignment_MuonAlignment_AlignableCSCStation_H

/** \class AlignableCSCStation 
 *  The alignable muon CSC station.
 *
 *  $Date: 2008/04/15 16:05:53 $
 *  $Revision: 1.12 $
 *  \author Andre Sznajder - UERJ(Brazil)
 */

#include "Alignment/CommonAlignment/interface/Utilities.h"
#include "Alignment/CommonAlignment/interface/AlignableComposite.h"
#include "Alignment/CommonAlignment/interface/AlignableSurface.h"

#include "Alignment/MuonAlignment/interface/AlignableCSCRing.h"

#include <vector>

class GeomDet;
class AlignableCSCRing;

/// Concrete class for muon CSC Station alignable.
///
/// Misalignment can be de-/reactivated (forwarded to components).
///

class AlignableCSCStation : public AlignableComposite {
public:
  AlignableCSCStation(const std::vector<AlignableCSCRing*>& cscRings);

  // gets the global position as the average over all positions of the layers
  PositionType computePosition();
  // get the global orientation
  RotationType computeOrientation();  //see explanation for "theOrientation"
  // get the Surface
  AlignableSurface computeSurface();

  AlignableCSCRing& ring(int i);

  //virtual void twist(float);

  /// Printout muon CSC Station information (not recursive)
  friend std::ostream& operator<<(std::ostream&, const AlignableCSCStation&);

  /// Recursive printout of the muon CSC Station structure
  void dump(void) const override;

private:
  std::vector<AlignableCSCRing*> theCSCRings;
};

#endif