Belle II Software  release-05-02-19
ColorMapping.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: dschneider, Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/display/Mapping.h>
13 #include <tracking/trackFindingCDC/display/Colors.h>
14 
15 namespace Belle2 {
20  namespace TrackFindingCDC {
21 
27  template<class AObject>
28  class DefaultColorCycleMapping : public CycleMapping<AObject> {
29 
30  private:
32  using Super = CycleMapping<AObject>;
33 
34  public:
37  : Super(Colors::getList())
38  {
39  }
40  };
41  }
43 }
Belle2::TrackFindingCDC::CycleMapping< AObject >
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::DefaultColorCycleMapping::Super
CycleMapping< AObject > Super
Type of the base class.
Definition: ColorMapping.h:40
Belle2::TrackFindingCDC::DefaultColorCycleMapping::DefaultColorCycleMapping
DefaultColorCycleMapping()
Constructor.
Definition: ColorMapping.h:44
Belle2::TrackFindingCDC::Colors
Utility functions related to colors.
Definition: Colors.h:32